blupi-games / planetblupi

Planet Blupi source code
https://www.blupi.org
Other
89 stars 22 forks source link

Remember fullscreen state and window size #16

Closed MainMemory closed 7 years ago

MainMemory commented 7 years ago

Currently, if you change the settings ingame to windowed mode or if you change the window size, it doesn't remember the settings when you start the game the next time.

Skywalker13 commented 7 years ago

Yes, it is a deliberate choice.

You can force the fullscreen mode with the config.json file in the data directory (when installed).
https://github.com/blupi-games/planetblupi/blob/master/README-user.md#screen-problems

Skywalker13 commented 7 years ago

Other way, you can start the game with planetblupi.exe --fullscreen off.

MainMemory commented 7 years ago

That doesn't do anything about the window size though.

Skywalker13 commented 7 years ago

I can add an option and a setting for the window size for the next patch version

retaled to #17

Skywalker13 commented 7 years ago

The window size can be changed (for the v1.9.3, when it will be released) by using:

planetblupi --fullscreen off --zoom 2
# or
planetblupi -f off -z 2

And/or with the config.json file:

{
  "fullscreen": false,
  "zoom": 2
}
Skywalker13 commented 7 years ago

This setting and command line argument is available with v1.10 on www.blupi.org