Puzzles - A gem matching+smashing game
Posted: 18 Jul 2020, 13:16
Hey All!
Since ordering my Gigatron I promised a friend I'd port a Super Puzzle Fighter like game to it - now I've done just that!
The aim of the game is to smash as many clusters of matching coloured gems as you can in five minutes. Bonus points are awarded for chaining smashes.
Clusters are smashed when a smasher of the same colour is added to a cluster. Smashers are the gems with a dot in the centre. A cluster needs to be two gems or more and include a smasher to disappear. A single smasher will not disappear on its own. A cluster of standard gems won’t disappear until a smasher is added to the cluster. A cluster can be formed in all directions and be any shape or size. A chain is when you smash a cluster, the gems fall into place, and then another cluster is smashed as a result.
Smashers look like this:
Detecting the clusters of gems was a pretty awesome challenge. I'm not sure I want to ever code a graph search in asm again (lies, of course I do). I'm super happy that I got that to work because there was no way to pull off this game without it.
Hopefully you all enjoy it. Let me know what you think. Also let me know if you find any bugs. If it seems stable enough I'll submit a PR to the github repo to get it into contrib. In the meantime, the code is in my repo.
Controls
A: Rotate
B: Switch colours in place
Left: Move left
Right: Move right
Down: Fast drop current gems
Up: Hard drop current gems
Start: Restart game
Download
Runs on ROM Version 3 and above.
Since ordering my Gigatron I promised a friend I'd port a Super Puzzle Fighter like game to it - now I've done just that!
The aim of the game is to smash as many clusters of matching coloured gems as you can in five minutes. Bonus points are awarded for chaining smashes.
Clusters are smashed when a smasher of the same colour is added to a cluster. Smashers are the gems with a dot in the centre. A cluster needs to be two gems or more and include a smasher to disappear. A single smasher will not disappear on its own. A cluster of standard gems won’t disappear until a smasher is added to the cluster. A cluster can be formed in all directions and be any shape or size. A chain is when you smash a cluster, the gems fall into place, and then another cluster is smashed as a result.
Smashers look like this:
Detecting the clusters of gems was a pretty awesome challenge. I'm not sure I want to ever code a graph search in asm again (lies, of course I do). I'm super happy that I got that to work because there was no way to pull off this game without it.
Hopefully you all enjoy it. Let me know what you think. Also let me know if you find any bugs. If it seems stable enough I'll submit a PR to the github repo to get it into contrib. In the meantime, the code is in my repo.
Controls
A: Rotate
B: Switch colours in place
Left: Move left
Right: Move right
Down: Fast drop current gems
Up: Hard drop current gems
Start: Restart game
Download
Runs on ROM Version 3 and above.