Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
ppu [2021/09/05 16:59] – [Layer 1 and 2 registers] simer | ppu [2021/09/05 17:02] – [Sprite registers] simer | ||
---|---|---|---|
Line 127: | Line 127: | ||
The sprite position refers to the center of the sprite (rather than top left corner) and contains signed values with pixel position x=160,y=128 as the origin of the coordinate system and positive Y going upwards. | The sprite position refers to the center of the sprite (rather than top left corner) and contains signed values with pixel position x=160,y=128 as the origin of the coordinate system and positive Y going upwards. | ||
- | Unlike for layers, there is no tile and attribute map: a sprite is made of one single tile, which ID is stored directly in the corresponding register for the sprite. | + | Unlike for layers, there is no tile and attribute map: a sprite is made of one single tile, with the character |
+ | The sprite attribute register format is the same as the one for tile layers, with the exception of bit 14 being assigned to blend enable. | ||
===== Colors and palettes ===== | ===== Colors and palettes ===== | ||