Screen size

  • NF
    10th Apr 2014 Member 0 Permalink
  • Amy
    15th Apr 2014 Member 0 Permalink

    Isn't there a function in lua that can change the screen size? I swear I saw that somewhere...

  • CeeJayBee
    15th Apr 2014 Member 1 Permalink
    @Amy (View Post)
    tpt.setwindowsize
    "Changes a few special properties as to what size the game renders at.

    Scale is a multiplier by which every pixel shall get multiplied at, currently it can either be 1 (612x384) or 2 (1224x768).

    Full screen is a toggle (0 or 1) that enables "kiosk mode", which basically scales the game up to fill the screen and makes the rest of the screen around the game black. This is named kiosk because it was requested to be used in a kiosk-style computer."

    Desc from http://boxmein.x10.mx/tptelements/search.html
    Edited 2 times by CeeJayBee. Last: 15th Apr 2014
  • Amy
    16th Apr 2014 Member 0 Permalink

    @CeeJayBee (View Post)

     So in theory you could change the screen to a custom size using that, yes?

  • nucular
    16th Apr 2014 Member 0 Permalink
    @Amy
    No, the function only takes either 1 or 2 which is equivalent to normal and double scale mode, respectively.
  • Amy
    16th Apr 2014 Member 0 Permalink