Get the rest of the game early at: Make your own animations with the Deekay Tool: Creating a sidescroller type Mario game requires a bit of knowledge related to physics, collision detection, and sprite animation. It can be quite tricky at first, but once you understand the basics, you can set up some full-fledged levels which anyone can play. This tutorial will teach you everything you need to know in regards to developing a fully functional Mario-type game with just HTML5 canvas and vanilla JS. Canvas Boilerplate: Image Assets: 0:00 - Project setup 5:49 - Player creation 12:20 - Gravity 20:40 - Player movement 35:43 - Platforms 43:42 - Scroll the background 53:46 - Win scenario 56:38 - Image platforms 1:14:09 - Parallax scroll 1:24:12 - Death Pits 1:29:46 - Level creation 1:40:49 - Fine tuning 1:42:56 - Sprite creation
Hide player controls
Hide resume playing