AMOSi:Sprite Priority

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Controls the way your sprites are displayed on a Dual playfield screen.


Sprite Priority n

n sets the priority of the sprites relative to the two playfields.


The following table should make this clearer. Objects with the higher order value are always displayed in front of those with a lower one.


n Playfield Sprites 0/1 Sprites 2/3 Sprites 4/5 Sprites 6/7 0 Order 4 3 2 1 0 1 3 4 2 1 0 2 2 4 3 1 0 3 1 4 3 2 0 4 0 4 3 2 1