Jump to content
IGNORED

Syntax error on "pfcolors:"


DarkMage231

Recommended Posts

I'm quite new to bB and Atari 2600 programming in general, so forgive me if this is a vapid inquiry, but I created a playfield in the playfield editor as a .pla file and subsequently dragged the file into the editor, which inserted the "pfcolors:" and "playfield:" commands automatically; however, bB refuses to compile it, stating there is a syntax error on the line that contains "pfcolors:" no matter where I put the command. Below is my script in its entirety. Thanks in advance!

 playfield:
 ................................
 .....XX........XX........XX.....
 ....XXXX......XXXX......XXXX....
 ...XXXXXX....XXXXXX....XXXXXX...
 ..XXXXXXXX..XXXXXXXX..XXXXXXXX..
 ...XXXXXX....XXXXXX....XXXXXX...
 ...XXXXXX....XXXXXX....XXXXXX...
 ......X.........X.........X.....
 ......X.........X.........X.....
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
end
 pfcolors:
 $00
 $02
 $02
 $02
 $02
 $40
 $40
 $04
 $04
 $06
 $06
end

main
 drawscreen
 goto main

game.bas

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