how much sprite tiles can you load

Post Reply
Tomdev
Posts: 82
Joined: Thu Jan 08, 2009 9:15 pm

how much sprite tiles can you load

Post by Tomdev » Mon May 18, 2009 8:12 pm

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?

Antoine_935
Posts: 11
Joined: Mon May 11, 2009 1:11 am

Re: how much sprite tiles can you load

Post by Antoine_935 » Mon May 18, 2009 9:44 pm

I think nds can handle at most 128 sprites per engine.

Sylus101
Posts: 179
Joined: Wed Dec 24, 2008 5:08 am

Re: how much sprite tiles can you load

Post by Sylus101 » Tue May 19, 2009 5:06 am

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.
-Sylus "Not Stylus..." McFrederickson

Come visit my web site.

Tomdev
Posts: 82
Joined: Thu Jan 08, 2009 9:15 pm

Re: how much sprite tiles can you load

Post by Tomdev » Tue May 19, 2009 6:25 am

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 79 guests