Sticky bit: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
m (3 revisions: Import from wikkii)
m (Blanked the page)
Line 1: Line 1:
The "sticky bit" is one of the per-sprite attributes stored in the [[Sprites|Sprite Control Bank 3]] (bit 6).


{{16BitRegister|Y position|9|'''[[Sticky bit]]'''|1|?|1|Sprite size|5}}
Setting it to 1 makes the corresponding sprite "stick" to the precedent one.
The video hardware will automatically place it 16 to the left of the precedent sprite, use the same Y position, size and vertical shrinking coefficient.
Only the horizontal shrinking coefficient is left independant.
Sticky sprites can also be called "driven sprites".
[[Category:Video system]]

Revision as of 12:44, 27 July 2011