This repository contains the code corresponding to an in-depth tutorial available on our YouTube channel, Chris Courses.
If you prefer visual learning, this is the perfect resource for you. Follow our tutorial to learn how to build projects like these step-by-step in a beginner-friendly manner!
Mario Platform Game Using Canvas and Vanilla JavaScript
Mario jumps, runs, and walks across each level. The worlds are full of enemies and platforms, and open holes.
- HTML
- CSS
- Vanilla Javascript
- Canvas
👉 Player Creation
👉 Earth Gravity
👉 Player Movement
👉 Platform
👉 Scroll Background
👉 Win Scenario
👉 Image Platforms
👉 Parallax Scroll
👉 Death Pits
👉 Level Creation
👉 Fine Tuning
Follow these steps to set up the project locally on your machine.
Prerequisites
Make sure you have the following installed on your machine:
Cloning the Repository
git clone https://github.com/mo0hamedRadwan/Mario-Game.git
cd Mario-Game
Installation
Install the project dependencies using npm:
npm install
Running the Project
npm start
Open http://localhost:8000 in your browser to view the project.