Jump to content

TheCoffeeFox

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by TheCoffeeFox

  1. Hi Again! I'm still in the makes for a little game but i need help i had a idea of after getting like 20 points from shooting monsters it could goto a other level and if so could i make it have more monsters spawn

     

    I was wondering if this line of code would work

     

    if score = score+20 then goto level2

     

    and then a Playfield called level2 i created would load please tell me if that would work and if it would how can i make 1 more monster load?

     

    Thanks!

  2. 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

×
×
  • Create New...