A89: sprites


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

A89: sprites




Alright, I've finished this PutSprite routine I've been working so I'm going
to post it.  It puts a 16x16, masked, clipped, non-aligned, gray scale
sprite to video memory and stores the background.  Even though I didn't clip
at the right and bottom of the screen, it will still return when the sprite
is completely off the screen, leaving $5998 to $5b00 safe for variable
storage.
Here's an example to of it in use.  Copy and paste the routine into your
code if you want to use it; there's no need for it to be a library ... just
be sure to give me credit :-)