2020-11-08
I’ve been making super minor changes since I started this game, focusing mostly on getting the blocks to drop in a way that doesn’t halt the entire game play.
Since the game is (currently) written in NextBASIC the maths and logic to check which blocks to drop and how far is pretty intensive even when running at full tilt at 28Mhz.
If you watch the video below you’ll notice when I’m selecting the blocks on the far right of the grid, the time it takes to clear out the blocks increases giving the impression of a hang:
So I’ve been focusing on how to improve perceived performance.
- Instead of scanning the whole grid, I capture the range of min-x, max-x and min-y (which is inverted) - so this speeds up the scanning process
- During the scanning and clearing process, I’m repeatedly calling the
readInput
so that the pointer can still move whilst the work is being done - this reduces the feeling that the game has hung during larger scans - During the scan process (the
tag
routine), if there’s more than one block tagged, I immediately start removing these blocks from the display, this allows for large clearings to give visual feedback that there’s work being done, and so far has visually tricked me into thinking I can’t play until the animation is complete
With the fundamental game play mechanics in place, I’m now adding the details to the game like the “next stage” overlays, buttons to quit or retry, an interface to change the game seed - and, if technology permits, a way of submitting high scores online, via the spectrum…
Get Marbles Squared (ZX Spectrum Next)
Marbles Squared (ZX Spectrum Next)
A puzzle game harking back to The Same Game
Status | Released |
Author | rem |
Genre | Puzzle |
Tags | nextbasic, Retro, specnext, spectrum-next, zxnext, ZX Spectrum, zx-spectrum-next |
More posts
- 2021-07-16 (update release)Jul 16, 2021
- 2021-07-10Jul 10, 2021
- 2021-07-05Jul 05, 2021
- 2021-06-14Jun 14, 2021
- 2021-05-19May 19, 2021
- 2021-05-18May 18, 2021
- 2021-03-23Mar 23, 2021
- 2020-11-23Nov 23, 2020
- 2020-10-14Nov 08, 2020
Leave a comment
Log in with itch.io to leave a comment.