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.

DS development > Don't know if this has been implemented...

#106838 - Lupi - Mon Oct 23, 2006 10:55 pm

Well, due to the limitations of the DS hardware I was thinking about how to make an infinite tiled background.
The idea is easy, but I didn't had any luck implementing it, mostly because I have no idea of how to do it (I tried several codes, but nothing)

My idea would be have a 512x512 bg and whether the screen moves load the necesary tiles and move back the background so it actually seems the background is really huge

I wonder if anyone has implemented it, has anyone done it? :P

#106839 - tepples - Mon Oct 23, 2006 10:59 pm

You've just reinvented what just about every NES game does. In fact, this technique is described in the board FAQ.

Tip: You only need 512x256 because the screen is only 192 pixels tall.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.