Use arrow keys to move. Avoid touching spikes and spiky gears. Collect all the coins to go in the portal.
Thank you @rehanscratch for the first project, thank you @Raistlin12345 for the first YouTube video on how to make this project, and thank you @griffpatch for the basic scrolling platformer concept.