Selecting Colors
Kurt Finnie
Posts: 21
I'm using the TV and Graphics objects to display graphical objects (flags) on my Parallax monitor.
At any given moment, I need red, white, blue and black. At other moments, I need red, yellow, blue and black.
I've read the Ray's logic articles but just don't know where to make appropriate changes.
I tried substituting $F0FC0C00 and $F0F20C00 for $2B060C02 in the Init Colors loop within the Pub Start
but this results in diagonal moving lines on-screen.
Can someone get me headed in the right direction?
<colors index inserted by moderator>
Post Edited By Moderator (Paul Baker (Parallax)) : 6/20/2008 8:05:34 PM GMT
At any given moment, I need red, white, blue and black. At other moments, I need red, yellow, blue and black.
I've read the Ray's logic articles but just don't know where to make appropriate changes.
I tried substituting $F0FC0C00 and $F0F20C00 for $2B060C02 in the Init Colors loop within the Pub Start
repeat i from 0 to 63 colors[noparse][[/noparse] i ][i] [/i]:= $00001010 * (i+4) & $F + $2B060C02
but this results in diagonal moving lines on-screen.
Can someone get me headed in the right direction?
<colors index inserted by moderator>
Post Edited By Moderator (Paul Baker (Parallax)) : 6/20/2008 8:05:34 PM GMT
Comments
You might start by just giving the whole screen the same 4 colors:
There are 4 colors in $2B, $06, $0C, and $02.
You can pick different colors from·the chart·here:
http://www.rayslogic.com/propeller/Programming/TV_Colors.htm
·