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

how do you make color blocks

Started by ETHANATOR360, 11 November 2012 - 03:18 PM
ETHANATOR360 #1
Posted 11 November 2012 - 04:18 PM
i want to make a game for advanced computers but i dont know how to make the little color blocks like in the worm game
Kingdaro #2
Posted 11 November 2012 - 04:26 PM
All you have to do is term.setBackgroundColor(colors.whatever) and then write ' '

So if I wanted a white box at position 2,2

term.setBackgroundColor(colors.white)
term.setCursorPos(2,2)
write ' '
ETHANATOR360 #3
Posted 11 November 2012 - 04:31 PM
thanks