Jump to content

mehguy

Members
  • Posts

    279
  • Joined

  • Last visited

Posts posted by mehguy

  1.  

    Do you even enjoy classic early '80s games? If not, maybe you have your answer right there. I say this because the Flashback 2 has a pretty strong 2600 lineup, and if you aren't really enjoying it, there's little reason you are going to enjoy an actual 2600 in its place.

    I do enjoy these games, but call me crazy, i dont really like the selection of the FB2. Although I enjoy river run alot. It's probably my favourite game on the FB2.
  2.  set smartbranching on
     set romsize 4k
    
     rem /** Use the first variable as a counter **/
     dim counter = a
    
    init
    
     rem /** Draw a sprite with slight differences **/
     rem /** between sides that will look animated **/
     rem /** when sprite is reflected **/
     player0:
     %00100100
     %00011000
     %00111100
     %01011010
     %01111110
     %00111100
     %10111100
     %01011011
     %00111100
     %11111110
     %00011001
     %00111100
     %01111111
     %10111100
     %00011000
    end
    
     rem /** Center the player0 sprite **/
     player0x = 77 : player0y = 77
     rem /** Make the background white **/
     rem /** Since we never change the foreground **/
     rem /** color everything else is black **/
     COLUBK = $0E
    
    main
     rem /** Increment the counter variable by one **/
     counter = counter + 1
     rem /** if the fourth bit in counter is 1 then **/
     rem /** reflect the player0 sprite **/
     if counter{4} then REFP0 = 8
     rem /** Draw the screen and loop around to the **/
     rem /** beginning of main **/
     drawscreen
     goto main

    So I would replace the sprite with this or add this to the existing sprite i have?

  3. I tried writing the sprite x and y coordination, it wouldn't let me run it.

     

    playfield:
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    ................................
    ................................
    ................................
    ................................
    ................................
    ................................
    ................................
    ................................
    ................................
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    end
    COLUBK = $9C
    COLUPF = $58
    player0x=50:player0y=50
    NUSIZ0 = 16
    sprites
    player0:
    %00101000
    %00101000
    %01111100
    %01111100
    %01111100
    %00111000
    %00101000
    %00010000
    end
    loop
    drawscreen
    goto loop

     

     

     

  4. Drawscreen is a command. That goto is trying to use it like a label.

     

    This general area is more for assembly programmers. Try the batari basic section to get more people to view yer questions :)

     

    Ok thank you. Could one of the mods move this over to the basic section?

     

    EDIT: I almost forgot, I use the "goto drawscreen" because the...

     

    loop

    drawscreen

    goto loop

     

    doesn't work.

  5. Ok, so I tried making an play field and I tried setting the colors. When I tried running it, it says "Syntax error" and the error seems to the be the colors.

     

    This is what I have so far.

     

     

    playfield:
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    ................................
    ................................
    ................................
    ................................
    ................................
    ................................
    ................................
    ................................
    ................................
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    end
    COLUBK = $20
    COLUPF = 212
    drawscreen

    goto drawscreen

×
×
  • Create New...