Hi! I’m new to flow lab, so I’m still learning the basics. I’ve been trying to create a platformer, so I used the Run and Jump bundle on my character. The problem is, whenever I move and then jump at the same time, my character keeps moving in the air even if I’m not pressing down on the left and right buttons. Is there any way to fix this? Thanks in advance.
2 Likes
Is this game private? If not can I have the link.
you can use a “nor” logic gate to make the velocity 0 whenever no buttons are being pressed
5 Likes
Thanks! that solved it
6 Likes
how do I make it? It will not work. What order do I put them in?
How can I do this? If you know please send a screenshot thanks
omg thank you so muchhh!
1 Like
I tried but it didnt work dyk if you could recommend any more help by chance? i deleted some of the variables to able to jump but heres the game below if you need to see the behavior.
1 Like
So you’re making a platformer, the code I shared before was for a top-down game. For a platformer you could probably keep all the code for the horizontal movement, with an impulse for the jump.
ohhh ok thanks that makes more sense now
1 Like