Arrow keys to move, press 'z' to jump. Press down while running to roll. Press z while ducking do do a spin charge/dash. (You have to keep on pressing 'z' like in the old games. Pressing it once won't get you very far!) Run into the springs to bounce :P Speaking of which, press p to change the level
Credits: Nintendo, Sega, Sonic Team, MrLog, RHY3756547, The Spriters' Resource, and Hummer Team. Here's an alternate version: https://scratch.mit.edu/projects/148711054/