This has code to make a sprite jump, as well as a code that makes it speed up/slow down as it walks. Go make a game with this... Lazy? Press W to gain energy. Feel free to use this, just give credit please!
4/19/23 - Refined the code a little, and added that ghost effect that's in every generic platformer(Press C)(Press C to cancel.). Press R to stamp. 2/13/23 - added energy. If you run out of energy, you can't do anything. Energy regenerates over time. 2/22/23 - added a better walk animation. Thanks to @griffpatch for the animation! 2/27/23 - added a standing still animation.