-> Arrow keys to move -> All code made by me,@b1naryc0der -> Feel free to love, fav,or remix!
I've been messing around with platformers and such, but my real problem was the graphics and movement. I needed a sprite that moved well and jumped like a normal human being.... Smooth(ish). So I figured out that you can use variables to create a moving number in place of gravity. It sounds hard, but when you look inside at the code it gets a lot easier to think about and recreate. This is great code to start off with in a game where a sprite is controlled by the keys and needs to jump and/or move realistically.