Jump to content




how do you make color blocks


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

#1 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

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

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

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 ' '


#3 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 11 November 2012 - 04:31 PM

thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users