Mario

by jimsod776
See Code Download Embed
Player
Scenery 1
Scenery 2
Enemy
 
Mario is original (not from an already-existing game)
Mario turns to the right on right arrow key
Mario turns to the left on left arrow key
Mario performs an in-place animated walk if you hold down either arrow key
Mario jumps based on some input
There is a reset button that restarts the game.
There is at least one on-ground enemy
Enemy sprite always moves towards Mario
Enemy sprite re-appears/rolls over correctly
Enemy sprite is animated when it moves
Mario can jump over the enemy
If Mario does not jump, he runs into the enemy and the game ends/resets nicely and properly
Mario starts with 3 lives.  Game resets nicely when he loses a life and ends nicely when he has no lives left.
There are least two scenery sprites
Scenery sprites are layered with Mario (e.g. appropriate layering blocks are in your program)
Scenery sprites move based on Mario’s movement
Scenery sprites move at different speeds (e.g. far away versus near)
Extra Credit: Include flying enemies for Mario to dodge or duck
Extra Credit: Keep score based on how many objects Mario gets by

Created November 6, 2019

Last updated November 21, 2019

Published November 21, 2019