Some optimizing done
I've taken a small break from porting and started doing a bit of optimizing, mainly by using lookup tables when writing into VBXE memory, and for lookups of the Cave structure, which eliminates the multiplication. Game play is bearable at standard Atari speeds now. There's still a few other places I'd like to optimize, but for now, back to porting.
I've also found and fixed a few other bugs:
- created custom cgetc, as the cc65 version was writing into the screen (I'm not using the Atari screen memory, only VBXE)
- fixed the door placement code, now doors can be stuck or broken and will have to be bashed down.
- fixed the Eat code... now eating something increments your food counter properly.
- other miscellaneous optimization of the cave generation code, caves are generated on average around 30 seconds.
- re-implemented the map screen (command 'M')
2 Comments
Recommended Comments