Widescreen
Spielt im 16:9 Modus
Wie installiert / fügt man es ein?
Erstellt eine Textdatei mit den Namen "Widescreen.js" oder ladet die Datei unten runter.
Was genau macht das Plugin?
Im Vollbildmodus habt ihr normalerweise Schwarze Ränder/Balken, das Plugin sorgt dafür, das diese verschwinden und das Bild voll genutzt wird.
Code
- //=============================================================================
- // Widescreen
- //=============================================================================
- /*:
- * ==============================================================================
- * Database Related
- * ------------------------------------------------------------------------------
- * [MISC][1.00][19/06/2016][Devidra]
- * []
- * ==============================================================================
- * Plugin Related
- * ------------------------------------------------------------------------------
- * @plugindesc (v1.00) Enable Widescreen
- * @author Devidra
- * ==============================================================================
- * Plugin Parameter
- * ------------------------------------------------------------------------------
- * @param Width
- * @desc Set a 16:9 width
- ( default : 1280 )
- * @default 1280
- *
- * @param Height
- * @desc Set a 16:9 height
- ( default : 720 )
- * @default 720
- * ==============================================================================
- * @help
- * ==============================================================================
- * ~~~~~ Widescreen ~~~~~
- * By Devidra
- * ==============================================================================
- * Question:
- * - Why my titlescreen doesn't stretch?
- * Answere:
- * - This Plugin only enable widescreen, just resize
- * - your background-image and it should fit
- * ==============================================================================
- * Version History
- * ------------------------------------------------------------------------------
- * v1.00 - 16/6/2016
- * - Initial Release
- * ==============================================================================
- */
- (function() {
- /*
- * ==============================================================================
- * Get and Set Plugin Parameter and Alias
- * ==============================================================================
- */
- var Devscript_name = "Widescreen";
- var Devscript_parameter = "Devscript_parameter";
- var Devscript_alias = "Devscript_alias";
- // Get Plugin Parameter
- var Devscript = Devscript || {};
- Devscript.parameters = PluginManager.parameters(Devscript_name);
- // Set Plugin Parameter into specific array-variable
- Devscript_parameter = {
- "Width": Number(Devscript.parameters['Width']),
- "Height": Number(Devscript.parameters['Height']),
- };
- // Set and get alias function
- Devscript_alias = {
- "Widescreen": Scene_Base.prototype.create,
- };
- // Console to get information
- console.log("==========================");
- console.log(Devscript_name);
- console.log("Following function and their states");
- console.log( JSON.stringify(Devscript_parameter, null, 2) );
- console.log("==========================");
- /*
- * ==============================================================================
- * Fullscreen Function
- * ==============================================================================
- */
- Scene_Base.prototype.create = function() {
- Devscript_alias["Widescreen"].call(this);
- Graphics.width = Devscript_parameter["Width"];
- Graphics.height = Devscript_parameter["Height"];
- Graphics.boxHeight = Devscript_parameter["Height"];
- Graphics.boxWidth = Devscript_parameter["Width"];
- };
- /*
- * ==============================================================================
- */
- })();
oder ladet es hier runter
PS: Ich mache schon länger nichtsmehr mit dem Maker, Support hierfür kann ich nichtmehr übernehmen...