Get window size

  • #20, by afrlmeSunday, 31. January 2016, 20:13 9 years ago
    Technically it's possible to change window mode & window resolution during runtime. It's a bit buggy though at the minute.

    Imperator

    7285 Posts


  • #21, by sebastianSunday, 31. January 2016, 21:05 9 years ago
    I did it get working to change between fullscreen and window (resized) via checkboxes without restart. Problem seems to be Resolutions which are "special". Sometimes after returning to fullscreen it gets messed up and only a restart solves it.

    Thread Captain

    2346 Posts

  • #22, by afrlmeSunday, 31. January 2016, 21:40 9 years ago
    Yeah, that's the buggy bit I was referring to. If you simply toggle between window & fullscreen modes without adjusting the window resolution then it shouldn't mess up when switching back to fullscreen mode. For some reason it messes up the surface area scaling when you manually update the window resolution. Hopefully David will sort it out in a future build.

    Imperator

    7285 Posts

  • #23, by sebastianSunday, 31. January 2016, 22:07 9 years ago
    im curious if it would correct that bug if we set the window size back to screen monitor resolution before returning to fullscreen...

    Thread Captain

    2346 Posts

  • #24, by sebastianSaturday, 25. March 2017, 15:44 8 years ago
    digging out this old post grin

    regarding to the update news from 4.2 ithere should be a proprty "resolution" :


    'resolution' zu Lua Befehl getProperty hinzugefügt.

    in 4.2.5 thats not the case... Hope to see this fixed in VS5

    Thread Captain

    2346 Posts