Pages

Friday, 5 June 2020

Unidentified Fixed Object!

Not a lot of time to work on it today so a quick update - UFO fixed!

The UFO sprite has 4 blank pixels on each side in order to self-erase when flying across the top of the screen, for a total of 24 pixels across. However, when displayed in the score advance table, the code points to the 5th pixel and only draws 16 pixels.

As a result, I had to separately rotate and store both 16- and 24-bit versions of the sprite. The former is rendered by the generic simple (aligned) sprite routine, the latter by a (new) routine to display a 24-pixel sprite.

UFO is rendered correctly now. Getting closer!
Bombs and lasers next!

No comments:

Post a Comment