Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Tileset Ex - TilesetEx.js
Plugin desc : Make it possible to use two or more types of tilesets at the same time.
License : MIT License
Author : あわやまたな (Awaya_Matana)
Website : https://awaya3ji.seesaa.net/
Desc page : https://awaya3ji.seesaa.net/article/492557242.html
File name : TilesetEx.js
Help of plugin :
* @target MZ * @plugindesc Make it possible to use two or more types of tilesets at the same time. * @author あわやまたな (Awaya_Matana) * @url https://awaya3ji.seesaa.net/article/492557242.html * * @noteParam bgName * @noteDir img/parallaxes/ * @noteType file * @noteData maps * * @help Ver.4.2.1 * 【How to use】 * (1) First, prepare a parent map (base map) and a child map (overlay map). * (2) Group the two maps so that the name of the child map contains "tilesetEx". * (3) Set separate tilesets for parent and child maps. * (4) Place tiles on each map. * (5) When you start the game and go to the parent map, it will be composited * with the child map. * Of course, the two tilesets coexist. * (6) The third and subsequent ones can be added in the same way. * * Caution: * ・The width and height of the two maps must be the same. * ・Specify the ID of the parent map when transferring the player. * ・Tiles, shadows, and regions are prioritized from the basemap. * ・Parallax Background are not merged. * ・Events created in the child map will be generated with the changed event id. * Of course, the event ID specified in the event command will be different, * so it is recommended not to create events other than map decoration. * * 【How to make a beautiful map】 * (1) Right-click the parent map and do [Save as Image]. * (2) Set the output location to img¥parallaxes. * (3) Specifies the image of the parent map as the Parallax Background of the child map. * (4) Parent maps are displayed in child maps for intuitive map editing. * Since the parallax background of the child map is not reflected in the game, * you can test play immediately. * * Caution: * ・Since the Parallax Background is used, the image remains * even if [Exclude unused files] checked during deployment. * ・If the width or height exceeds 63, the image will be reduced and saved, * so please enlarge it with paint software etc. as appropriate. * * 【Note (map properties)】 * Used in parent map notes. * * <bgName:Filename> //Image specification of parallax background * In the actual game, do not use the parallax background image specified * in the editor, * but use the image specified in this note. * * <noBg> //No parallax background * The parallax background is not displayed in the actual game. * * 【Plugin Command】 * You can change the tileset of the child map by executing * the event command [Change Tileset] after this plugin command. * * @param numTilesets * @text Number of Tilesets * @desc The specified number of tilesets will be available. * @type number * @default 2 * @min 2 * * @param tilesetExName * @text Child Map Name * @desc Synthesize a map with a map name containing this string. * @default tilesetEx * * @param changeBaseMap * @text Change Base Map * @desc Treat child map as base map. * @type boolean * @default false * * @command changeTilesetEx * @text Change Tileset Ex * @desc Changes the tileset used by the current child map temporarily. * * @arg index * @text Child Map Index * @desc Input the index of the child map to change tileset. * The first one from the top is 0, the second one is 1. * @type number * @default 0 *