sprite zero basic question

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
sprite zero basic question
by on (#4248)
does sprite zero hit when sprites are not visible?

by on (#4249)
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.

by on (#4251)
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.