arrow keys to go left and right. mess around with the "Ground Angle" variable to change the direction of the player.
Credit to @_CH0S3N_ for inspiration. Sonic physics guide: https://info.sonicretro.org/Sonic_Physics_Guide Goes unused because I could not figure out collision and stuff.