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: 2)

Latest Threads

Latest Posts

Latest Profile Posts

I was planning to release a useless plugin for april fools, but then I thought I let it be.
Tfw every dev around me is using Live2D in their MV games and make me question my skills repeatedly.

Spending the day reworking my maps, especially the first "biome". This time it's not even in the dark. :LZSwink:
Activity on the forums has increased lately, probably because of people staying home. The amount of work for moderators has increased lol.

Forum statistics

Threads
95,526
Messages
929,818
Members
125,798
Latest member
lightburnz
Top