Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Zoom character away maintaining pixel size?

  • #10, by fulviov 11 years ago Zitieren
    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
  • #11, by afrlme 11 years ago Zitieren
    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
  • #12, by Alex 11 years ago Zitieren
    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.
  • #13, by Lebostein 11 years ago Zitieren
    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.
  • #14, by fulviov 11 years ago Zitieren
    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.
  • #15, by Lebostein 11 years ago Zitieren
    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
  • #16, by fulviov 11 years ago Zitieren
    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
  • #17, by afrlme 11 years ago Zitieren
    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.
  • #18, by fulviov 11 years ago Zitieren
    Nope, fullscreen gets rid of all window controls, so it does not apply there.
  • #19, by Lebostein 11 years ago Zitieren
    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.
  • #20, by fulviov 11 years ago Zitieren
    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