Jump to content
DarkMage231

Syntax error on "pfcolors:"

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

Share this post


Link to post
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.

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