単一のシーンから異なる地図に移動することを許可するプラグイン – MrTS_MapSelection.js
- タイトル
- Allows to travel to different maps from a single scene.
- 作者名
- Mr. Trivel様
- ヘルプ
- --------------------------------------------------------------------------------
Terms of Use
--------------------------------------------------------------------------------
Don't remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.
--------------------------------------------------------------------------------
Version 1.1
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Plugin Commands
--------------------------------------------------------------------------------
MapSelection Start - Enters Map Selection Scene
MapSelection Add [ID] - Adds selection to the menu
MapSelection Remove [ID] - Removes selection from the menu
Examples:
MapSelection Start
MapSelection Add 4
MapSelection Remove 5
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Map List Structure
--------------------------------------------------------------------------------
mapList in an array of objects.
Each object start with { and ends with }
Each object has ID and Name properties.
{
ID: 1,
Name: "Some Name"
}
ID is used for plugin commands listed above.
Name is what will be seen on the command window ingame.
Now, the object may have one of three groups of other properties.
Group 1 - Sublist properties:
Sublist: [],
Background: "BackgroundName"
Group 2 - Map teleport properties:
MapID: 3,
X: 5,
Y: 20
Group 3 - Execute common event properties:
CE_ID: 2
So if Object is Group 1 type, when you click on it, you'll get it's list,
meanwhile if Object is Group 2 type, when you click on it, you'll be teleported
to it's map, if Object is Group 3 type, when you click on it, you'll get Common
Event executed defined by CE_ID.
To edit the map list, open up this plugin in your favorite text editor and
scroll down to "EDIT MAP LIST HERE". Make sure to check the example there, too.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Image Info
--------------------------------------------------------------------------------
All backgrounds go into img\system folder.
Default Background file: img\system\mapSelect.png
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Version History
--------------------------------------------------------------------------------
1.1 - List allows excuting Common Events.
1.0 - Release - パラメータ
-
param Map Select Text desc Map Select Text
Default: Map Selectdefault Map Select param Help Text desc Text at the bottom window. default Select a challenge for your fated heroes to struggle in. param Max Items desc Max items in a list before having to scroll.
Default: 10default 10 - ライセンス表記
- Free for commercial and non-commercial projects.
紹介ページ https://github.com/Trivel/RMMV/blob/master/MrTS_MapSelection.js