Sprite(Hardware)

From SMWiki

Jump to: navigation, search

(For the object in SMW, See sprite)

On the SNES hardware, sprite is an image drawn at a specific part of the screen, unlike other layers, each sprite image can move independently from each other, sprites also alway use 4bpp graphic no matter wich BG mode is used. Only two different sprite size can be used at the same time , the two size avaliable depend of bit 5,6 and 7 of $2101. In SMW the two size used are 8x8 and 16x16. The sprites data are stored in OAM, the graphic for them are stored in VRAM and the pallete in CGRAM.

[edit] Limitation

Only 32 sprites can be used on the same scanline (this is reffered to as 'range over')

Only 34 sprite tile(8x8) can be used on the same scanline (this is reffered to as 'time over')

The OAM can only hold up to 128 sprites

Personal tools