Switching resolutions and Fullscreen / Windowed mode in game

  • #1, by fulviovFriday, 16. January 2015, 18:26 5 years ago
    Hi,
    I have been searching the forum and looked at the documentation/tutorials but I was not able to find an answer to this question.
    What I want to do is give my players the possibility to switch resolution (to accomodate for different monitor sizes) and also have fullscreen/window mode selectable within the game.
    Ideally these will be present in a "game options" screen.
    From what I understand it is possible to write the player .ini file to set these values, but I guess they would have to reboot the game after?
    How can I make this nicely and automated within visionaire?
    thanks in advance for your support smile

    Forum Fan

    119 Posts


  • #2, by Simon_ASASunday, 18. January 2015, 21:50 5 years ago
    I think it's a good idea, I did that in my first game and people liked it. Nobody to help here?

    Great Poster

    321 Posts

  • #3, by fulviovSunday, 18. January 2015, 21:59 5 years ago
    I have checked out Deponia yesterday to see how they were handling this, and indeed in the options screen it asks you to manually reboot if you do any changes. Too bad.
    My guess is that it is not possible without an external help (maybe it is possible to call an executable from Lua that will just reboot the game on resolution change? I will look into this).
    I'd love for someone to prove me wrong of course smile

    Forum Fan

    119 Posts

  • #4, by BigStansSunday, 18. January 2015, 22:27 5 years ago
    We're waiting for an newer libSDL smile 2.0.3 has an bug, which was fixed already in the tunk.
    So, if it was working with an newer lib i will test and implement it again smile

    Great Poster

    361 Posts

  • #5, by MachtnixMonday, 19. January 2015, 11:37 5 years ago
    Is it possible to stretch the game area free now? Or make it fullsreen? You don't need any precreated resolutions to switch between you want to use later? That sounds great.

    Machtnix

    Thread Captain

    1065 Posts

Write post