Jump to content




[lua] term.setBackgroundColor(color)


  • You cannot reply to this topic
3 replies to this topic

#1 FUCKCOMPUTERCRAFT!"£

  • Validating
  • 87 posts
  • LocationBasement

Posted 06 January 2013 - 02:49 PM

So i was making a new program i tried term.setBackgroundColor(colors.blue) and it doesn't seem to work, am i doing something wrong?

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 06 January 2013 - 04:43 PM

We'd have to see the code. The function works fine.

#3 ChaddJackson12

  • Members
  • 264 posts

Posted 06 January 2013 - 05:17 PM

I think that you may have to write text to the screen to change the background color. I don't think it changes without that :P

#4 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 06 January 2013 - 11:21 PM

View PostChaddJackson12, on 06 January 2013 - 05:17 PM, said:

I think that you may have to write text to the screen to change the background color. I don't think it changes without that :P

Yeah changing it does nothing until you write something.

Or if you want to change the whole scroll to a colour do this:

term.setBackgroundColour(colours.blue)
term.clear()






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users