This morning I woke up at 5am and spent a bit of time working on Fasteroids. One of items on my To-do list is fixing the high scores. Currently the input for the high scores doesn’t work as expected – you have to click on the field in order to enter into it and entries don’t display correctly. For the time being I’m going to cut this “feature” in favour of a single high score that gets displayed.
I’ve already added some of the code for the high score, but I’m planning on moving it where the “Wave” currently is and moving the “Wave” to below lives.
I have to fix the code to import the high score from an ini file. The variable is there, but I haven’t inserted the code to read in the ini file yet. Originally this was done at the end of the game for the high scores.
Another To-do I became aware of while working on this code was the repetition of code within each of the Asteroids. I’m not sure yet how much code each inherits from the large asteroid (it should inherit all the code AFAIK) but simplifying the code will make future enhancements simpler (no changing code in 3+ places).
I’m still planning on adding additional enemies, more sound and sound effects, scaling for other aspect ratios and a revised menu system. This is a small step forward.