Posted 20 December 2017 - 05:11 PM
Hi, long time ago I didn't post something. With the first pre-release of ComputerCraft 1.80, I decided to show how term.setPaletteColor(…) was useful in many cases. Here is an example of what you can do with this precious function:
Pretty cool isn't it ?
And here is the program to reproduce the following:
It's such a great improvement for ComputerCraft. By the way, this function is available only in ComputerCraft 1.80pr0.
Anyways, this was a very simple demonstration of what you can do with this; have a nice day,
Alex.
Pretty cool isn't it ?
And here is the program to reproduce the following:
for i = 1, 14 do
term.setBackgroundColor(colors.black);
write(" ");
term.setPaletteColor(2 ^ i, colors.rgb8(i * 6 / 100, i * 6 / 100, i * 6 / 100));
term.setBackgroundColor(2 ^ i);
for i = 1, 14 do
term.setTextColor(2 ^ i);
write(string.char(127));
end
print();
end
It's such a great improvement for ComputerCraft. By the way, this function is available only in ComputerCraft 1.80pr0.
Anyways, this was a very simple demonstration of what you can do with this; have a nice day,
Alex.
Edited on 20 December 2017 - 04:11 PM