u/Elder_Rusty

total noob can't make a double jump (GML, please help)

total noob can't make a double jump (GML, please help)

I am currently trying to make a tech demo, small little platformer, I got a cube, the cube bounces and does platformer shenanigans, etc.

Originally i just had "push this button, -2 y axis" and let the natural falling speed bring them back down to simulate a jump.

And then i did this.

https://preview.redd.it/ari0agcpal2h1.png?width=225&format=png&auto=webp&s=4090d8e4518f91fbb02f46e3d2d807136df52c9a

https://preview.redd.it/l8nkxe6sal2h1.png?width=727&format=png&auto=webp&s=d1adf2bd2f9b914720451e5c90470652242a46fb

aaand now the game is telling me that my "jump timer" is undefined.

I literally only started programming three days ago, made asteroids successfully, this has been new. I want to be able to double jump, it has not been going smoothly.

Advice and help would be so very loved!

reddit.com
u/Elder_Rusty — 1 day ago