It is currently Sun Dec 17, 2017 12:52 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Sep 04, 2005 9:53 am 
Offline
User avatar

Joined: Tue Dec 21, 2004 8:35 pm
Posts: 600
Location: Argentina
does sprite zero hit when sprites are not visible?

_________________
ANes


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 04, 2005 10:30 am 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1845
No

Sprite zero hit happens as the pixels are actually rendered -- if the sprite pixels are not being rendered, the sprite can't be hit. Both BG and sprites must be enabled -- and for a collision to occur on the left-most 8 pixels of a scanline, the clip option for both BG and sprites must be off.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 04, 2005 11:27 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19353
Location: NE Indiana, USA (NTSC)
And it can't occur on the last pixel of a scanline (x=255).

But it can occur if the sprite and background are drawn with colors whose palette entries are the same (e.g. black) or if the sprite is drawn behind the background.


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: sdm and 5 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