Author Topic: AstroSmash Clone  (Read 4449 times)

0 Members and 1 Guest are viewing this topic.

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
AstroSmash Clone
« on: December 16, 2020, 01:50:30 pm »
Thought I would see if any of you would like to test this out, Clone of the old Intellivision game AstroSmash.

Left\Right arrow keys move your defender.
Down Arrow key to activate random jump.
Space bar to fire energy bolts to protect the planet.
1 turns ON auto fire
2 turns OFF auto fire

at the title screen:
press any key for full speed,
press 1 for 3\4 speed
press 2 for 5\8 speed
press 3 for 1\2 speed 'this is actually really slow.

do not usually use compressed files but did this time, put it in its own directory and 'output exe to source' and see what you think.
* AstroSmash.rar (Filesize: 67.81 KB, Downloads: 215)
Granted after becoming radioactive I only have a half-life!

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Re: AstroSmash Clone
« Reply #1 on: December 16, 2020, 02:28:53 pm »
Awesome game Cobalt! I think my friend had this game back in the day, I have some flashbacks of playing it. :) I did run into an error though that I know you can fix, I got to 3 guys left and my score was 16315 and I got this error: Line 430 (In main module) Subscript out of range Continue? I said No but I hope you fix it. I LOVE this game!! Awesome job.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: AstroSmash Clone
« Reply #2 on: December 16, 2020, 06:10:22 pm »
Wow! That is one cool conversion! I had only two problems... Well, not problems, really... 1. Running under Linux, the filenames, are case sensitive. Couple of minutes of editing fixed that and 2. I still get killed off too quickly.... It's not you... It's me... *sight*  The one thing I 'liked very much... Number of lives greatly improve after running out of lives... Please tell me you are keeping 'that' function in the game? Don't ya just love 8 bit...
Logic is the beginning of wisdom.

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: AstroSmash Clone
« Reply #3 on: December 16, 2020, 06:48:02 pm »
What a great rendition!  Amazing how entertaining these little shooters can be.  I'll be playing this a while.  Great coding.  I'll be studying it. 

Thanks for sharing.

- Dav 

FellippeHeitor

  • Guest
Re: AstroSmash Clone
« Reply #4 on: December 16, 2020, 07:54:47 pm »
Sounds, feels and plays great, @Cobalt! Great job recreating this one too!

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: AstroSmash Clone
« Reply #5 on: December 16, 2020, 08:30:23 pm »
Awesome game Cobalt! I think my friend had this game back in the day, I have some flashbacks of playing it. :) I did run into an error though that I know you can fix, I got to 3 guys left and my score was 16315 and I got this error: Line 430 (In main module) Subscript out of range Continue? I said No but I hope you fix it. I LOVE this game!! Awesome job.

Thank you for playing it, yeah it has a few blurps yet. Not too shabby of a score there! That line suggest there were too many objects or explosions on the screen, so Not sure on that one. I will try to repeat it, maybe for some reason thing were not getting erased properly. Lots of debugging to go.
Granted after becoming radioactive I only have a half-life!

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: AstroSmash Clone
« Reply #6 on: December 16, 2020, 08:34:49 pm »
Wow! That is one cool conversion! I had only two problems... Well, not problems, really... 1. Running under Linux, the filenames, are case sensitive. Couple of minutes of editing fixed that and 2. I still get killed off too quickly.... It's not you... It's me... *sight*  The one thing I 'liked very much... Number of lives greatly improve after running out of lives... Please tell me you are keeping 'that' function in the game? Don't ya just love 8 bit...

Thank you for giving it a play!
Yeah I thought about the case thing with Linux after I uploaded it, will be fixed when I make the MFI file when some more of the bugs are squashed. There are the different speed settings you could try. You know thats one thing I haven't tried yet, Running out of lives! Maybe I will make a secret code to allow that in the end!

I've mixed up signed and unsigned all over the code, not sure what I was thinking?! that will probably be fixed here soon, cause there is no need for 255 of anything.(except lives! :D)
Granted after becoming radioactive I only have a half-life!

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: AstroSmash Clone
« Reply #7 on: December 16, 2020, 08:38:56 pm »
What a great rendition!  Amazing how entertaining these little shooters can be.  I'll be playing this a while.  Great coding.  I'll be studying it. 

Thanks for sharing.

- Dav

Thank you for giving it a play!
I'm not sure I would try to study the code thats in there at the moment! I have a good deal of clean up to do all over it. The tracker bomb(flashy star thingy) tends to shoot off to the right all the time, and I haven't quite fixed the alien ship the travels the screen after the 4th level.
However, if you want to see what rather messy code looks like, this is a good example right now! :D
Granted after becoming radioactive I only have a half-life!

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: AstroSmash Clone
« Reply #8 on: December 16, 2020, 08:44:02 pm »
Sounds, feels and plays great, @Cobalt! Great job recreating this one too!

Thanks Fellippe! I'm just glad people are giving it a go and enjoying it so far.
Once its a little more refined and functional I would like to try and have an online score thingy for it.
Granted after becoming radioactive I only have a half-life!