I'm trying to take advantage of the different options with backgrounds and playfields. The example below shows how to: create a multi-colored background, a multi-colored sprite, and stretch the playfield to the edges of the screen (That's the PF0=255 command. It must be placed within your loop, as do your color instructions). Hopefully this helps other beginners with those hurdles. Now for my current problem: I don't want to stretch the playfield to the edges of the screen, I want to limit the background colors to the edge of the playfield. Has anyone else had this issue? Thanks!
set kernel_options player1colors pfcolors no_blank_lines background
player0x=40
player0y=84
player1x=30
player1y=63
playfield:
..............XXXX..............
.............X....X.............
XXXXXXXXXXXXX......XXXXXXXXXXXXX
X..............................X
X..............................X
XX....XXXXXXXXXXXXXXXXXXXXXXXXXX
X..............................X
X..............................X
XXXXXXXXXXXXXXXXXXXXXXXXXX....XX
X..............................X
X..............................X
end
player0:
%00000010
%00000100
%00001000
%00010000
%00111000
%01111100
%11111110
%01101100
end
player1:
%01001000
%00110000
%00111000
%00111000
%00110101
%00110010
%00111000
%00110000
end
main
player1color:
$40
$D0
$D0
$D0
$0A
$2E
$2E
$2E
end
COLUP0=$42
pfcolors:
$00
$00
$00
$20
$22
$22
$24
$24
$28
$28
$28
$2A
$00
end
PF0=255
COLUPF=$08
drawscreen
goto main













