lukemcredmond / violetland

Automatically exported from code.google.com/p/violetland
0 stars 0 forks source link

Changing screen resolution #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to play full-screen (at my screen's native resolution of
course). Also I would like to be able to resize to for example 1280x720 to
record HD videos of the game.

Original issue reported on code.google.com by qubodup on 14 Jan 2010 at 6:32

GoogleCodeExporter commented 9 years ago
It can be adjusted in configuration file.
Linux: ~/.config/violetland/config
Windows: config in game directory

Original comment by 5253...@gmail.com on 14 Jan 2010 at 7:25

GoogleCodeExporter commented 9 years ago
Also you can use command line arguments.
Use violetland --help for details.

Original comment by 5253...@gmail.com on 14 Jan 2010 at 7:27

GoogleCodeExporter commented 9 years ago
Ah, thanks. I tried -h and got nothing, so I assumed there's no arguments.

What do you think of adding this info to the options menu? Most players I know 
want
to just start the game, if they really want to change resolution, this way they 
won't
have to search how to (only in the game menu :) )

Original comment by qubodup on 14 Jan 2010 at 9:21

GoogleCodeExporter commented 9 years ago

Original comment by 5253...@gmail.com on 15 Jan 2010 at 5:21

GoogleCodeExporter commented 9 years ago
I have made it. Please, test.

Original comment by 5253...@gmail.com on 23 Jan 2010 at 1:41

GoogleCodeExporter commented 9 years ago
Cool, thanks! It works well.
Two enhancements that would be helpful:

1. make all possible resolutions available. There should be some command in some
library to list all available resolutions... I hope
2. Make right mouse click switch to previous resolution.

Original comment by qubodup on 23 Jan 2010 at 4:29

GoogleCodeExporter commented 9 years ago
Yes, there is SDL_ListModes() command, but it won't return all of supported 
modes. I
can use it as it is, but I think that best is to implement some custom function 
to
create list of available video modes.

Original comment by 5253...@gmail.com on 23 Jan 2010 at 7:09

GoogleCodeExporter commented 9 years ago
See 
http://groups.google.com/group/violetland/browse_thread/thread/99a1013a2ddbe619

Original comment by 5253...@gmail.com on 23 Jan 2010 at 8:25

GoogleCodeExporter commented 9 years ago
I think we are done with the issue.

Original comment by 5253...@gmail.com on 23 Jan 2010 at 9:02