Zoom character away maintaining pixel size?

  • #10, by fulviovWednesday, 04. March 2015, 16:46 9 years ago
    Er... I've just skipped through the thread as I've to go out shortly, but have you activated fullscreen & widescreen support in: extras > options... > player: fullscreen (enabled), activate support for widescreen displays (enabled).

    It should auto scale your game to whatever resolution your desktop happens to be.


    Yep, but that is for fullscreen - the problem is in window mode smile

    Forum Fan

    119 Posts


  • #11, by afrlmeWednesday, 04. March 2015, 17:43 9 years ago
    I did say I had skipped through the thread, no? grin

    Since 4.x there has been a resizeable option which you can enable via the config.ini file. The config.ini file is located in the same place as your save game files & log files end up, which is somewhere in c:/users/username/appdata/local/...somewhere

    http://wiki.visionaire-tracker.net/wiki/Ini_File

    Imperator

    7278 Posts

  • #12, by AlexWednesday, 04. March 2015, 18:17 9 years ago
    and you could set the resolution directly in the config.ini file, only recommended for windowed mode. e.g.:
    Resolution=640x400

    I think this configuration is currently missing in the wiki documentation.

    Great Poster

    378 Posts

  • #13, by LebosteinWednesday, 04. March 2015, 18:33 9 years ago
    Cool. Then you could write your game in the real 320 x 180 pixel resolution and all scaling, antialiasing and resize factor problems are gone.

    Key Killer

    621 Posts

  • #14, by fulviovWednesday, 04. March 2015, 18:44 9 years ago
    I have just tried RESIZEABLE = YES, and this is exactly what I needed!
    Thanks guys. If you ever drop in Amsterdam, I owe you a beer smile

    Just a note: it would be nice to have a way to specify the window size in the config.ini (to not start in stamp-mode grin), and have a way for Visionaire to remember the last size it was stretched to, so that you don't have to make it bigger every time you start the game, but I am definitely happy.

    Forum Fan

    119 Posts

  • #15, by LebosteinWednesday, 04. March 2015, 18:53 9 years ago
    Is there a small config.exe or something to make the config.ini editable for the normal users they play the game? Like the settings dialog in AGS?

    http://i.imgur.com/Eq92w23.png

    Key Killer

    621 Posts

  • #16, by fulviovWednesday, 04. March 2015, 18:58 9 years ago
    this is what I found:
    http://wiki.visionaire-tracker.net/wiki/Read/Write_Config.ini_(CMS)

    you can make an options screen in game and read/write using that script smile

    Forum Fan

    119 Posts

  • #17, by afrlmeWednesday, 04. March 2015, 19:11 9 years ago
    Indeed.

    I will be creating an updated version of that script at some point as I wrote it before the shorthand Lua scripting method was implemented.

    Question: I haven't yet tried using the resizeable option. Does it allow you to resize the game in fullscreen mode too?

    David mentioned that there is actually supposed to be a key shortcut for switching between fullscreen & window mode while the game is running too, but I think he said he disabled it for now... I forget why.

    Imperator

    7278 Posts

  • #18, by fulviovWednesday, 04. March 2015, 20:12 9 years ago
    Nope, fullscreen gets rid of all window controls, so it does not apply there.

    Forum Fan

    119 Posts

  • #19, by LebosteinWednesday, 04. March 2015, 21:04 9 years ago
    Look what i found:
    http://www.visionaire-studio.net/forum/thread/config-ini-edi...

    An older version of Visionaire had an config.ini editor ("Visionaire Smart Setup"). I wonder why this very helpful tool was removed.

    PS: RESIZEABLE = YES works! Very cool, you can resize your window while playing.

    Key Killer

    621 Posts

  • #20, by fulviovWednesday, 04. March 2015, 21:14 9 years ago
    Yep, very cool.
    I am trying to see if there is a way to save the game window size to not stretch it every time, but no luck so far

    Forum Fan

    119 Posts