2 posts
Posted 12 November 2012 - 06:34 AM
I've been looking around the entire wiki, and asked a few others who have worked with CC how to do this, but no-one knew how to. I really would like to use colors in this game to show what's good and what's bad. Thanks in advance!
8543 posts
Posted 12 November 2012 - 06:44 AM
If you're in ComputerCraft 1.45 or 1.46, you can use the term.setTextColor and term.setBackgroundColor methods. You can find documentation on them in the wiki.
715 posts
Posted 12 November 2012 - 06:46 AM
You can only use colors on advanced computers (the golden ones).
There, you can use term.setTextColor() and term.setBackgroundColor() to set colors.
To make your program find out if it is being run on a computer that supports colors, use term.isColor()
Edit: Ninja'd by Lyqyd, again.^^
Edited on 12 November 2012 - 05:47 AM
2 posts
Posted 12 November 2012 - 06:46 AM
If you're in ComputerCraft 1.45 or 1.46, you can use the term.setTextColor and term.setBackgroundColor methods. You can find documentation on them in the wiki.
Ah, thanks!