Jump to content



0

Problems when running the game on the emulator! Help!


4 replies to this topic

#1 JorgeLiborinho OFFLINE  

JorgeLiborinho

    Space Invader

  • 17 posts
  • Location:Americana SP, Brazil

Posted Thu Feb 10, 2011 4:07 PM

Look here game codes!
Attached File  Jogo.bas   1.92K   29 downloads
The Batari Basic compile it normally, but when I run it on the emulator the screen goes black and nothing appears!
I wrote some code wrong?
If I wrote something wrong correct me!

#2 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,918 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Thu Feb 10, 2011 4:15 PM

It's probably this:

   if !collision(player1,player2) then 400

You don't have a label called 400 to jump to.

#3 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • 6,494 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Thu Feb 10, 2011 4:47 PM

There is no player2 (unless you're using the multisprite kernel, which you aren't.). It's player1 and player0. So change everything that says player2 to player0.
Also, there isn't a space when using the ! for not. It should be "if !collision"

#4 JorgeLiborinho OFFLINE  

JorgeLiborinho

    Space Invader

  • 17 posts
  • Location:Americana SP, Brazil

Posted Thu Feb 10, 2011 6:18 PM

I did that you sent, but ainad not work.
Why is it that is giving problems?

#5 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,918 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Thu Feb 10, 2011 6:30 PM

View PostJorgeLiborinho, on Thu Feb 10, 2011 6:18 PM, said:

I did that you sent, but ainad not work.
Why is it that is giving problems?
It might be because it seems like you haven't spent more than 5 minutes looking at the bB page:

http://www.randomter...c-commands.html




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users