sshika 3 Posted June 29, 2014 Share Posted June 29, 2014 hello i've a new problem with OC i want to use gpu.setColor, but there is a problem : i use this program in lua local term = require("term") local computer = require("computer") local component = require("component") local gpu = component.gpu term.clear() local function setColor(bg,fg) gpu.setBackground(bg) gpu.setForeground(fg) end setColor(0xFF00FF, 0x00FF00) gpu.set(6,7,"test1") setColor(0x00FF00, 0xFF00FF) gpu.set(6,8,"test2") setColor(0x000000, 0xFFFFFF) and the result "test2" is in the good color (backgournd and foreground, but the "test1" have a good background, but a bad foreground. can you help me to resolve it ? thanks Quote Link to post Share on other sites
0 Solution Sangar 92 Posted June 29, 2014 Solution Share Posted June 29, 2014 Fixed in the latest builds. Sorry about that! Quote Link to post Share on other sites
0 Moonye 0 Posted June 29, 2014 Share Posted June 29, 2014 I found the same problem here, not found a way to display corect colors in foreground with different background, Moonye Quote Link to post Share on other sites
0 Moonye 0 Posted June 30, 2014 Share Posted June 30, 2014 Fixed in the latest builds. Sorry about that! You don't have to feed sorry about that! What a great mod! it makes Mc completely different for me, I really love it!, I'm a programmer of industrials machinery, and this game, (MC + OC) give me a free ground to test a lot of industrials concepts, in an funny way. Thank you very much for all of this! Moonye Quote Link to post Share on other sites
hello
i've a new problem with OC
i want to use gpu.setColor, but there is a problem :
i use this program in lua
"test2" is in the good color (backgournd and foreground, but the "test1" have a good background, but a bad foreground.
can you help me to resolve it ?
thanks
Link to post
Share on other sites