How can I make it so that the player can only jump when he is on top of the platform????

Hi. I am making a game where the platforms are moving from left to right across the screen while the player jumps on them. The player can only jump when touching a platform. When the player falls the scene is reset. My issue is that when the player is falling if he touches the side of the platform it still gives him the ability to jump. I do not want this. How can I fix this???? - Vinny

Comments

Sign In or Register to comment.