2020-06-07
I’ve been extremely wary of runtime performance and have spent pretty much all my time sweating the details on game play without moving onto things like scoring, or the help screens etc.
My last entry I talked about potential optimisations in reading the mummy position out of a BANK
but didn’t work out.
The next item to try was to switch from calling SPRITE
continuously (which prints the sprite to screen) to using SPRITE CONTINUE
which lets the hardware animate between points - in my case, the crossroads in the game.
The video below shows before and after (around the 15 second mark). Before, the game play is sluggish as I hit around 4 mummy’s and becomes unplayable after that. After, I’m easily able to get to 11 mummy’s and they’re still running around at breakneck speed!
Next I want to work on the controls. I’ve noticed that when I play, sometimes I get stuck trying to turn a corner and the player just sits trying to move when they can’t.
So my idea to solve this is: if the player tries to move left before they’re able to, continue them moving in the direction they were going before. i.e. if they were going up, and try to move left but hit a wall, keep going up (which is usually just one tick) then the left movement will kick in.
The trick, I think, will be ensuring that this method can only occur during movement and not as the first movement…whatever that’s supposed to mean.
Get Go Mummy! (ZX Spectrum Next)
Go Mummy! (ZX Spectrum Next)
ZX Spectrum Next clone/reimagination/upgrade of Amsoft's Oh Mummy from the CPC 464
Status | Released |
Author | rem |
Genre | Survival |
Tags | nextbasic, Retro, specnext, spectrum-next, zx-next, zxnext, ZX Spectrum, zx-spectrum-next |
More posts
- Fin - 2020-08-25Aug 25, 2020
- 2020-08-09Aug 09, 2020
- 2020-07-28Jul 28, 2020
- 2020-07-20Jul 20, 2020
- 2020-07-07Jul 07, 2020
- 2020-06-25Jun 29, 2020
- 2020-06-15Jun 15, 2020
- 2020-06-03Jun 08, 2020
- 2020-06-01Jun 01, 2020
Leave a comment
Log in with itch.io to leave a comment.