It is currently Sat Oct 21, 2017 8:01 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Only 64 sprites!
PostPosted: Fri Nov 12, 2004 4:53 pm 
Offline

Joined: Wed Oct 06, 2004 9:00 am
Posts: 2
Wait a second here, if the NES only supports 64 sprites, why does its sprite pattern table have room for 256? Are you supposed to reload new patterns for the same sprite variable if you are not going to use the old pattern anymore?


Top
 Profile  
 
 Post subject: Re: Only 64 sprites!
PostPosted: Fri Nov 12, 2004 5:31 pm 
Offline
User avatar

Joined: Sun Sep 19, 2004 10:59 pm
Posts: 1389
pulper wrote:
Wait a second here, if the NES only supports 64 sprites, why does its sprite pattern table have room for 256? Are you supposed to reload new patterns for the same sprite variable if you are not going to use the old pattern anymore?

The sprite pattern table has 256 entries because it's the same size as the background pattern table (where you can use all 256 entries at once). Also, being limited to the same 64 tiles at once would SUCK if you didn't have bankswitching or CHR RAM, so it makes perfect sense that there would be more to choose from. Besides, if you are using 8x16 sprites, that's a total of 128 tiles across BOTH pattern tables.

Short answer - there are 256 tiles because you can CHOOSE which tiles you want to use.

_________________
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 5:38 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3470
Location: Indianapolis
If you do a mid-frame sprite DMA, there can be more than 64 sprites. But the screen has to be turned off for maybe 5 scanlines or so, there'd be limitations with sorting and positioning, etc. It could be possible though, to use all the sprite tiles in one frame, heheh.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group