Basically in my game whenever I jump i land at a different y height everytime. It's like every 2 jumps it goes down by one and then after it goes down 4 it brings it back up.
I was trying to make a mario game and i had some problem with movement. If you hit the d or a key then you jump in a parabola even though you are standing still. nI was wondering how to jump in a parabola while moving but jump straight while standing still. Also i used color detection but when i land on a platform it puts me at different altitudes.
Heres the code if you need a commentated version let me know.