Original tutorial: youtu.be/2nucjefSr6I
I started the game file with general settings for Kaboom.
clearColor: [0, 0, 0, 1]
for the sprite, I am linking to imgur.com so that was set for the root path of the sprite images, then it was just getting the link code for each sprite and then defining each one on the map. Next, I set up the map
- HTML boilerplate
- Sprite configuration
- setting up the map
- this is how it looks
the next task was to set up the game mechanics, configuring how the sprite moves and what happens when they collide with an object or another sprite.
- Movement code
- Functions for mushrooms and coins
link to my Github: github.com/munchbyte/marioJStutorial
link to original project github.com/kubowania/mario so thanks Anna Kubowania, check out her other tutorial.