Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //==============================================================================
- // Nessuno_MoreMenuBGOptions.js
- //==============================================================================
- /*:
- * @plugindesc Expands options for how the game screen will look when paused.
- * @author Nessuno
- *
- *
- * @param Red
- * @desc Affects tint's redness (-255 to 255)
- * @default 0
- *
- *
- * @param Green
- * @desc Affects tint's greeness (-255 to 255)
- * @default 0
- *
- *
- * @param Blue
- * @desc Affects tint's blueness (-255 to 255)
- * @default 0
- *
- *
- * @param Grayscale
- * @desc Affect's tint's greyness (0 to 255)
- * @default 0
- *
- *
- * @help Free for commercial and non-commercial use. Credit Prefered
- * Version 1.0
- */
- (function() {
- var parameters = PluginManager.parameters('Nessuno_MoreMenuBGOptions');
- var tRed = Number(parameters['Red'] || 1);
- var tGreen = Number(parameters['Green'] || 1);
- var tBlue = Number(parameters['Blue'] || 1);
- var tGray = Number(parameters['Grayscale'] || 1);
- function Scene_Map() {
- this.initialize.apply(this, arguments);
- }
- SceneManager.snapForBackground = function() {
- this._backgroundBitmap = this.snap();
- this._backgroundBitmap.blur();
- this._backgroundBitmap.adjustTone(tRed, tGreen, tBlue, tGray);
- };
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement