gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > super mario bros question

#5582 - blaow - Fri May 02, 2003 11:48 am

hope no one laughs at me by asking this but
i just have a doubt. did they use a wrapping text background in this game? are the pipes (the ones that are green )sprites or are they background tiles, what about the blocks you can destroy/walk on them are they sprites too.. i have a feeling they are.. but i might be wrong... what i percive is they use a wrapped text background that only consist of the scenery and the floor.. all other things are sprite(all other walls, blocks, holes in the ground, etc.....).. am i way off?
thanks
_________________
blaow~~

#5583 - Sweex - Fri May 02, 2003 12:10 pm

I am not sure what game you are exactly talking about, but this is my idea about what is text background and what are sprites...

Everything that doesn't move different than it's environment. (walls, crates, platforms, pipes) are background. Things that you can move or pickup are most likely sprites.

(However, to limit the number of sprites you can keep it in background until it is being moved. If that happens, the background tiles are replaced and the actual item is a sprite from then on)

#5585 - Touchstone - Fri May 02, 2003 12:26 pm

I would guess that everything are made from tiles except for moving objects (enemies, fireballs, muschroom and flowerpickups etc, questions blocks..) which are made of sprites. I think the green pipes are tiles as well.

If you really want to know how a game do something find yourself an emulator you can setup to not display sprites/backgrounds, that way you can see for yourself. NESticle for instance, excellent emulator to dissect NES games.
_________________
You can't beat our meat

#5590 - blaow - Fri May 02, 2003 2:16 pm

Yes the emulators.. thanks for the remindment. should have checked bfore asking...
_________________
blaow~~