Work in Progress

Super Mario Bros. Demo


CreatorJo 2022-09-14 06:24 (Edited)

A basic demo of a Super Mario Bros. port. Still missing some important features, and those are some janky physics.

If you want to make your own levels, here's a reference:

Levels are stored as data blocks in the ROM that are interpreted quite similarly to machine code.

Instruction 00: A useless instruction that doesn't have any data.
Instruction 01: Plot a ground block at the given 16x16 pixel X,Y pair.
Instruction 02: Same as 01, but with brick blocks.
Instruction 03: Place 2 ground blocks stacked vertically, with the base at the given 16x16 pixel X,Y pair.

Instruction 08: Put a goomba at the given 16x16 pixel X,Y pair.

MarioGame.nx | Open in app
2022-09-14 06:24

SP4CEBAR 2022-09-14 11:21

I did it! I managed to get stuck in a platform!

G-9 2022-09-14 13:26

the music slaps btw
good job on beating me

MarioGame.nx | Open in app
2022-09-14 13:26

McPepic 2022-09-14 15:18

Really good demo!
I think I hit a ground block at a weird angle from the side, because I ended up inside of it.
Also, one of the goombas keeps getting stuck in the floor.
Besides that, it seems to work really well!

CreatorJo 2022-09-20 19:06

@G-9 I never got around to finishing the music, but I'm glad you like it.

SP4CEBAR 2022-09-21 20:34 (Edited)

@Diamondwolf3393, I just extracted the Mario song from MIDI
However, it's two octaves too high
and when a note is held down, it triggers again on each music tick
And it's been quantized (MIDI uses timecodes, NX doesn't), so it's possible that some short notes didn't have any space to fit, so they were overwritten
The midi converter needs some more work...

Mario Song Player.nx | Open in app
2022-09-21 20:34

altk353 2023-02-28 00:31 (Edited)

added level support (you can post it i don’t want to take credit)

MarioGame.nx | Open in app
2023-02-28 00:31

Log in to reply.