This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ExDomino's profile picture

Computers tier 1 able to use the whole colors API (transformed in gray)

Started by ExDomino, 03 August 2015 - 03:59 AM
ExDomino #1
Posted 03 August 2015 - 05:59 AM
Hello, my idea is simple: allowing tier 1 computers to use all colors of the colors api, but for colors that is cannot handle, use one of these it can handle. For example, magenta would be lightgray and purple would be gray. It would allows a program that colors the screen to run on a tier 1 computer without a lot of term.isColor() call to prevent it crashs.
Lyqyd #2
Posted 03 August 2015 - 06:06 AM
You could probably throw together an updated version of this script to accomplish what you're looking for.

Personally, I think programs failing to test which features are available and trying to use features that don't exist should throw error messages.
MKlegoman357 #3
Posted 03 August 2015 - 08:51 AM
I'd have to agree with Lyqyd. Also, most programs which rely on color support also rely on mouse clicks.