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 > tile background & bitmap background

#138783 - ghuldan - Wed Aug 29, 2007 1:14 am

Is it possible to display, let's say, 3 tiles backgrounds and a bitmap background simultanously ?
Some say yes, others no ... what's the truth ?
I want to display smalls bitmaps over tile background, other than simulating a false bitmap bg using a tiled one.

And is there any emulator that can display what's in VRAM .. like virtualboyadvance .... to see exactly whay's in ?

#138786 - josath - Wed Aug 29, 2007 1:53 am

Try reading gbatek, it will list the exact modes available.
If your bitmap will be small, it may be better to 'simulate' it with a tiled background, in order to save VRAM. It's not that hard, it just adds some extra logic to the drawing code.

#138834 - ThousandKnives - Wed Aug 29, 2007 4:29 pm

According to the hardware specs this should be completely do-able. Mode 1 gives three tile graphics layers and one scaling/BG layer that could be used for just such a bitmap background.

#138835 - wintermute - Wed Aug 29, 2007 4:42 pm

If the bitmaps are small and sparse you could also look at bitmap sprites.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#138836 - ghuldan - Wed Aug 29, 2007 5:18 pm

thank you, i did not know there was bitmap sprites ... this is exactlly what i was looking for ^^