Overview
Learn to create a Mario-style sidescroller game using JavaScript and HTML Canvas in this comprehensive tutorial. Dive into essential game development concepts including physics, collision detection, and sprite animation. Begin with project setup and progress through player creation, implementing gravity, and designing player movements. Master platform creation, background scrolling techniques, and win scenario implementation. Explore advanced topics like image-based platforms, parallax scrolling effects, and death pit mechanics. Develop skills in level design, game fine-tuning, and sprite creation. By the end of this 2-hour tutorial, gain the knowledge to build a fully functional Mario-type game using only HTML5 canvas and vanilla JavaScript.
Syllabus
- Project setup
- Player creation
- Gravity
- Player movement
- Platforms
- Scroll the background
- Win scenario
- Image platforms
- Parallax scroll
- Death Pits
- Level creation
- Fine tuning
- Sprite creation
Taught by
Chris Courses