Author Topic: StarBlast (Space Game like Asteroids)  (Read 179 times)

StarBlast (Space Game like Asteroids)
« on: July 01, 2018, 02:45:15 AM »
Here's my improved version of the game.  It seems to work well, but one thing has me frustrated:

When you run it, you get a simple intro screen where you can choose Asteroids or Orbs, as well as skill level.
Start the game, play it, everything may be fine, but then exit and....NO INTRO SCREEN.  Oh, it's there and it's functional, you just CAN'T SEE IT.
I know the answer is something very simple that's eluding me.  I've tried _NEWIMAGE for the intro screen, but still nothing.  Please help me fix it so I can go on to adding lots more fun features to my game.  Thanks!
« Last Edit: July 01, 2018, 02:48:08 AM by SirCrow »
I may not always finish what I've started....

Re: StarBlast (Space Game like Asteroids)
« Reply #1 on: July 01, 2018, 06:30:03 AM »
Hi SirCrow. Nice one! Add _AUTODISPLAY to line 1510. _AUTODISPLAY is default setting for SCREENs, but your game loop use _DISPLAY, that disable default settings.
Coding is relax (At least sometimes)

Offline johnno56

  • Live long and prosper.
Re: StarBlast (Space Game like Asteroids)
« Reply #2 on: July 01, 2018, 07:05:48 AM »
I have no idea as to how to fix your 'glitch' but the game is still great. Nice rocks! Have you coded a God mode or 'debug' option yet? My gaming skills are not what they used to be... lol

Looking forward to the next upgrade. Code on.

J
Logic is the beginning of wisdom.

Offline bplus

  • B = B + geberation
Re: StarBlast (Space Game like Asteroids)
« Reply #3 on: July 01, 2018, 10:30:14 AM »
Wow, the rocks rock!
B = B + ...

Offline Ashish

  • The joy of coding is endless.
Re: StarBlast (Space Game like Asteroids)
« Reply #4 on: July 01, 2018, 12:05:20 PM »
Nice works SirCrow!
if (Me.success) {Me.improve()} else {Me.tryAgain()}


aKFrameWork - http://bit.ly/aKFrameWork
Menu System - http://bit.ly/guiMenuBar
p5.js in QB64 - http://bit.ly/p5jsbas

@KingOfCoders

Re: StarBlast (Space Game like Asteroids)
« Reply #5 on: July 01, 2018, 02:29:52 PM »
Hi SirCrow. Nice one! Add _AUTODISPLAY to line 1510. _AUTODISPLAY is default setting for SCREENs, but your game loop use _DISPLAY, that disable default settings.

Will try it, thanks!
I may not always finish what I've started....

Re: StarBlast (Space Game like Asteroids)
« Reply #6 on: July 01, 2018, 02:35:25 PM »
I have no idea as to how to fix your 'glitch' but the game is still great. Nice rocks! Have you coded a God mode or 'debug' option yet? My gaming skills are not what they used to be... lol

Looking forward to the next upgrade. Code on.

Thanks!  If by God mode you mean invincibility, I may indeed do that.   First, I need to make it harder to keep your ships.  What is a debug option?  I'm not the greatest expert here, either!

Currently, you can jump to the Super Object stage w/ Ctrl-O, or to the next Round w/ Ctrl-R.
I may not always finish what I've started....

Re: StarBlast (Space Game like Asteroids)
« Reply #7 on: July 01, 2018, 02:36:46 PM »
Wow, the rocks rock!

Glad you like them.  They're actually from my own photos from years ago.  I plan to make them even better.
I may not always finish what I've started....

Re: StarBlast (Space Game like Asteroids)
« Reply #8 on: July 01, 2018, 02:38:24 PM »
Nice works SirCrow!

Thank you, Ashish! :o)
I may not always finish what I've started....

Re: StarBlast (Space Game like Asteroids)
« Reply #9 on: July 01, 2018, 02:46:58 PM »
Hi SirCrow. Nice one! Add _AUTODISPLAY to line 1510. _AUTODISPLAY is default setting for SCREENs, but your game loop use _DISPLAY, that disable default settings.

It worked, thanks!  It wasn't anywhere near line 1510, but it works nonetheless.  Much nicer now.  And I think you will like what else I've just added to the game as a greater challenge.  Still a bit sloppy in many places, but always getting better.
« Last Edit: July 01, 2018, 04:05:56 PM by odin »
I may not always finish what I've started....

Offline johnno56

  • Live long and prosper.
Re: StarBlast (Space Game like Asteroids)
« Reply #10 on: July 01, 2018, 06:38:04 PM »
Worked for me!  Thank you. :D

J
Logic is the beginning of wisdom.

StarBlast: Latest Version (2018.7.3)
« Reply #11 on: July 03, 2018, 03:03:14 PM »
Many more improvements have I made.  Enjoy the game, I hope you will.  (Yoda told me to say it that way.)

Anyway, I'll add a detailed description here in the future;  for now, just read the .doc help file.  Let me know what you think!
Meanwhile, I'll continue working on the game...
I may not always finish what I've started....

Online FellippeHeitor

  • QB64 Developer
  • LET IT = BE
    • QB64.org
Re: StarBlast (Space Game like Asteroids)
« Reply #12 on: July 03, 2018, 05:08:27 PM »
Killer visuals, SirCrow!

I only insist that you should be using _KEYDOWN for the controls. It's instinctive to hold space to keep shooting while moving around, but with your current input routine one can't, because one key pressed cancels the previously held key.

Keep up the awesome work.

Offline johnno56

  • Live long and prosper.
Re: StarBlast (Space Game like Asteroids)
« Reply #13 on: July 03, 2018, 10:21:18 PM »
SirCrow,

Knew you I did. Say that you would. Yes. :D
Logic is the beginning of wisdom.

Re: StarBlast (Space Game like Asteroids)
« Reply #14 on: July 04, 2018, 09:04:03 PM »
Killer visuals, SirCrow!

I only insist that you should be using _KEYDOWN for the controls. It's instinctive to hold space to keep shooting while moving around, but with your current input routine one can't, because one key pressed cancels the previously held key.

Keep up the awesome work.

I agree, and I will give it another try;  when I tried it, not only were things too fast, some controls had actually gone away.  Have you noticed that?  Also, I've been using the mouse for navigation, so the conflicting-keys issue hasn't bothered me much.
Anyway, thank you.  I'm very glad you like the game and I always appreciate the praise.
I may not always finish what I've started....