Page 1 of 1

how much sprite tiles can you load

Posted: Mon May 18, 2009 8:12 pm
by Tomdev
ok, my question how many sprite tiles(32x32 sprite tiles) can you load into vram?
is there a limit or is the limit the size of your vrambank you mapped for it?

Re: how much sprite tiles can you load

Posted: Mon May 18, 2009 9:44 pm
by Antoine_935
I think nds can handle at most 128 sprites per engine.

Re: how much sprite tiles can you load

Posted: Tue May 19, 2009 5:06 am
by Sylus101
You should be able to have 128 32 x 32 sprites. They are 1K each so as long as you have 128K allocated in (Probably bank B if Main engine, D if sub).

It's possible, to have 256K VRAM for the main engine allocated to sprites (banks A and B), but there are still only 128 OAM slots so only 128 sprites available. They could, however, all be either 32 x 64 or 64 x 32 in size (2K each) and fit in the VRAM that way.

Re: how much sprite tiles can you load

Posted: Tue May 19, 2009 6:25 am
by Tomdev
yes i know that you can use at most 128 sprites, but i didn't know that you can use so much space for gfx! thanks sylus101!