Okay, so I've been futtering around with Batari BASIC after, what, a six year absence? (Man, hard to believe it's been around that long.) I wanted to take advantage of the new support for background color, but things aren't panning out. The colors don't look anything like ones shown in the TIA Color Chart. Could you tell me what I'm doing wrong? Here's the code...
rem Setting Kernal options. We're trying to draw a colorful background, which Solar Plexus didn't have
set kernel_options pfcolors pfheights background
rem Some interesting things are happening here. One is that ugly and annoying "stair stepping."
rem Second is that the playfield can be up to 118 pixels in height, max. However, 88 pixels is recommended for optimal performance.
rem Third is that a small portion of the screen is gobbled up by a black bar. Nothing life-ending, but still slightly odd.
pfheights:
8
8
8
8
8
8
8
8
8
8
8
end
rem We're experimenting with colors here, but what I'd like to do ultimately is create a sunrise or sunset with layers.
rem You know those sand sculptures that used to be big in the 1970s? I think they work on the same principle.
rem (P.S. Shake them up and watch the guy who created them flip his wig!)
pfcolors:
$00
$0C
$1C
$2C
$3C
$4C
$5C
$6C
$7C
$8C
$9C
$AC
end
rem Just some screwy business with character blocks. I'm hoping to use these to shape the playfield.
for i = 1 to 10
j = i + 10
pfpixel j i on
next
drawscreen
Lupe
goto Lupe