Suggestion: add SetWindowSize to the list of Visionaire Player commands

  • #1, by fulviovSunday, 08. March 2015, 05:20 9 years ago
    Visionaire devs: is there a chance that we might see this option available in the player commands?

    I think it would make a nice addition, since right now there is no way to set predefined window resolutions, and the RESIZEABLE setting in the config is a bit of a mess (I have tried it, and in OSX dragging the corner is a major pain, since if you go 1 pixel over the screen the mouse pointer starts jumping around ... I decided to not use it in the end)

    Cheers smile

    Forum Fan

    119 Posts


  • #2, by CrossSunday, 08. March 2015, 09:01 9 years ago
    You can set the game window resolution in Visionaire:
    tools > explorer > eGame > GameWindowResolution

    Newbie

    92 Posts

  • #3, by fulviovSunday, 08. March 2015, 12:30 9 years ago
    That will not work for games using pixel effect, because the game area will not be stretched to make use of the full window resolution

    Forum Fan

    119 Posts

  • #4, by afrlmeSunday, 08. March 2015, 12:32 9 years ago
    You can set the game window resolution in Visionaire:
    tools > explorer > eGame > GameWindowResolution


    I believe he's talking about an hook / function which allows you to adjust the window resolution on the fly, while the game is running.

    Imperator

    7278 Posts

  • #5, by fulviovSunday, 08. March 2015, 12:41 9 years ago
    You can set the game window resolution in Visionaire:
    tools > explorer > eGame > GameWindowResolution


    I believe he's talking about an hook / function which allows you to adjust the window resolution on the fly, while the game is running.


    That is correct, also I do not want to modify the game resolution, just the window size.

    Forum Fan

    119 Posts

  • #6, by afrlmeSunday, 08. March 2015, 12:45 9 years ago
    I think it auto-scales your game to the window resolution when you enable resizeable mode? Therefore it would affect both the window size & game resolution. Some engines actually let you define fullscreen resolution too.

    Imperator

    7278 Posts

  • #7, by fulviovSunday, 08. March 2015, 12:52 9 years ago
    It does, but it's not what I meant.
    I think the way I called the function is misleading (I have edited it now), what I want is to just set a window size, not changing the game resolution in any way.
    Right now, if I have a game running at 320x240 starting in window mode, it boots up as a microscopic window on the screen that every time needs to be enlarged to make it usable, I'd like to have the ability to control how big this starting window is, without affecting the game resolution

    Forum Fan

    119 Posts

  • #8, by afrlmeSunday, 08. March 2015, 13:23 9 years ago
    I see... then you might as well go one step further & declare the position the window should be on the screen. Center, top, top-left, etc...

    Imperator

    7278 Posts

  • #9, by fulviovSunday, 08. March 2015, 13:31 9 years ago
    Yep, that would be even better indeed

    Forum Fan

    119 Posts

  • #10, by BigStansThursday, 12. March 2015, 10:38 9 years ago
    Hm... We've added setWindowSize, Toggle between Fullscreen / Windowed command & Alt + Enter Shortcut and an resizeable window (ini setting) for the next version.

    Great Poster

    361 Posts

  • #11, by fulviovThursday, 12. March 2015, 11:24 9 years ago
    That sounds great!
    Will Visionaire remember the last window setting that was chosen?
    Either that or the possibility to set it in the .ini file would be great (something like
    WINDOWSIZE = 1280x720), I would like to avoid having my players need to chose it in the options every time they start the game smile

    Forum Fan

    119 Posts