Wednesday, May 18, 2005

Code, Code and Coding

It took two hours just to code up the changes I needed to make and even at the end of this I’ve got no guarantee that it will get the game back to it’s previous performance level. I suppose that over 96 CreateImage commands every cycle would cause a problem but I had no idea that on the 6600, it takes over a minute to perform a game loop. It might be more than just the graphics routines, a bug that hadn’t been seen until now, but the most likely offender is the new graphic routines.

What I’ve got now is a Hybrid of the old system and new. A master image is taken from the Theme Directory and that is used to populate the internal arrays, as opposed to individual PNGs.

I’ve decided on the enhancement to the single player game. The idea is to see how many levels you can beat before the game wins. Each time the player wins against the game, the next time the game gets an extra PU and then it starts over again. The start level is determined by the options you select. For each level of difficulty you start at then you get five bonus levels to start off with.

The player gets an extra PU every five levels just to give them a better chance. The highest level the player gets to is stored within the RMS and the player’s details.

0 Comments:

Post a Comment

<< Home