Add english version

This commit is contained in:
OleSTEEP 2024-01-15 18:44:53 +03:00
parent 7bf44fa645
commit 49e9a37f3c
1675 changed files with 1309268 additions and 0 deletions

View file

@ -0,0 +1,32 @@
/*:
* @plugindesc v1.00 Plugin to display a picture with a specific ID below characters
* but above tilemap. (Even if used with YED_Tiled plugin).
* @author Kentou
*
* @param Picture ID
* @desc The ID of the picture which should be displayed below characters.
* Default: 99
* @default 99
*
* @param Picture Z
* @desc The Z-Index of the picture which should be displayed below characters.
* Default: 2
* @default 2
*
* @help
* If you display a picture with Show Picture command, use the configured Picture ID to
* display the picture below the characters. All other picture commands behave
* normally.
*/
var _createPictures = Spriteset_Base.prototype.createPictures;
Spriteset_Base.prototype.createPictures = function() {
_createPictures.call(this);
if (this._tilemap) {
var params = PluginManager.parameters("KEN_PictureBelowChars");
var picID = parseInt(params["Picture ID"]);
var sprite = this._pictureContainer.removeChildAt(picID - 1);
sprite.z = sprite.zIndex = parseInt(params["Picture Z"]);
this._tilemap.addChild(sprite);
}
};