Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Fullscreen++ : User Guide v2.2
- =begin
- Description :
- New fullscreen mode that is more smart and make a better use of the screen
- surface (no black frame).
- Alt+Enter still uses the old fullscreen mode, to use the new one press F5.
- You can also press F6 to change the screen ratio, be it in fullscreen
- or windowed mode (both ratios are independents).
- This script automatically saves the last configuration used in the Game.ini
- file (fullscreen mode & ratios) and restores it when you restart the game.
- So before sharing your game do not forget to put the config you want by
- default, the first time we start your game.
- The old fullscreen mode is still present, but you can disable it by setting
- true on line 9 (instead of false).
- However it will also disable Alt+F4, and if you press Alt+Enter at the same
- time you can bypass the prohibition anyway.
- Log Change :
- 2.2 :
- - fixed bug on VX when F12
- 2.1 :
- - ratio is corrected when out of range of our screen
- - new functions to setup ratio
- - new functions to setup vx default fullscreen mode
- 2.0 :
- - better coexists with the default fullscreen mode.
- - we can disable the default fullscreen mode.
- - we can change the screen ration by pressing F6.
- - settings are saved in the Game.ini file.
- Fonctions :
- Graphics.fullscreen? : return the current fullscreen state.
- Graphics.vx_fullscreen? : return the current vx fullscreen state.
- Graphics.fullscreen_mode : go to fullscreen mode.
- Graphics.vx_fullscreen_mode : go to vx fullscreen mode.
- Graphics.windowed_mode : go to windowed mode.
- Graphics.toggle_fullscreen : toggle from one mode to the other.
- Graphics.toggle_vx_fullscreen : toggle from one mode to the other using vx fullscreen.
- Graphics.toggle_ratio : toggle from one ratio to the other.
- Graphics.ratio : return current ratio.
- Graphics.ratio = n : set ratio with a number.
- =end
RAW Paste Data