Skip to content

Jay22K/mario-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mario-html

Mario runs through each level trying to reach the castle on the other side to save the princess. Each level contains various enemies, coins to collect, and mushrooms to power-up Mario. Mario's primary form of attack is jumping on top of enemies but touching enemies from the sides results in loss of a life.

Controls

Action Key Input
Move Left 'A' / Left-Arrow
Move Right 'D' / Right-Arrow
Jump 'W' / Spacebar / Up-Arrow

Technologies Used

Mario JS was build using the following technologies:

  • JavaScript used for overall game structure and logic.

  • Minified version of jQuery used to detect user input.

  • A HTML5 Canvas used for rendering of the current game state and all game entities.

Bonus features

There are many additional feature that could be added in the future. Some anticipated updates are:

  • you can build your own map or lavel and play (map editor integrated)
  • Add the ability to grab flower power-ups and shoot fireballs at enemies.
  • Underground portion of level.
  • Multiple levels and additional enemy types.