View Single Post
Old 27 April 2011, 16:35   #19
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Drawing the invaders using sprites only by multiplexing them horizontally across the screen is doable like Codetapper says, but it will become a pretty complex exercise.

An easier way is to place all 8 sprites together for a 128 pixel wide block which you draw a row of invaders into and move as one, reposition horizontally for the next row of invaders, and maybe even change colors for each row.

If 128 pixels is too narrow then another easy and more flexible way is to use bitplane graphics. This way you could have a different graphic, size, shape and color for each of your 44 invaders, as long as you segment them into rows. You wouldn't have to draw them separately with the blitter or anything, but just reposition the bitplanes and have them all move together at no cost. You can change colors for each row of invaders here too, and with bitplane graphics you could go all the way up to 256 colors if you wanted to.
Leffmann is offline  
 
Page generated in 0.04430 seconds with 11 queries