Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[RESOLVED] How to respawn events? and a simple button battle?

Harwn

Member

I CHANGED THE NAME CAUSE SOMEONE CAN NEED THIS INFO!
ATT: HARWN.

Hello! I need help with that, well...

I had an idea to set the type of the battles like role and not like turn battles, my problem is the next, the monsters die and never respawn, i need to respawn an event with the timer, but the timer or the conditional branch don't work, if somebody knows how to respawn an event with time please tell me here! I really need it, cause if the monster (event) die, it never respawn, and if i apply the variables it respawn each time it dies without waiting time. If you don't understod my problem tell me here too! xD
I'm sorry for my english if i'm bad i'm mexican jejeje... lol
Well see ya guys!
 

Harwn

Member

Unka Josh":nte7u3o9 said:
Could you post a screenshot of your monster event?  That would make it easier to figure out how to help you.

Well i will show you my event.
Page 1
http://img512.imageshack.us/img512/2204/page1yk5.th.jpg[/img]

Page 2
http://img512.imageshack.us/img512/329/page2mk6.th.jpg[/img]

Page 3
http://img165.imageshack.us/img165/1315/page3uh0.th.jpg[/img]

Ahhh another question... without quit event touch like trigger, can i activate a command with a button? i tried with Button input procesing and with conditional branch, but i doesn't work, i need it for activate the attack with a button and quit the process only with messages. jejeje thanks to all!
see ya!
 
To make the enemy respawn, set "Page 3" to Parallel Process, have it "Wait: x frames" and then set the variable to 0. Replace 'x' in "Wait x frames" to however long you want until the enemy respawns.

To activate a command with a button, you have to use a Conditional Branch after "Button Input Processing." What it does is saves the key you press in a variable. So you need to check if that variable is equal to a value that corresponds to the key you press. You can do "Right-click: What's This?" to see which value corresponds to which key.
 

Harwn

Member

Regi":25eidfnx said:
To make the enemy respawn, set "Page 3" to Parallel Process, have it "Wait: x frames" and then set the variable to 0. Replace 'x' in "Wait x frames" to however long you want until the enemy respawns.

To activate a command with a button, you have to use a Conditional Branch after "Button Input Processing." What it does is saves the key you press in a variable. So you need to check if that variable is equal to a value that corresponds to the key you press. You can do "Right-click: What's This?" to see which value corresponds to which key.

Well Regi thanks a lot! I hoped someone would help me. ^^
Thanks you did it well! I will show my game someday... :P
See ya!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top