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

i watched the sonic movie it was pretty good i hope they make a sequel
tomorrow I'ma go on a cruise for the first time ever... lets hope I'll survive the experience!
Omg! 8 years in this forum :o
Ksi
Streaming the last of the RMN Valentiny event games so feel free to drop on by and watch me cry (whether that's from laughter, rage or sheer pain, who knows?)
Today I went to sleep without setting an alarm, so I could sleep more than 2 hours. I woke up after 2 hours.

Forum statistics

Threads
94,317
Messages
919,852
Members
124,064
Latest member
kt040
Top