|
Forum Index : Microcontroller and PC projects : STONED-HQ a merge game for CMM2
| Author | Message | ||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6325 |
STONED-HQ A merge game for CMM2 Tested to run on V8.00.00b4 on a CMM2 G2, but chould also work on G1 The game is a port from the Game*Mite version with extra features. ![]() The game goal is to create groups of 3,4,or more gems of the same type in one line (vertical or horizontal). You do this by moving gems around on the playboard. 1 playfield cell at a time. Keyboard controls: "s" or <SPACE> start the game <ESC> quit the game On the playfield cursor keys move the focus <SPACE> selects a gem for move, next space drops it "h" gives a hint (max 10x). Mouse controls: When the mouse is enabled in OPTIONS it is activated (tested with PS2 mouse). Moving gems around in the playfield by clicking, then dragging. Move the mouse to the HINT field, or MENU field and click to activate. I have not checked if USB mouse works yet, feedback is welcome. Note: the playfield is randomly generated. It is therefore possible that there are no moves left for you to play before time runs out. Too bad, you should have made smarter moves.... or accept fate. stoned_hq.zip If you get 4 or 5 in a row, gems are charged, and become unstable. At a next merge they will explode and earn you extra points. Enjoy playing.... Volhout Edited 2026-11-27 07:54 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6325 |
Oops, left some debug code in. Here's the correct one. stoned_hq.zip Edited 2026-11-27 17:48 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6325 |
All, Despite underwhelming enthusiasm, I am proud to announce I found a real fan. The coffee is cold by time this picture was taken. ![]() Volhout hmmm. rotation took over.... Edited 2026-11-30 19:11 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
| vegipete Guru Joined: 29/01/2013 Location: CanadaPosts: 1200 |
So I put the ZIP file onto the SD card and put that into a CMM2G2. Unzipped it with my just released UnZip program, which took a while but worked fine. ;-) Line 898 attempts to load "boom_50.png" which isn't in the archive. Changed to "boom_C_50.png" Line 900 wants "bomb_25_2.png", changed to "bomb_25.png" Stoned runs fine now, except it sucks up a lot of time and other things don't get done. ![]() Edit: Played some more. (Highest score: 11700) Observations: If the keypress to Start New Game were [Space Bar], I could zone out even more and not even move my fingers to keep playing. Simultaneous 3/4/5 in a row don't work as (I) expected. For example, if I move a jewel to complete 3 vertical and 3 horizontal (ie: 5 of the same jewels in an L shape,) only the vertical trio vanish. This also applies if both swapped jewels complete different sets. Perhaps after a player move or drop, all possible sets should flash away before anything drops. Should a bomb explode an adjacent bomb? Given the available RAM in a CMM2, the game screen and start screen could be saved to different pages so they don't need to be read from disk/SD when required. Edited 2026-12-01 06:47 by vegipete Visit Vegipete's *Mite Library for cool programs. |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6325 |
Hi Vegipete, Thanks for playing. You even crushed my wifes high score by 1000 points. The questions 1/ the 2 tile files that where referenced wrong. Must be my hurry to update the file since I left debug in. 2/ the L shaped configurations have their own effect, that I did not implement yet. 3/ the choice to process merges individually can lead to the effect that a swap that makes 2 merges, the second merge is destroyed by a third that gets preference, and thus never resolves. It is a choice. 4/ a bomb igniting another bomb. That is a good idea. As it is now, a bomb close to another is not ignited, and does not give extra points. I'll give this a good thought. If you feel up to it, feel free to make improvements. Again, thank you for playing (time is precious). Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6325 |
Hi Vegipete, Please find attached the same game (no changes to bombs yet) but with the correct artwork. stoned_hq.zip From re-reading your text (about the fingers not leaving the keys) I understand you played the game using keyboard. You did not try the mouse ? From earlier games you published I understood you had a mouse connected to the CMM2. Anyway.. left-clicking you can do everything in STONED-HQ. Too bad, the right mouse button is never used. Volhout PicomiteVGA PETSCII ROBOTS |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |