Skip to content

nadjascodejourney/moving-mario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This little exercise was part of my studies. In addition to move mario to the left and to the right, I added a jumping function.

Features:

  • Walk & Single Jump
  • Hold down the key: Mario keeps moving as long as any key is pressed
  • Turn around, change direction see MDN.
  • Stand still if no key is pressed

Feel free to add more features:

  1. clone the repo
  2. run npm install in the terminal
  3. run npm run dev

About

classic 8-bit Super Mario movement with keydown/key up controls

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published