|
Forum Index : Microcontroller and PC projects : Colour Invaders killed my CMM
| Author | Message | ||||
| Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1646 |
I have just discovered the Colour Invaders game by Darthmite. The first time I ran it it crashed because the MOD files were not on drive a:. It seems they are meant to be manually copied. I modified the program to copy the MOD files to drive a: (I copied the way Nick did it in "Donut Dilemma". Because I don't have a paddle connected yet the game began and I could do nothing but watch. As soon as one of the invaders shells hit a bunker the screen went blank the green LED went out and switching the CMM off and on has no effect. I am running the latest version of MMBASIC. I'll try re-flashing it tomorrow hoping that will fix it. While I'm OK BASIC programming, games programming is a bit beyond me. Does anyone have any idea what may have happened? Keep safe. Live long and prosper. |
||||
| Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1646 |
Well, I was able to re-load MMBASIC with no dramas. I ran the modified Colour Invaders again with no paddle as before. This time there was no problem at all, the bunkers get hit and damaged, the canon is destroyed as expected. I've run the game several times with no problems. The canon moves a bit at random but I expect that is due to the unterminated analogue input pin picking up noise. I still don't know what caused the initial crash and trashing of MMBASIC Maybe a power surge? Bill Keep safe. Live long and prosper. |
||||
darthmite![]() Senior Member Joined: 20/11/2011 Location: FrancePosts: 240 |
Hi Dont forget that this game was done in .... 2012 .... MMBasic has evolve allot in 6 years and for sure they are some functions that have change But good to know that the game still work today. Cheers. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
| WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2959 |
Please can someone possibly provide a link to the code (or post it)! This would be an excellent example of a Game to bring 'up-to-date' and make fully compatible with Geoff's latest firmware (and Peter's excellent graphical features)- I am happy to do this 'update' if Darthmite is ok with me doing so . . . |
||||
| CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 2171 |
maybe this? http://www.fruitoftheshed.com/MMBasic.Invaders-part-of-the-original-MMBasic-library.ashx?HL=invaders |
||||
| WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2959 |
Thanks CaptainBoing Oh - wonder if those features are still there |
||||
| Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1646 |
Hi WhiteWizard, I think the above link is to the original mono version. Here is the thread where the link to the latest version of the game is: http://www.thebackshed.com/forum/forum_posts.asp?TID=5071&PN=887&TPN=7 look for the link: 2012-08-14_200235_Space_Invaders This is what I added to copy the MOD files to drive a: rather than do it manually... just after: "Option base 1" ' ******* '--- COPY MOD FILES TO A: ___ ' Option error continue Open "A:Laser1.MOD" For input As #1 ERROR=MM.Errno:Close #1 If ERROR=0 Then GoTo LOADED ' Copy "Laser1.MOD" To "A:Laser1.MOD" Copy "Inv_Exp.MOD" To "A:Inv_Exp.MOD" ' LOADED: ' ' ******* The game works well as is. This one needs MMBASIC V4.0. I finally built a paddle as per the instructions in the beginning of the code. The difficulty doesn't seem to increase with the higher levels. There are suggestions to increase difficulty in that link. Bill PS Darthmite may have more information Keep safe. Live long and prosper. |
||||
| WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2959 |
Thanks Bill - will look into all this later and try it on an MMX144 |
||||
darthmite![]() Senior Member Joined: 20/11/2011 Location: FrancePosts: 240 |
I first made this game for the B/W version of MM to made Geoff HaPpY The colour version was a test to show colored sprites only :) ... just made the sprites faster every time you shoot them all for the difficulty Cheers. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |