Press Space Key to jump. Move Sliders to experiment with how certain settings affect the game!
This is a demonstration of gravity and how it is programmed into games. If you click see inside, there are detailed explanations of how the code works. Enjoy! Leave any questions in the comments below. ********************* It's worth noting that this is a very over-complicated version of a gravity effect. Realistically, you don't need to go into all of the detail to make the cat stay on ground level; it's fine for it to go below ground sometimes. Nevertheless, I hope you are able to learn something from this and apply it to your own games! Send me any projects you make with this code! ############ For more tutorials, check out this project: https://scratch.mit.edu/projects/144890679/ Thanks for playing!