27 lines
No EOL
990 B
JavaScript
27 lines
No EOL
990 B
JavaScript
//=============================================================================
|
|
// MW_DisplayMask
|
|
//=============================================================================
|
|
/*
|
|
* @plugindesc メッセージのコンフィグを変更するプラグイン
|
|
* @author 銀河
|
|
*
|
|
*/
|
|
|
|
(function() {
|
|
|
|
var parameters = PluginManager.parameters('MW_DisplayMask');
|
|
var _Spriteset_Base_createPictures = Spriteset_Base.prototype.createPictures;
|
|
|
|
Spriteset_Base.prototype.createPictures = function() {
|
|
var width = Graphics.boxWidth;
|
|
var height = Graphics.boxHeight;
|
|
var x = (Graphics.width - width) / 2;
|
|
var y = (Graphics.height - height) / 2;
|
|
this._pictureContainer = new Sprite();
|
|
this._pictureContainer.setFrame(x, y, width, height);
|
|
for (var i = 0; i <= $gameScreen.maxPictures(); i++) {
|
|
this._pictureContainer.addChild(new Sprite_Picture(i));
|
|
}
|
|
this.addChild(this._pictureContainer);
|
|
};
|
|
})(); |