Jump to content




Computer Screen Dimesions?


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

#1 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 10 April 2012 - 09:02 PM

Whats the total x and y of the computer's screens?

term.setCursorPos(y, x)

What are y and x?

#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 10 April 2012 - 09: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.

#3 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 10 April 2012 - 09:15 PM

thx

It is 50x18
Thanks again!

#4 EmTeaKay

  • Members
  • 115 posts

Posted 11 April 2012 - 03: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.

#5 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 25 May 2012 - 05:39 AM

Yea, I know..
It's like math (I'm 2 years above (special class)).





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users