Jump to content

Photo

Baby WIP weird bug

help

8 replies to this topic

#1 Robsome OFFLINE  

Robsome

    Space Invader

  • 15 posts

Posted Sat Oct 14, 2017 8:24 PM

For some Reason, when you die on the first screen, you go back to the main menu. I have no idea why. Te only reason the player should go back to the main menu is if the player runs out of lives. Yet is goes to the main menu even if the player has 3 lives. I can't see my logical error. I really appreciate everyone who's helped me out. Thank you all!

Attached Files

  • Attached File  v2.bas   8.92KB   13 downloads

Edited by Robsome, Wed Oct 18, 2017 4:01 PM.


#2 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 28,338 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Oct 15, 2017 3:14 AM

You didn't post the .bas file.



#3 Robsome OFFLINE  

Robsome

    Space Invader

  • Topic Starter
  • 15 posts

Posted Sun Oct 15, 2017 12:12 PM

woopse

Attached Files

  • Attached File  v2.bas   5.4KB   14 downloads


#4 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 28,338 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Oct 15, 2017 1:10 PM

Put this at the beginning of your program and it will compile:

 

   include div_mul.asm

 

More information:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#division



#5 bogax OFFLINE  

bogax

    Dragonstomper

  • 724 posts

Posted Sun Oct 15, 2017 1:18 PM

if you include div_mul.asm is compiles (and runs)



#6 Robsome OFFLINE  

Robsome

    Space Invader

  • Topic Starter
  • 15 posts

Posted Mon Oct 16, 2017 8:44 PM

I tried to make a pause menu but now I'm getting a syntax error and it's not being very specific.

Attached Files

  • Attached File  v2.bas   7.88KB   12 downloads


#7 KaeruYojimbo OFFLINE  

KaeruYojimbo

    Stargunner

  • 1,417 posts
  • Location:Portland, OR

Posted Mon Oct 16, 2017 9:03 PM

You need then before all the gotos.



#8 Robsome OFFLINE  

Robsome

    Space Invader

  • Topic Starter
  • 15 posts

Posted Mon Oct 16, 2017 11:32 PM

Thank you.



#9 Robsome OFFLINE  

Robsome

    Space Invader

  • Topic Starter
  • 15 posts

Posted Wed Oct 18, 2017 12:14 PM

I've almost completed the game (I mostly just need to add sound) but, when you die on the first screen, the game acts like you got a game over. 

Attached Files

  • Attached File  v2.bas   8.92KB   16 downloads






Also tagged with one or more of these keywords: help

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users