Zeus81

Fullscreen++ : User Guide

Jun 14th, 2013
7,059
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Fullscreen++ : User Guide v2.2
  2. =begin
  3.   Description :
  4.     New fullscreen mode that is more smart and make a better use of the screen
  5.     surface (no black frame).
  6.     Alt+Enter still uses the old fullscreen mode, to use the new one press F5.
  7.     You can also press F6 to change the screen ratio, be it in fullscreen
  8.     or windowed mode (both ratios are independents).
  9.     This script automatically saves the last configuration used in the Game.ini
  10.     file (fullscreen mode & ratios) and restores it when you restart the game.
  11.     So before sharing your game do not forget to put the config you want by
  12.     default, the first time we start your game.
  13.     The old fullscreen mode is still present, but you can disable it by setting
  14.     true on line 9 (instead of false).
  15.     However it will also disable Alt+F4, and if you press Alt+Enter at the same
  16.     time you can bypass the prohibition anyway.
  17.    
  18.   Log Change :
  19.     2.2 :
  20.       - fixed bug on VX when F12
  21.     2.1 :
  22.       - ratio is corrected when out of range of our screen
  23.       - new functions to setup ratio
  24.       - new functions to setup vx default fullscreen mode
  25.     2.0 :
  26.       - better coexists with the default fullscreen mode.
  27.       - we can disable the default fullscreen mode.
  28.       - we can change the screen ration by pressing F6.
  29.       - settings are saved in the Game.ini file.
  30.    
  31.   Fonctions :
  32.     Graphics.fullscreen?          : return the current fullscreen state.
  33.     Graphics.vx_fullscreen?       : return the current vx fullscreen state.
  34.     Graphics.fullscreen_mode      : go to fullscreen mode.
  35.     Graphics.vx_fullscreen_mode   : go to vx fullscreen mode.
  36.     Graphics.windowed_mode        : go to windowed mode.
  37.     Graphics.toggle_fullscreen    : toggle from one mode to the other.
  38.     Graphics.toggle_vx_fullscreen : toggle from one mode to the other using vx fullscreen.
  39.     Graphics.toggle_ratio         : toggle from one ratio to the other.
  40.     Graphics.ratio                : return current ratio.
  41.     Graphics.ratio = n            : set ratio with a number.
  42. =end
RAW Paste Data