Automatic Fullscreen for Standalone

orlando

Veteran
Veteran
Joined
May 24, 2014
Messages
177
Reaction score
84
Since most games which are meant to be more immersive and complex launch as fullscreen, here a small snippet to do that for your RPG Maker game.


If you export it as a web version, the web version will still stay windowed - this only affects the standalone versions.


// Automatic Fullscreen for Standalone
// by orlando (rpgmakerweb.com forums)
// Date: 11/22/2015
//=============================================================================
/*:
* @plugindesc Automatically enters fullscreen if running as a standalone version. The web version will continue to launch windowed/regularly.
* @author orlando (rpgmakerweb.com forums)
*/

(function() {
if (Utils.isNwjs()) {
Graphics._requestFullScreen();
}
})();


License: Common, that snippet is absolutely trivial! You could have thought of it yourself. :) Do with it whatever you want!
 
Last edited by a moderator:

Androol

Warper
Member
Joined
Feb 26, 2017
Messages
1
Reaction score
0
First Language
Francais
Primarily Uses
RMMV
Is there a similar line for windowed?
To do a full screen / windowed button using conditionals?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Is it okay to hug a tree? :/
The new intro Logo for my videos.

I speed it up, the one I use to use was to long.
The workweek is now over. Now I can work on my GamZzzzzZzzzzZzzzZzzZz....
Just watched Onward with the family. One of the best movies I've ever seen. <3

Forum statistics

Threads
95,824
Messages
932,213
Members
126,259
Latest member
Illuminachos
Top