Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nadjascodejourney/moving-mario

classic 8-bit Super Mario movement with keydown/key up controls
https://github.com/nadjascodejourney/moving-mario

dom-manipulation-practice

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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](https://developer.mozilla.org/en-US/docs/Web/CSS/scale).
* 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