Shop OBEX P1 Docs P2 Docs Learn Events
Newb Question (simple menu program) — Parallax Forums

Newb Question (simple menu program)

Cole LoganCole Logan Posts: 196
edited 2008-11-10 17:53 in Propeller 1
I got my spinstudio last week and have been playing with it and I was wondering How do you change the color that it dispays. I'm using the the tv.spin object and the graphics.spin object. I would like to change the 4 colors that it uses to draw the objects.

Heres the section of code that I think I need to change.

  'init colors
  repeat i from 0 to 63
    colors[noparse][[/noparse]i] := $00001010 * (i+4) & $F + $2B060C02 

I was also wondering if it would be able to change the color while the program is running. I don't care as much if I can have more then 4 colors. Just so a user could change the way the screen looks.

I attached the code that I have been using.




Post Edited (Cole Logan) : 11/10/2008 7:16:49 PM GMT

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-11-10 17:53
    Cole,

    The subject of your message does not indicate what help you need. Please use the pencil icon to the top right of the message to edit and add a descriptive subject.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.