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

Computer Screen Dimesions?

Started by Noodle, 10 April 2012 - 08:02 PM
Noodle #1
Posted 10 April 2012 - 10:02 PM
Whats the total x and y of the computer's screens?

term.setCursorPos(y, x)

What are y and x?
MysticT #2
Posted 10 April 2012 - 10:09 PM
term.getSize() maybe?
It returns the width and the height of the screen. Normally it's 50 x 18, but you can change that in the config, so it's better to use that function.
Noodle #3
Posted 10 April 2012 - 10:15 PM
thx

It is 50x18
Thanks again!
EmTeaKay #4
Posted 11 April 2012 - 04:45 AM
Also, the way for the cordinate plan is >,^. It may seem like a bad emoticon, but that is the way to do it, across then up/down.
Noodle #5
Posted 25 May 2012 - 06:39 AM
Yea, I know..
It's like math (I'm 2 years above (special class)).