A89: "Adding" a sprite on top of another one


[Prev][Next][Index][Thread]

A89: "Adding" a sprite on top of another one




Let's say l have a sprite that does this:
sprite:
dc.w 1
dc.w 1
dc.b 11111111
        (no mask)

and l have another sprite that does this:
sprite2:
dc.w 2
dc.w 1
dc.b 00000000
dc.b 00000000
mask2:
dc.b 11111111
dc.b 11111111

Now, how can l add sprite "on top" of sprite2 so that l can display ONE 
sprite (or just not two right after one another), so that the new sprite 
would look like this:
sprite3:
dc.w 2
dc.w 1
dc.b 11111111
dc.b 00000000
mask3:
dc.b 11111111
dc.b 11111111

Thanks
--TurboSoft

Visit the TURBOSOFT HOMEPAGE:  The most current Basic and C programs created 
by TurboSoft for the 89, and the most 89 web links.
<A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>