Left/Right arrows to move G to prepare jump Space to jump (must have jump prepared for this to work)
Feel free to use this in a game you're making. It's a lot of code so if you know how to make it less complicated, use that in the game you may or may not be making