Deconstructing Mario Bros
Moderator: General Mods
-
- Hero of Time
- Posts: 2646
- Joined: Fri Jul 30, 2004 2:49 am
- Location: In front of the monitor
- Contact:
Re: Deconstructing Mario Bros
Hey, that's pretty cool.casualsax3 wrote:http://acg.media.mit.edu/people/fry/deconstructulator/
-
- Romhacking God
- Posts: 922
- Joined: Wed Jul 28, 2004 11:27 pm
- Contact:
That is pretty cool. Thanks for that link. I'll pass that one to the guys over at ROMhacking.net as I'm sure they'd be interested in this if it hasn't been posted there already by somebody else.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Hmm. nope.funkyass wrote:because they take up more than one frame?
Even the 100 points that rises appears in multiple sprite slots, and it's not animated.
Maybe my grammar is unclear (sorry)... the sprite order is being shuffled around, if you look closely, when there is a sprite besides Mario onscreen.
Also notice how Mario isn't shuffled, yet is animated ...
-
- Devil's Advocate
- Posts: 2293
- Joined: Mon Aug 02, 2004 7:51 pm
- Location: Hmo. Son.
It probably has to do with the motion of the Goombas' feet, since the Koopas don't do it. Rather than loading 2 more sprites for their feet every frame, they get mirrored and the indecies get swapped, making it look like their feet are going up and down. It's probably less memory intensive than loading 4 sprites just for their feet and faster than loading 2 sprites from the cartridge every frame.
[i]"It is better to have tried and failed than to have failed to try, but the result's the same." - Mike Dennison[/i]
-
- Veteran
- Posts: 743
- Joined: Tue Aug 10, 2004 4:38 pm
Here is something along the same lines, with a very detailed description of what is going on - this one deals with Metroid.
http://mdb.classicgaming.gamespy.com/m1/lvldata.htm
http://mdb.classicgaming.gamespy.com/m1/lvldata.htm
Well, anyway, the shuffling is going on to avoid having a given sprite completely disappear. There can only be 8 8-pixel wide sprites on a given scanline. Since most enemies in the game are 16 pixels wide, more than 3 enemies or other sprites will cause flashing if Mario is on the same horizontal line.
To everyone's benefit, flashing is better than an invisible sprite. The sprites take turns being invisible for one frame due to the shuffling.
To everyone's benefit, flashing is better than an invisible sprite. The sprites take turns being invisible for one frame due to the shuffling.