Quick update. Need to add in player’s ship before work on enemies can continue. Also need to write explosion code, which is a little bit more interesting, so working on that. Original game uses “x.frags” files, where “x” is the name of the sprite, to store explosion bitmaps. Think I can do this more efficiently by just splitting up the bitmaps I’m using as the enemy sprites into chunks.
Will give it a go and see what happens.
PALib has ceased development today - author is taking some time away from it. Having had dreams about IK++ for a month whilst working on that, and once dreaming the code for a complete version of Asteroids in Blitz BASIC*, I can sympathise with his position. Sometimes you just have to abandon your code and do something else or you’ll go mad, especially if you work as a programmer as well as code in your spare time. However, that still leaves me with non-functioning sprite palette code. Bah.
*I never did write a version of Asteroids for the Amiga. After spending a night writing it in my sleep, the last thing I wanted to do was write it all over again whilst awake.