Jump to content




How do you use different colors in CC?

media help

5 replies to this topic

#1 Ducklet

  • New Members
  • 10 posts

Posted 21 January 2013 - 07:12 AM

I've seen various colors used in screensavers and such and I was wondering how to do that myself.. any links or help is appreciated. thanks

#2 ikke009

  • Members
  • 224 posts
  • LocationSliding between sunbeams

Posted 21 January 2013 - 07:44 AM

Clicklinkthingy
term.setBackgroundcolour() works the same

#3 Ducklet

  • New Members
  • 10 posts

Posted 21 January 2013 - 07:54 AM

View Postikke009, on 21 January 2013 - 07:44 AM, said:

Clicklinkthingy
term.setBackgroundcolour() works the same

doesn't work in tekkit does it? lol

#4 Willibilly19

  • Members
  • 48 posts
  • LocationColorado, USA

Posted 21 January 2013 - 08:10 AM

No, it requires advanced monitors and from what I've seen, Tekkit isn't updated that much.

#5 Zambonie

  • Members
  • 477 posts
  • LocationSpring Hill, Fl

Posted 21 January 2013 - 12:53 PM

Example:
[CODE]term.setBackroundColor(colors.blue) --this makes the background of the computer blue.you could also use other colors[\CODE]
You could also be sent it with the Text.just change backroung to TeXt.
Excuse my righting I'm on a tablet .... :P



#6 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

Posted 21 January 2013 - 01:04 PM

You can use advanced computers and advanced monitors in ComputerCraft 1.45 and above. This means that you can use colour in Tekkit Lite, but not Tekkit Classic. But you require a golden (advanced) computer to do so. Then use:
term.setTextColour(colours.red)
OR
term.setTextColor(colors.red)
But you can replace red with any colour. Then print/write something and it will be in that colour. Also,
term.setBackgroundColour(colours.red)
OR
term.setBackgroundColor(colors.red)
sets the background, but you have to clear the screen with term.clear() or write/print something in order for it to activate.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users