TheCoffeeFox #1 Posted November 8, 2014 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 Quote Share this post Link to post Share on other sites
Cybearg #2 Posted November 9, 2014 (edited) 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 November 9, 2014 by Cybearg Quote Share this post Link to post Share on other sites
TheCoffeeFox #3 Posted November 9, 2014 im sorry to say that didn't work I even tried your .bas file I think my compiler Is broken... any more help? Quote Share this post Link to post Share on other sites
Cybearg #4 Posted November 9, 2014 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. Quote Share this post Link to post Share on other sites
+Random Terrain #5 Posted November 9, 2014 Once you are sure that you have the latest, if you get some weird unexplainable error, restarting your computer usually fixes the problem. Quote Share this post Link to post Share on other sites
+atari2600land #6 Posted November 9, 2014 Did you try putting spaces between colons? Quote Share this post Link to post Share on other sites
TheCoffeeFox #7 Posted November 13, 2014 I Am Good I Got This Working Thanks For the Help Quote Share this post Link to post Share on other sites
Cybearg #8 Posted November 13, 2014 I Am Good I Got This Working Thanks For the Help What did you do to get it working? Quote Share this post Link to post Share on other sites
TheCoffeeFox #9 Posted November 14, 2014 I Found Out I Wasn't Using BB Quote Share this post Link to post Share on other sites