Posted 06 April 2015 - 12:00 PM
EDIT: Sorry, wrong subforum/topic. Please delete it. I've posted it in ComputerCraft Beta Versions - Bug Reports.
VERSION:
ComputerCraft 1.74pr18
DESCRIPTION:
It seems very strange, but term.blit("test", "0000", "eeee") draws test with black text and an orange background.
The colors API tells that 0 is white, and e is red.
This means that the colors are inverted. (0 -> f - 0 = f, e -> f - e = 1)
This seems to happen on all computers (command computer and advanced computer/turtle/pocket computer and normal computer/turtle/pocket computer)
and all monitors (advanced and normal).
On the black/white displays I tested it with term.blit("test", "0000", "7777") and that draws test with black text and a light gray background. (which again is inverted)
EXPECTED RESULT:
It should draw test with white text and a red background.
REPRODUCTION STEPS:
Go to the lua prompt and simply type:
VERSION:
ComputerCraft 1.74pr18
DESCRIPTION:
It seems very strange, but term.blit("test", "0000", "eeee") draws test with black text and an orange background.
The colors API tells that 0 is white, and e is red.
This means that the colors are inverted. (0 -> f - 0 = f, e -> f - e = 1)
This seems to happen on all computers (command computer and advanced computer/turtle/pocket computer and normal computer/turtle/pocket computer)
and all monitors (advanced and normal).
On the black/white displays I tested it with term.blit("test", "0000", "7777") and that draws test with black text and a light gray background. (which again is inverted)
EXPECTED RESULT:
It should draw test with white text and a red background.
REPRODUCTION STEPS:
Go to the lua prompt and simply type:
term.blit("test", "0000", "eeee")
SCREENSHOT/VIDEO:Edited on 06 April 2015 - 10:16 AM