Jump to content
IGNORED

Atari Trouble Need Help!


TheCoffeeFox

Recommended Posts

So I'm making a game for a friends birthday! and I need help it was going great I got a error for the second time! I was coming back to code and when I compiled it made no errors it said Compile Complete! so I ran and I got NO default.bas.bin but no compile error I redid the settings and still nothing I get a output file with nothing in it its a text? ill link me unfinished code for you but please help anyone!?!?

 

Code:

 

rem Generated 11/8/2014 1:13:12 AM by Visual bB Version 1.0.0.554

rem **********************************

rem *<filename> *

rem *<description> *

rem *<author> *

rem *<contact info> *

rem *<license> *

rem **********************************

playfield:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

............X.......X...........

............X.......X...........

............XXX...XXX...........

................................

................................

................................

................................

................................

................................

................................

end

 

COLUPF = $22

COLUBK = $32

player0x = 75

player0y = 75

player1x = 20

player1y = 20

missile1height=4:missile1y=255

NUSIZ0 = 16

sprites

player1:

%00100100

%00100100

%10100101

%11111111

%00111100

%01111110

%01100110

%01011010

end

player0:

%01100110

%00100100

%10111101

%11111111

%00111100

%01111110

%01111110

%01111110

end

if missile0y>240then goto skip

missile0y = missile0y-2:goto draw_loop

skip

if joy0fire then missile0y = player0y-2:missile0x=player0x+4

 

draw_loop

drawscreen

goto sprites

Link to comment
Share on other sites

Well, a possible problem is that you have:

if missile0y>240then goto skip

You probably need a space between 240 and then, or you'll confuse the compiler.

 

Beyond that, I don't see any issues, aside from your lack of spacing. This works for me:

birthday.bas

 

Also, you should wrap your code in code tags, like this:

   rem Generated 11/8/2014 1:13:12 AM by Visual bB Version 1.0.0.554
   rem **********************************
   rem *<filename> *
   rem *<description> *
   rem *<author> *
   rem *<contact info> *
   rem *<license> *
   rem **********************************
   playfield:
   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   ............X.......X...........
   ............X.......X...........
   ............XXX...XXX...........
   ................................
   ................................
   ................................
   ................................
   ................................
   ................................
   ................................
end
 
   COLUPF = $22
   COLUBK = $32
   player0x = 75
   player0y = 75
   player1x = 20
   player1y = 20
   missile1height=4:missile1y=255
   NUSIZ0 = 16
sprites
   player1:
   %00100100
   %00100100
   %10100101
   %11111111
   %00111100
   %01111110
   %01100110
   %01011010
end
   player0:
   %01100110
   %00100100
   %10111101
   %11111111
   %00111100
   %01111110
   %01111110
   %01111110
end
   if missile0y>240 then goto skip
   missile0y = missile0y-2:goto draw_loop
skip
   if joy0fire then missile0y = player0y-2:missile0x=player0x+4
 
draw_loop
   drawscreen
   goto sprites
Edited by Cybearg
Link to comment
Share on other sites

Can you post what the errors you're getting are?

 

If your compiler's broken, I'd recommend re-downloading the latest version and setting everything up from scratch. Probably best to re-download vbB as well.

 

Do you know what versions you're using? Everything's so scattered, it can be hard to know where the latest versions of things are, but I think that this should have the latest version of everything.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...