Sprite Limits

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
Posts: 913
Joined: Tue Feb 07, 2017 2:03 am

Sprite Limits

Post by Oziphantom » Sun Aug 16, 2020 12:23 am

so 32 sprites per line. However there is also mentioned
256 sprite pixel and
34 "slivers"

34*8 != 256

So on a recent demo I ran it an issue where I was trying to get the "34" case, however MESEN clipped out at "33" I didn't have a chance to get an extra hardware test cycle in. But

What is the actual real figure and does it change on PAL/NTSC?

Posts: 9659
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Sprite Limits

Post by lidnariq » Sun Aug 16, 2020 12:48 am

32 entries of OAM can be found on a scanline. If more are found, the first 32 are used.

34 8x1 pixel slivers of sprite data can be drawn on a scanline. If more are found, the last 34 are used. If a large sprite (e.g. 64 pixel wide) is the one that exceeds this amount, the leftmost slivers within that sprite are loaded.

I think. I forget if that's what tepples means when he says "frontmost" and "rearmost".

SFC wiki says I'm remembering correctly: https://wiki.superfamicom.org/sprites (scroll down to "Drawing the Sprites")

PAL/NTSC should be the same in this regard.

Post Reply