This is a Supermario jump and run game implemented in Svelte. You can visit it at https://gregorw.github.io/supermario/.
On Mac OS X Nodejs and Yarn are required:
brew install node yarn
Then, use Git to clone this code:
git clone https://github.com/gregorw/supermario.git
cd supermario
Within the project folder install packages and run dev server:
yarn install
yarn dev
Your local copy should now be running at http://localhost:5000/supermario/.
- Can you change the player icon to something that represents you better?
- Can you create your own world?
- Can you make the player jump?
- Can you detect collisions and display “Game Over”?
Have fun coding and don’t hesitate to contact me when you are about to learn to program and need some help.