Hi guys. I’m a newbie game developer. I just want your help. I want my character to jump at the end of timer? My game is a platformer that can only walk sideways and it jumps every end of timer. I also want to put boosters that will reduce or add time to the timer. I really need help now I wish someone will me. Thank you in advance.
Hi, I am not exactly sure what your question is. Did you try to implement your idea?
You just put the timer and its time interval in the condition and in the actions you reset the timer and add ‘simulate pressing Jump key’ for your player. Your player should jump know according to your timer.
Hi thank you for your reply. Honestly I want to make a game that has the same mechanics as the “Restless Wing Syndrome”
link to the game:
[Restless Wing Syndrome by Leko (itch.io)]
Restless Wing Syndrome by Leko
I don’t really master the timer conditions and actions.
I see. For the basic mechanic (jump after some time passed), this here works (supposed you added the platformer behavior to your player):
Of course for the details (jump intensity, time interval etc.) you have to figure out what works best for you.
wow! thank you very much. This is a great help for me. I won’t forget this
Your timer needs to be compared to a variable, when the timer time is not fixed.
If timer>= variable(time) do jumpactions.
Then when you collect your add time or reduce time objects, you just need to change the variable time.