Note that this is a basic outline, and there are many ways to improve and expand upon this project. You can use this as a starting point to create your own Super Mario Bros-like game in Java. Good luck!
So, power up your old Nokia, load that JAR file, and let that MIDI theme song ring out. It’s Mario, in your pocket, exactly as we remembered him. super mario bros java game 240x320
public Platform(int x, int y, int width, int height) rect = new Rectangle(x, y, width, height); Note that this is a basic outline, and
// Platform collision onGround = false; for (int i = 0; i < platforms.length; i++) int pX = platforms[i][0]; int pY = platforms[i][1]; int pW = platforms[i][2]; int pH = platforms[i][3]; So, power up your old Nokia, load that
: A more stylized Java version with different level designs and animations. Super Mario Saiyan Adventure