Use for your platformer! Arrow keys to move. Just a piece of code to use in a platformer (note: you need the ground sprite as well)