I'm working on my game, Rebel's Run. In my ever constant attempt to streamline my code as much as possible, I ask this: The first level has asteroids rotating as they decend down on you. Surely there has to be a more efficient way of doing this than the way I am. I'm not losing any framerate (surprisingly, since I have 4 different sets of asteroids that I use this routine on, so I have this bit of code for each set), but I want to make my code as tight as possible. I've attached the code below, can someone take a look at it and suggest a more efficient and possibly less lines of code to do the same thing? I'm rotating in 5 degree increments. Anything higher and the asteroids don't rotate smoothly. I'd really like to use 1 degree increments for extreme smoothness, but with the way I do it now, I'd have a million lines of code just to rotate 4 sets of asteroids (about 366 lines for each set). This of course is all done within the do/loop sequence. Thanks in advance...
PC Specs: AMD 1800+ 512M DDR, Radeon 128meg DDR - DB v1.13
To DB or not to DB............duh DB!