Hello all
I am making a platform game and would like the player to have the double jump ability for 5 seconds after collecting a coin. I have no idea how to do this so any help is appreciated.
Thanks
Hello, you can add timer and platformer behaviours on player. After player touches the coin (on collision with coin) turn the double jump for platformer behaviour (set double jump = on), after 5 secons turn it off (set double jump = off)
Develop games in your browser. Powerful, performant & highly capable.
Thank you for your help. How di I "turn on" the double jump just for 5 seconds? I know to check the double jum in the platform behavion.
Something like this should work. On collision set double jump to on, run timer and then turn it off.
https://www.dropbox.com/scl/fi/8smuvm09oqjj4c4rdewqw/Jump.c3p?rlkey=yyd4wpblpju67wsz1oo7zln32&st=ncscmse3&dl=0
Thank you zedissimo
THis is perfect.
You're Welcome mrheller