EasyManua.ls Logo

Commodore Amiga - Overlapped Sprites

Commodore Amiga
321 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DO.W
DO.W
DO.W
DO.W
DO.W
$3FFO,$0000
$OFFO,$OOOO
$0300,$0000
$0180,$0000
$0000,$0000
Overlapped
Sprites
jEnd
of
sprite
data
For
more complex or larger moving objects, you can overlap sprites. Overlapping simply
means
that
the sprites have the same or relatively close screen positions. A relatively
close screen position can result in an object
that
is wider than
16
pixels.
The
built-in sprite video priority ensures
that
one sprite appears to be behind the other
when sprites are overlapped.
The
priority circuitry gives the lowest-numbered sprite the
highest priority and the highest numbered sprite the lowest priority. Therefore, when
designing displays with overlapped sprites, make sure the "foreground" sprite has a
lower number than the "background" sprite. In figure 4-11, for example, the cage
should be generated by a lower-numbered sprite DMA channel than the monkey.
114 Sprite Hardware

Table of Contents

Other manuals for Commodore Amiga

Related product manuals