Window Size in Console

  • SpaceInvaders
    1st Sep 2011 Member 0 Permalink
    If there was a console command to alter your window size, it'd be great, because many people would not need to re-download or even connect to a larger monitor to change the sizes of the window back to normal.

    so like

    !winsize = 0 (Normal)
    !winsize = 1 (2x)
    !winsize = 2 (Fullscreen)

    I also sometimes accidentally click 2x and press ok (because i keep thinking it's newtonian gravity) and I have to redownload the whole powder toy (which reduces powdertoy website's bandwidth speed) just to make it back to normal. (I especially hate this when I have this awesome idea to make but this bloody small screen won't let me click on the elements)

    I tried looking for similar ideas like these but I couldn't really find any, so yeah. plz don't be mad at me

    EDIT:
    (never mind, i found a solution for this, just delete everything except for the 2 .exes and stamps)
    (but it'd work well with people with bad mice)
    (like me)
  • cctvdude99
    1st Sep 2011 Member 0 Permalink
    @SpaceInvaders
    Why not just drag the screen around so you can hit the simulation options button to change the size back to 1x size?
    I thought that worked.
  • SpaceInvaders
    1st Sep 2011 Member 0 Permalink
    my screen is too small D=
    (1280x800)
  • MasterMind555
    1st Sep 2011 Member 0 Permalink
    @SpaceInvaders (View Post)
    It's not delete everything except the 2 .exes and stamps, it's just delete powder.def
  • mrsalit0s
    1st Sep 2011 Member 0 Permalink
    i have the same problem on my notebook.. a fix for this resolution would be nice, then you dont need the console commands :)
  • cctvdude99
    1st Sep 2011 Member 0 Permalink

    SpaceInvaders:

    my screen is too small D=
    (1280x800)


    I don't see why you can't drag it upward. I'm on 1280x1024, it fits fine.
  • mrsalit0s
    1st Sep 2011 Member 0 Permalink
    when you use scale:2 on 1280x800 you dont see everything. the lower bar with the save button is missing for example because the screen is too small! it is similar on fullscreen ..
  • jenn4
    1st Sep 2011 Member 0 Permalink
    fullscreen should fit it on screen size
  • Pilihp64
    1st Sep 2011 Developer 0 Permalink
    This was added in the latest beta (i think)
    tpt.setwindowsize(scale,fullscreen)
    scale is 1 or 2, fullscreen 0 or 1.
  • mrsalit0s
    1st Sep 2011 Member 0 Permalink
    @jenn4 (View Post)
    you are right. i've tested it, but with an older version the fullscreen mode was not working correctly on this resolution. i did not know that it is fixed