Here's a short description of what the event should do.
If player touches trap, player gets stuck in trap. Every second player suffers x amount of damage. (Damage depends on trap) Player must press a button (ie, ENTER) x amount of times to free self from trap. (Amount of times again, depends on trap) Once free, player gets pushed one or two squares away from the trap.
I also want there to be a sort of "caught in trap" animation during time of being trapped, but I know that could just be a change sprite of player to none, then whatever animation set to the trap's event.
I understand most of this, but I'm not very good with variables/timers. (Those would have something to do with it right?)
I'm just wondering if someone can help me understand and make this system. I have a new idea for a sort of puzzle game, and this is a major part of it.
I'm not asking anyone to make it for me,
even though that would be awesome, but if someone could just get me on the right track, I'd really appreciate it.
Thanks.