Left and Right arrow keys to move left and right and Up to jump. This project may still be buggy so let me know in the comments if you spot a bug
You can also design a level for this, just use the orbs and pads shown in the first section and the spikes and blocks in the 3rd level, just don't change the colours. The only way to die is by a spike. Credits: @SammyCheez for the tutorial for a platformer @Griffpatch for the turning script @vedantsworld / MasterScratcher0830 (my alt) for the rest of the coding