How to make a platformer game on scratch?
1 answer(s)
First, you'll need a 'forever' loop to create gravity. Inside it, constantly 'change y by' a negative number. For jumping, use an 'if' block. When the up arrow is pressed, 'change y by' a positive value. Use another 'if' block to stop the fall when your sprite touches a platform.