A simple clone of first stage of original Nintendo NES Super Mario with a slight touch of Dragon Ball Z anime.
A/Left: Left
D/Right: Right
Space: Jump
Shift (hold): Sprint
R: Shoot Fireballs (should have adequate powerup)
Working standalone java package can be downloaded here.
(Note: Java 8 or higher required).
Game resolution can be changed from file size_config.dat
(if file doesn't exist, run game once and it will be generated), which can be opened and editted with notepad. First value is the WIDTH and second is the HEIGHT (separated with a colon :
). Any value between 600 to 1920 for WIDTH and 300 to 1080 for HEIGHT may be used (image scaaling limitations). Any out of bounds or invalid values will default to 1000x600 resolution.
This game was created in a fairly modular way. So adding/removing things is quite easy and the underlying game engine can be practically used as initial base for many 2D games. Proceed by reading Javadoc
to understand classes and methods.
Jaskaranbir