SOLVED Sticking To Walls While Jumping...

Hi, I need help... When I jump with my character it constantly lets me jump again making me climb infinitely and I can stick to walls.
I appreciate all of the help I can get!
Imagine Galaxy
 

TsukaYuriko

☄️
Forum Staff
Moderator
Probably your movement code was not implemented properly, as it seems to register being next to a wall as being on the floor. If you want us to help you with it, post it.
 

Slyddar

Member
Regarding the infinite jumps, before allowing the jump to occur, you need to check if you are on the ground first.
 
Yes, so am I to make a different tiles for each wall barrier for the Jump_Lock to activvate and Deactivate to allow me to jump or not jump?
 

TsukaYuriko

☄️
Forum Staff
Moderator
Not necessarily. You could also fix your code that checks whether you're on the ground to not falsely report that you are when you're actually just next to a wall in the air.
 
Last edited:
Top