Hello guys,
I've been working on a game where there's no combat, as there are some monsters to avoid (those default little slimes, yep)
I am trying to make it that if the player gets touched by it he needs to smash the button in order to escape. Maybe add a nice HUD graphics to it as to how much he has progressed as he is "smashing" the buttons.
I have managed to make this work somehow but I don't like the approach I am using, so I have come here for ideas.
This is what I've come up with so far.
The event, (set on event touch ) approaches player, and a Autorun starts where player takes damage and screen shakes, and it sets a variable to a number 5-10 (to how many times player must press Z to escape, after meeting the number he can once again move and the autorun is turned off.
The parallel event checks if this is done correctly and it adds a small delay to the event that attacked to give the player the window to run a way, by moving the event away from player, but this delay doesn't seem to work always.
Any alternative / suggestions / ideas?
I've been working on a game where there's no combat, as there are some monsters to avoid (those default little slimes, yep)
I am trying to make it that if the player gets touched by it he needs to smash the button in order to escape. Maybe add a nice HUD graphics to it as to how much he has progressed as he is "smashing" the buttons.
I have managed to make this work somehow but I don't like the approach I am using, so I have come here for ideas.
This is what I've come up with so far.
The event, (set on event touch ) approaches player, and a Autorun starts where player takes damage and screen shakes, and it sets a variable to a number 5-10 (to how many times player must press Z to escape, after meeting the number he can once again move and the autorun is turned off.
The parallel event checks if this is done correctly and it adds a small delay to the event that attacked to give the player the window to run a way, by moving the event away from player, but this delay doesn't seem to work always.
Any alternative / suggestions / ideas?