diff --git a/README.en_US.md b/README.en_US.md index 9932a28..c208bdb 100644 --- a/README.en_US.md +++ b/README.en_US.md @@ -11,7 +11,7 @@ can see a sample screen on the [Gallery page](docs/Gallery.md). | Version | File | |---------|------| -| v0.4.4 | [:arrow_down: LN_AdvancedMapPuzzleSystem.js](https://raw.githubusercontent.com/lriki/LN_AdvancedMapPuzzleSystem/master/js/plugins/LN_AdvancedMapPuzzleSystem.js) | +| v0.5.0 | [:arrow_down: LN_AdvancedMapPuzzleSystem.js](https://raw.githubusercontent.com/lriki/LN_AdvancedMapPuzzleSystem/master/js/plugins/LN_AdvancedMapPuzzleSystem.js) | Create a new project in RPG Maker MV and overwrite all files downloaded from [here :arrow_down:](https://github.com/lriki/LN_AdvancedMapPuzzleSystem/archive/master.zip). diff --git a/README.md b/README.md index 35f54cc..cebf26e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ English document in process: [English page](README.en_US.md) | Version | File | |---------|------| -| v0.4.4 | [:arrow_down: LN_AdvancedMapPuzzleSystem.js](https://raw.githubusercontent.com/lriki/LN_AdvancedMapPuzzleSystem/master/js/plugins/LN_AdvancedMapPuzzleSystem.js) | +| v0.5.0 | [:arrow_down: LN_AdvancedMapPuzzleSystem.js](https://raw.githubusercontent.com/lriki/LN_AdvancedMapPuzzleSystem/master/js/plugins/LN_AdvancedMapPuzzleSystem.js) | ---------- @@ -194,16 +194,6 @@ RPG ツクール MV で新規プロジェクトを作成し、[:arrow_down: こ ![](docs/img/4.png) -### マップオブジェクトの移動を確定する - -![ToDo](http://img.shields.io/badge/status-ToDo-red.svg?style=flat) - - -### 謎解きクリアによる位置の永続化 - -![ToDo](http://img.shields.io/badge/status-ToDo-red.svg?style=flat) - - ## マップオブジェクト - 箱 @@ -310,6 +300,14 @@ RPG ツクール MV で新規プロジェクトを作成し、[:arrow_down: こ なお、`trigger` が指定されている場合、通常の "トリガー" によるイベント実行は行われません。 + +### マップオブジェクトの位置の永続化 + +パラメータとして `positional` を指定すると、マップを移動しても位置を記憶するようになります。 + +![](docs/img/20.png) + + ## マップオブジェクト - スイッチ ### パラメータ diff --git a/data/Map019.json b/data/Map019.json index e5a4a84..6313cef 100644 --- a/data/Map019.json +++ b/data/Map019.json @@ -5,7 +5,7 @@ null, {"id":1,"name":"EV001","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":true,"image":{"tileId":0,"characterName":"!AMPS-Objects-h1","direction":2,"pattern":2,"characterIndex":2},"list":[{"code":108,"indent":0,"parameters":["@MapObject {"]},{"code":408,"indent":0,"parameters":[" box,"]},{"code":408,"indent":0,"parameters":[" height:1,"]},{"code":408,"indent":0,"parameters":[" fallable:true,"]},{"code":408,"indent":0,"parameters":["}"]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":false}],"x":7,"y":5}, {"id":2,"name":"EV002","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":true,"image":{"tileId":0,"characterName":"!AMPS-Objects-h1","direction":2,"pattern":2,"characterIndex":2},"list":[{"code":108,"indent":0,"parameters":["@MapObject {"]},{"code":408,"indent":0,"parameters":[" box,"]},{"code":408,"indent":0,"parameters":[" height:1,"]},{"code":408,"indent":0,"parameters":[" fallable:true,"]},{"code":408,"indent":0,"parameters":["}"]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":false}],"x":7,"y":4}, -{"id":3,"name":"EV003","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0},"list":[{"code":221,"indent":0,"parameters":[]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":0,"stepAnime":false,"through":true,"trigger":1,"walkAnime":true}],"x":2,"y":7}, +{"id":3,"name":"EV003","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0},"list":[{"code":201,"indent":0,"parameters":[0,25,12,11,0,0]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":0,"stepAnime":false,"through":true,"trigger":1,"walkAnime":true}],"x":2,"y":7}, {"id":4,"name":"EV004","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":true,"image":{"tileId":0,"characterName":"!AMPS-Objects-h2","direction":4,"pattern":0,"characterIndex":0},"list":[{"code":108,"indent":0,"parameters":["◆マップオブジェクト情報 @MapObject {"]},{"code":408,"indent":0,"parameters":[" box,"]},{"code":408,"indent":0,"parameters":[" height:2,"]},{"code":408,"indent":0,"parameters":[" trigger:onRideOnEvent,"]},{"code":408,"indent":0,"parameters":["}"]},{"code":250,"indent":0,"parameters":[{"name":"Earth3","volume":90,"pitch":150,"pan":0}]},{"code":212,"indent":0,"parameters":[0,122,false]},{"code":123,"indent":0,"parameters":["A",0]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":2,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":false},{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":true,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"tileId":0,"characterName":"!AMPS-Objects-h2","direction":6,"pattern":0,"characterIndex":0},"list":[{"code":108,"indent":0,"parameters":["◆マップオブジェクト情報 @MapObject {"]},{"code":408,"indent":0,"parameters":[" box,"]},{"code":408,"indent":0,"parameters":[" height:2,"]},{"code":408,"indent":0,"parameters":[" trigger:onRideOnEvent,"]},{"code":408,"indent":0,"parameters":["}"]},{"code":212,"indent":0,"parameters":[0,123,false]},{"code":123,"indent":0,"parameters":["B",0]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":true},{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"B","selfSwitchValid":true,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0},"list":[{"code":108,"indent":0,"parameters":["このページがアクティブとなった場合、"]},{"code":408,"indent":0,"parameters":["このイベントはマップオブジェクトではなくなります。"]},{"code":408,"indent":0,"parameters":["その際、上に乗っている別のキャラクターは、"]},{"code":408,"indent":0,"parameters":["このイベントの位置まで強制的に落下します。"]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":0,"stepAnime":false,"through":false,"trigger":0,"walkAnime":true}],"x":10,"y":5} ] } \ No newline at end of file diff --git a/data/Map023.json b/data/Map023.json new file mode 100644 index 0000000..26e13a7 --- /dev/null +++ b/data/Map023.json @@ -0,0 +1,12 @@ +{ +"autoplayBgm":false,"autoplayBgs":false,"battleback1Name":"","battleback2Name":"","bgm":{"name":"","pan":0,"pitch":100,"volume":90},"bgs":{"name":"","pan":0,"pitch":100,"volume":90},"disableDashing":false,"displayName":"","encounterList":[],"encounterStep":30,"height":30,"note":"","parallaxLoopX":false,"parallaxLoopY":false,"parallaxName":"","parallaxShow":true,"parallaxSx":0,"parallaxSy":0,"scrollType":0,"specifyBattleback":false,"tilesetId":2,"width":30, +"data":[2820,2844,2844,2844,2824,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7458,7444,7460,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7440,7424,7448,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7464,7452,7462,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7811,7810,7814,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7809,7808,7812,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7817,7816,7820,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2818,2836,2836,2836,2817,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3570,3556,3572,0,3570,3556,3572,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3552,3536,3560,0,3552,3536,3560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3576,3564,3574,0,3576,3564,3574,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], +"events":[ +null, +{"id":1,"name":"EV001","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0},"list":[{"code":201,"indent":0,"parameters":[0,24,2,7,2,0]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":0,"stepAnime":false,"through":false,"trigger":1,"walkAnime":true}],"x":2,"y":6}, +{"id":2,"name":"EV002","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":true,"image":{"tileId":0,"characterName":"!AMPS-Objects-h1","direction":2,"pattern":2,"characterIndex":2},"list":[{"code":108,"indent":0,"parameters":["@MapObject {"]},{"code":408,"indent":0,"parameters":[" box,"]},{"code":408,"indent":0,"parameters":[" height:1,"]},{"code":408,"indent":0,"parameters":["}"]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":false}],"x":2,"y":9}, +{"id":3,"name":"EV003","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":true,"image":{"tileId":0,"characterName":"!AMPS-Objects-h1","direction":2,"pattern":2,"characterIndex":2},"list":[{"code":108,"indent":0,"parameters":["@MapObject {"]},{"code":408,"indent":0,"parameters":[" box,"]},{"code":408,"indent":0,"parameters":[" height:1,"]},{"code":408,"indent":0,"parameters":[" positional,"]},{"code":408,"indent":0,"parameters":["}"]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":false}],"x":6,"y":9}, +{"id":4,"name":"EV004","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"tileId":0,"characterName":"!AMPS-Objects1","direction":2,"pattern":0,"characterIndex":0},"list":[{"code":101,"indent":0,"parameters":["",0,0,2]},{"code":401,"indent":0,"parameters":["位置記憶OFF"]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":true}],"x":2,"y":11}, +{"id":5,"name":"EV005","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"tileId":0,"characterName":"!AMPS-Objects1","direction":2,"pattern":0,"characterIndex":0},"list":[{"code":101,"indent":0,"parameters":["",0,0,2]},{"code":401,"indent":0,"parameters":["位置記憶ON"]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":true}],"x":6,"y":11} +] +} \ No newline at end of file diff --git a/data/Map024.json b/data/Map024.json new file mode 100644 index 0000000..491390f --- /dev/null +++ b/data/Map024.json @@ -0,0 +1,8 @@ +{ +"autoplayBgm":false,"autoplayBgs":false,"battleback1Name":"","battleback2Name":"","bgm":{"name":"","pan":0,"pitch":100,"volume":90},"bgs":{"name":"","pan":0,"pitch":100,"volume":90},"disableDashing":false,"displayName":"","encounterList":[],"encounterStep":30,"height":13,"note":"","parallaxLoopX":false,"parallaxLoopY":false,"parallaxName":"","parallaxShow":true,"parallaxSx":0,"parallaxSy":0,"scrollType":0,"specifyBattleback":false,"tilesetId":2,"width":17, +"data":[2820,2844,2844,2844,2824,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7506,7492,7508,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7488,7472,7496,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7512,7500,7510,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7859,7858,7862,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7857,7856,7860,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2840,7865,7864,7868,2832,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2818,2836,2836,2836,2817,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], +"events":[ +null, +{"id":1,"name":"EV001","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0},"list":[{"code":201,"indent":0,"parameters":[0,23,2,7,2,0]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":0,"stepAnime":false,"through":false,"trigger":1,"walkAnime":true}],"x":2,"y":6} +] +} \ No newline at end of file diff --git a/data/Map025.json b/data/Map025.json new file mode 100644 index 0000000..433bdfe --- /dev/null +++ b/data/Map025.json @@ -0,0 +1,11 @@ +{ +"autoplayBgm":false,"autoplayBgs":false,"battleback1Name":"","battleback2Name":"","bgm":{"name":"","pan":0,"pitch":100,"volume":90},"bgs":{"name":"","pan":0,"pitch":100,"volume":90},"disableDashing":false,"displayName":"","encounterList":[],"encounterStep":30,"height":13,"note":"","parallaxLoopX":false,"parallaxLoopY":false,"parallaxName":"Ocean1","parallaxShow":true,"parallaxSx":0,"parallaxSy":0,"scrollType":0,"specifyBattleback":false,"tilesetId":2,"width":17, +"data":[1544,1544,1544,1544,1544,1544,1544,1544,1544,1544,7811,7810,7814,7440,7448,7815,7815,7540,7540,7540,7556,1544,1544,1544,1544,1544,7466,7809,7808,7812,7464,7462,7813,7813,7548,7548,7548,7558,1544,1544,1544,1544,1544,7468,7809,7808,7812,7810,7810,7813,7813,7811,7810,7810,7814,1544,1544,1544,1544,1544,7811,7809,7424,7812,7809,7808,7813,7813,7809,7809,7808,7812,1544,1544,1544,1544,1544,7813,7817,2836,7820,7809,7808,7813,7813,7809,7817,7816,7820,7466,1544,1544,1544,7458,7821,7424,7424,7424,7817,7816,7813,7813,7809,7458,7427,7444,7450,1544,1544,1544,7440,7424,7424,7424,7424,7424,7448,7813,7458,7809,7464,7432,7428,7462,1624,1625,1625,7440,7424,7428,7452,7452,7452,7462,7821,7440,7817,7815,7464,7462,7822,2858,2910,2858,7464,7452,7462,7818,7818,7818,7815,7467,7453,7460,7813,7814,7822,2850,2819,2836,2842,7819,7818,7815,1632,2858,1634,7813,7810,7814,7462,7813,7812,1632,2856,2844,2844,2846,2861,1634,7813,1640,2860,1634,7813,7816,7820,7815,7813,7813,1640,1641,1641,1641,1641,1641,1642,7821,1648,1632,1634,7821,2082,2068,7815,7813,7813,1648,1649,1649,1649,1649,1649,1650,2090,1656,1632,1634,2082,2049,2048,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3425,3437,3198,0,0,0,0,0,0,3150,0,0,0,0,0,0,0,3821,0,3822,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3150,0,0,0,0,0,0,0,0,0,0,0,0,0,3150,0,0,0,0,0,0,0,0,0,0,0,3150,3054,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3578,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3568,0,0,0,0,0,0,3150,0,0,0,0,0,0,3050,0,0,3580,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,5,0,0,0,5,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], +"events":[ +null, +null, +{"id":2,"name":"EV002","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":true,"image":{"tileId":0,"characterName":"!AMPS-Objects-h1","direction":2,"pattern":1,"characterIndex":2},"list":[{"code":108,"indent":0,"parameters":["@MapObject {"]},{"code":408,"indent":0,"parameters":[" box,"]},{"code":408,"indent":0,"parameters":[" height:1,"]},{"code":408,"indent":0,"parameters":[" positional,"]},{"code":408,"indent":0,"parameters":["}"]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":false}],"x":6,"y":10}, +{"id":3,"name":"EV003","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0},"list":[{"code":201,"indent":0,"parameters":[0,26,8,11,0,0]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":0,"stepAnime":false,"through":true,"trigger":1,"walkAnime":true}],"x":2,"y":5}, +{"id":4,"name":"EV004","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":true,"image":{"tileId":0,"characterName":"!$Gate2","direction":2,"pattern":0,"characterIndex":0},"list":[{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":true},{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":11,"switch1Valid":true,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":true,"image":{"tileId":0,"characterName":"!$Gate2","direction":8,"pattern":0,"characterIndex":0},"list":[{"code":221,"indent":0,"parameters":[]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":1,"walkAnime":true}],"x":11,"y":4} +] +} \ No newline at end of file diff --git a/data/Map026.json b/data/Map026.json new file mode 100644 index 0000000..7947665 --- /dev/null +++ b/data/Map026.json @@ -0,0 +1,9 @@ +{ +"autoplayBgm":false,"autoplayBgs":false,"battleback1Name":"","battleback2Name":"","bgm":{"name":"","pan":0,"pitch":100,"volume":90},"bgs":{"name":"","pan":0,"pitch":100,"volume":90},"disableDashing":false,"displayName":"","encounterList":[],"encounterStep":30,"height":13,"note":"","parallaxLoopX":false,"parallaxLoopY":false,"parallaxName":"","parallaxShow":true,"parallaxSx":0,"parallaxSy":0,"scrollType":0,"specifyBattleback":false,"tilesetId":4,"width":17, +"data":[6279,6279,6279,6279,6279,6275,6274,6274,6274,6274,6278,6275,6278,6275,6278,6279,6279,6277,6277,6277,6277,6277,6281,6280,6280,6280,6280,6284,6273,6276,6273,6276,6277,6277,6277,6285,6277,6272,6285,5922,5908,5908,5908,5908,5924,6273,6276,6273,6276,6277,6277,6277,6026,6277,6280,5922,5889,5892,5916,5916,5896,5912,6281,6284,6273,6276,6277,6277,6277,6016,6277,5922,5889,5892,5926,6274,6274,5928,5898,5908,5924,6273,6276,6277,6277,6277,6016,6285,5904,5888,5912,6278,6280,6280,6275,5928,5896,5912,6273,6276,6285,6277,6285,6016,5922,5889,5888,5912,6284,2859,2853,6281,6275,5904,5912,6281,6284,6026,6285,6004,6010,5904,5888,5888,5912,2858,2958,2833,2852,6281,5904,5890,5908,5924,6001,6004,5984,6008,5904,5888,5888,5912,2833,2837,2845,2826,2852,5904,5888,5892,5926,6000,5984,5984,6008,5904,5888,5888,5912,2832,2840,2958,2832,2840,5904,5888,5912,6018,5985,5984,5984,6008,5928,5896,5888,5912,2856,2846,2838,2817,2840,5904,5892,5926,6000,5984,5984,5984,5986,6020,5928,5896,5890,5924,2958,2834,2844,2854,5904,5912,6018,5985,5984,5984,5984,5984,5986,6020,5904,5888,5890,5924,2848,5922,5908,5889,5912,6000,5984,5984,5984,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3962,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3964,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], +"events":[ +null, +{"id":1,"name":"EV001","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0},"list":[{"code":201,"indent":0,"parameters":[0,25,2,6,2,0]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":0,"stepAnime":false,"through":true,"trigger":1,"walkAnime":true}],"x":8,"y":12}, +{"id":2,"name":"EV002","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"tileId":0,"characterName":"!Switch1","direction":2,"pattern":0,"characterIndex":0},"list":[{"code":250,"indent":0,"parameters":[{"name":"Key","volume":90,"pitch":100,"pan":0}]},{"code":205,"indent":0,"parameters":[0,{"list":[{"code":17,"indent":null},{"code":15,"parameters":[5],"indent":null},{"code":18,"indent":null},{"code":15,"parameters":[5],"indent":null},{"code":0}],"repeat":false,"skippable":false,"wait":true}]},{"code":505,"indent":0,"parameters":[{"code":17,"indent":null}]},{"code":505,"indent":0,"parameters":[{"code":15,"parameters":[5],"indent":null}]},{"code":505,"indent":0,"parameters":[{"code":18,"indent":null}]},{"code":505,"indent":0,"parameters":[{"code":15,"parameters":[5],"indent":null}]},{"code":230,"indent":0,"parameters":[10]},{"code":201,"indent":0,"parameters":[0,25,8,5,0,0]},{"code":211,"indent":0,"parameters":[0]},{"code":230,"indent":0,"parameters":[60]},{"code":121,"indent":0,"parameters":[11,11,0]},{"code":250,"indent":0,"parameters":[{"name":"Fire3","volume":90,"pitch":90,"pan":0}]},{"code":230,"indent":0,"parameters":[60]},{"code":201,"indent":0,"parameters":[0,26,8,9,0,0]},{"code":211,"indent":0,"parameters":[1]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":true},{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":11,"switch1Valid":true,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"tileId":0,"characterName":"!Switch1","direction":8,"pattern":0,"characterIndex":0},"list":[{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":1,"stepAnime":false,"through":false,"trigger":0,"walkAnime":true}],"x":8,"y":8} +] +} \ No newline at end of file diff --git a/data/MapInfos.json b/data/MapInfos.json index d75e3e0..24bb322 100644 --- a/data/MapInfos.json +++ b/data/MapInfos.json @@ -1,25 +1,29 @@ [ null, -{"id":1,"expanded":true,"name":"AMPS-Effects","order":17,"parentId":0,"scrollX":819,"scrollY":461}, +{"id":1,"expanded":true,"name":"AMPS-Effects","order":21,"parentId":0,"scrollX":819,"scrollY":461}, {"id":2,"expanded":true,"name":"Sample","order":2,"parentId":0,"scrollX":819,"scrollY":461}, -{"id":3,"expanded":true,"name":"Test-基本移動","order":9,"parentId":0,"scrollX":819,"scrollY":461}, -{"id":4,"expanded":false,"name":"Test-ジャンプ(ホール)","order":10,"parentId":3,"scrollX":819,"scrollY":461}, -{"id":5,"expanded":false,"name":"Test-ジャンプ(エッジ)","order":11,"parentId":3,"scrollX":811,"scrollY":461}, -{"id":6,"expanded":false,"name":"Sample1","order":3,"parentId":2,"scrollX":811,"scrollY":739}, -{"id":7,"expanded":true,"name":"Test-マップオブジェクト","order":13,"parentId":0,"scrollX":819,"scrollY":461}, -{"id":8,"expanded":true,"name":"Box-Static","order":14,"parentId":7,"scrollX":811,"scrollY":453}, -{"id":9,"expanded":false,"name":"Sample2","order":4,"parentId":2,"scrollX":819,"scrollY":460.5}, -{"id":10,"expanded":false,"name":"テンプレート置き場","order":1,"parentId":0,"scrollX":819,"scrollY":461}, -{"id":11,"expanded":false,"name":"Test-MapSkill","order":19,"parentId":0,"scrollX":819,"scrollY":461}, -{"id":12,"expanded":false,"name":"Front-Direct","order":20,"parentId":11,"scrollX":811,"scrollY":1161}, +{"id":3,"expanded":true,"name":"Test-基本移動","order":11,"parentId":0,"scrollX":819,"scrollY":461}, +{"id":4,"expanded":false,"name":"Test-ジャンプ(ホール)","order":12,"parentId":3,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":5,"expanded":false,"name":"Test-ジャンプ(エッジ)","order":13,"parentId":3,"scrollX":1390.2857142857142,"scrollY":790.2857142857142}, +{"id":6,"expanded":false,"name":"Sample1-Jump","order":3,"parentId":2,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":7,"expanded":true,"name":"Test-マップオブジェクト","order":15,"parentId":0,"scrollX":819,"scrollY":461}, +{"id":8,"expanded":true,"name":"Box-Static","order":16,"parentId":7,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":9,"expanded":false,"name":"Sample2-Box","order":4,"parentId":2,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":10,"expanded":false,"name":"テンプレート置き場","order":1,"parentId":0,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":11,"expanded":false,"name":"Test-MapSkill","order":23,"parentId":0,"scrollX":819,"scrollY":461}, +{"id":12,"expanded":false,"name":"Front-Direct","order":24,"parentId":11,"scrollX":811,"scrollY":1161}, {"id":13,"expanded":false,"name":"Sample6","order":8,"parentId":2,"scrollX":819,"scrollY":461}, -{"id":14,"expanded":false,"name":"Box-Push","order":15,"parentId":7,"scrollX":811,"scrollY":461}, -{"id":15,"expanded":false,"name":"Sample3","order":5,"parentId":2,"scrollX":832,"scrollY":640}, -{"id":16,"expanded":false,"name":"Sample4","order":6,"parentId":2,"scrollX":832,"scrollY":640}, -{"id":17,"expanded":false,"name":"Issues","order":18,"parentId":0,"scrollX":819,"scrollY":461}, -{"id":18,"expanded":false,"name":"Box-Falling","order":16,"parentId":7,"scrollX":819,"scrollY":461}, -{"id":19,"expanded":false,"name":"Sample5","order":7,"parentId":2,"scrollX":819,"scrollY":461}, -{"id":20,"expanded":true,"name":"Test-設定","order":21,"parentId":0,"scrollX":819,"scrollY":461}, -{"id":21,"expanded":false,"name":"ワールドマップ","order":22,"parentId":20,"scrollX":819,"scrollY":461}, -{"id":22,"expanded":false,"name":"滑る床","order":12,"parentId":3,"scrollX":819,"scrollY":461} +{"id":14,"expanded":false,"name":"Box-Push","order":17,"parentId":7,"scrollX":811,"scrollY":461}, +{"id":15,"expanded":false,"name":"Sample3-PushBox","order":5,"parentId":2,"scrollX":832,"scrollY":640}, +{"id":16,"expanded":false,"name":"Sample4-PushBox","order":6,"parentId":2,"scrollX":832,"scrollY":640}, +{"id":17,"expanded":false,"name":"Issues","order":22,"parentId":0,"scrollX":819,"scrollY":461}, +{"id":18,"expanded":false,"name":"Box-Falling","order":18,"parentId":7,"scrollX":819,"scrollY":461}, +{"id":19,"expanded":false,"name":"Sample5-CollapseBox","order":7,"parentId":2,"scrollX":832,"scrollY":640}, +{"id":20,"expanded":true,"name":"Test-設定","order":25,"parentId":0,"scrollX":819,"scrollY":461}, +{"id":21,"expanded":false,"name":"ワールドマップ","order":26,"parentId":20,"scrollX":819,"scrollY":461}, +{"id":22,"expanded":false,"name":"滑る床","order":14,"parentId":3,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":23,"expanded":true,"name":"位置記憶","order":19,"parentId":7,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":24,"expanded":false,"name":"位置記憶2","order":20,"parentId":23,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":25,"expanded":true,"name":"Sample6-Positional","order":9,"parentId":2,"scrollX":1404,"scrollY":790.2857142857142}, +{"id":26,"expanded":false,"name":"Sample6-Positional-sub","order":10,"parentId":25,"scrollX":1404,"scrollY":790.2857142857142} ] \ No newline at end of file diff --git a/data/System.json b/data/System.json index d55f4d4..a94bca6 100644 --- a/data/System.json +++ b/data/System.json @@ -1 +1 @@ -{"airship":{"bgm":{"name":"Ship3","pan":0,"pitch":100,"volume":90},"characterIndex":3,"characterName":"Vehicle","startMapId":0,"startX":0,"startY":0},"armorTypes":["","一般防具","魔法防具","軽装防具","重装防具","小型盾","大型盾"],"attackMotions":[{"type":0,"weaponImageId":0},{"type":1,"weaponImageId":1},{"type":1,"weaponImageId":2},{"type":1,"weaponImageId":3},{"type":1,"weaponImageId":4},{"type":1,"weaponImageId":5},{"type":1,"weaponImageId":6},{"type":2,"weaponImageId":7},{"type":2,"weaponImageId":8},{"type":2,"weaponImageId":9},{"type":0,"weaponImageId":10},{"type":0,"weaponImageId":11},{"type":0,"weaponImageId":12}],"battleBgm":{"name":"Battle1","pan":0,"pitch":100,"volume":90},"battleback1Name":"Grassland","battleback2Name":"Grassland","battlerHue":0,"battlerName":"Dragon","boat":{"bgm":{"name":"Ship1","pan":0,"pitch":100,"volume":90},"characterIndex":0,"characterName":"Vehicle","startMapId":0,"startX":0,"startY":0},"currencyUnit":"G","defeatMe":{"name":"Defeat1","pan":0,"pitch":100,"volume":90},"editMapId":22,"elements":["","物理","炎","氷","雷","水","土","風","光","闇"],"equipTypes":["","武器","盾","頭","身体","装飾品"],"gameTitle":"LN_AdvancedMapPuzzleSystem","gameoverMe":{"name":"Gameover1","pan":0,"pitch":100,"volume":90},"locale":"ja_JP","magicSkills":[1],"menuCommands":[true,true,true,true,true,true],"optDisplayTp":true,"optDrawTitle":true,"optExtraExp":false,"optFloorDeath":false,"optFollowers":false,"optSideView":false,"optSlipDeath":false,"optTransparent":false,"partyMembers":[1,2,3,4],"ship":{"bgm":{"name":"Ship2","pan":0,"pitch":100,"volume":90},"characterIndex":1,"characterName":"Vehicle","startMapId":0,"startX":0,"startY":0},"skillTypes":["","魔法","必殺技"],"sounds":[{"name":"Cursor2","pan":0,"pitch":100,"volume":90},{"name":"Decision1","pan":0,"pitch":100,"volume":15},{"name":"Cancel2","pan":0,"pitch":100,"volume":90},{"name":"Buzzer1","pan":0,"pitch":100,"volume":90},{"name":"Equip1","pan":0,"pitch":100,"volume":90},{"name":"Save","pan":0,"pitch":100,"volume":90},{"name":"Load","pan":0,"pitch":100,"volume":90},{"name":"Battle1","pan":0,"pitch":100,"volume":90},{"name":"Run","pan":0,"pitch":100,"volume":90},{"name":"Attack3","pan":0,"pitch":100,"volume":90},{"name":"Damage4","pan":0,"pitch":100,"volume":90},{"name":"Collapse1","pan":0,"pitch":100,"volume":90},{"name":"Collapse2","pan":0,"pitch":100,"volume":90},{"name":"Collapse3","pan":0,"pitch":100,"volume":90},{"name":"Damage5","pan":0,"pitch":100,"volume":90},{"name":"Collapse4","pan":0,"pitch":100,"volume":90},{"name":"Recovery","pan":0,"pitch":100,"volume":90},{"name":"Miss","pan":0,"pitch":100,"volume":90},{"name":"Evasion1","pan":0,"pitch":100,"volume":90},{"name":"Evasion2","pan":0,"pitch":100,"volume":90},{"name":"Reflection","pan":0,"pitch":100,"volume":90},{"name":"Shop1","pan":0,"pitch":100,"volume":90},{"name":"Item3","pan":0,"pitch":100,"volume":90},{"name":"Item3","pan":0,"pitch":100,"volume":90}],"startMapId":22,"startX":2,"startY":5,"switches":["","","","","","","","","","","Sample2-1","","","","","","","","","",""],"terms":{"basic":["レベル","Lv","HP","HP","MP","MP","TP","TP","経験値","EXP"],"commands":["戦う","逃げる","攻撃","防御","アイテム","スキル","装備","ステータス","並び替え","セーブ","ゲーム終了","オプション","武器","防具","大事なもの","装備","最強装備","全て外す","ニューゲーム","コンティニュー",null,"タイトルへ","やめる",null,"購入する","売却する"],"params":["最大HP","最大MP","攻撃力","防御力","魔法力","魔法防御","敏捷性","運","命中率","回避率"],"messages":{"actionFailure":"%1には効かなかった!","actorDamage":"%1は %2 のダメージを受けた!","actorDrain":"%1は%2を %3 奪われた!","actorGain":"%1の%2が %3 増えた!","actorLoss":"%1の%2が %3 減った!","actorNoDamage":"%1はダメージを受けていない!","actorNoHit":"ミス! %1はダメージを受けていない!","actorRecovery":"%1の%2が %3 回復した!","alwaysDash":"常時ダッシュ","bgmVolume":"BGM 音量","bgsVolume":"BGS 音量","buffAdd":"%1の%2が上がった!","buffRemove":"%1の%2が元に戻った!","commandRemember":"コマンド記憶","counterAttack":"%1の反撃!","criticalToActor":"痛恨の一撃!!","criticalToEnemy":"会心の一撃!!","debuffAdd":"%1の%2が下がった!","defeat":"%1は戦いに敗れた。","emerge":"%1が出現!","enemyDamage":"%1に %2 のダメージを与えた!","enemyDrain":"%1の%2を %3 奪った!","enemyGain":"%1の%2が %3 増えた!","enemyLoss":"%1の%2が %3 減った!","enemyNoDamage":"%1にダメージを与えられない!","enemyNoHit":"ミス! %1にダメージを与えられない!","enemyRecovery":"%1の%2が %3 回復した!","escapeFailure":"しかし逃げることはできなかった!","escapeStart":"%1は逃げ出した!","evasion":"%1は攻撃をかわした!","expNext":"次の%1まで","expTotal":"現在の%1","file":"ファイル","levelUp":"%1は%2 %3 に上がった!","loadMessage":"どのファイルをロードしますか?","magicEvasion":"%1は魔法を打ち消した!","magicReflection":"%1は魔法を跳ね返した!","meVolume":"ME 音量","obtainExp":"%1 の%2を獲得!","obtainGold":"お金を %1\\G 手に入れた!","obtainItem":"%1を手に入れた!","obtainSkill":"%1を覚えた!","partyName":"%1たち","possession":"持っている数","preemptive":"%1は先手を取った!","saveMessage":"どのファイルにセーブしますか?","seVolume":"SE 音量","substitute":"%1が%2をかばった!","surprise":"%1は不意をつかれた!","useItem":"%1は%2を使った!","victory":"%1の勝利!"}},"testBattlers":[{"actorId":1,"equips":[1,1,2,3,0],"level":1},{"actorId":2,"equips":[2,1,2,3,0],"level":1},{"actorId":3,"equips":[3,0,2,3,4],"level":1},{"actorId":4,"equips":[4,0,2,3,4],"level":1}],"testTroopId":4,"title1Name":"Castle","title2Name":"","titleBgm":{"name":"","pan":0,"pitch":100,"volume":90},"variables":["","","","","","","","","","","","","","","","","","","","",""],"versionId":40900906,"victoryMe":{"name":"Victory1","pan":0,"pitch":100,"volume":90},"weaponTypes":["","短剣","剣","フレイル","斧","ムチ","杖","弓","クロスボウ","銃","爪","グローブ","槍"],"windowTone":[0,0,0,0]} \ No newline at end of file +{"airship":{"bgm":{"name":"Ship3","pan":0,"pitch":100,"volume":90},"characterIndex":3,"characterName":"Vehicle","startMapId":0,"startX":0,"startY":0},"armorTypes":["","一般防具","魔法防具","軽装防具","重装防具","小型盾","大型盾"],"attackMotions":[{"type":0,"weaponImageId":0},{"type":1,"weaponImageId":1},{"type":1,"weaponImageId":2},{"type":1,"weaponImageId":3},{"type":1,"weaponImageId":4},{"type":1,"weaponImageId":5},{"type":1,"weaponImageId":6},{"type":2,"weaponImageId":7},{"type":2,"weaponImageId":8},{"type":2,"weaponImageId":9},{"type":0,"weaponImageId":10},{"type":0,"weaponImageId":11},{"type":0,"weaponImageId":12}],"battleBgm":{"name":"Battle1","pan":0,"pitch":100,"volume":90},"battleback1Name":"Grassland","battleback2Name":"Grassland","battlerHue":0,"battlerName":"Dragon","boat":{"bgm":{"name":"Ship1","pan":0,"pitch":100,"volume":90},"characterIndex":0,"characterName":"Vehicle","startMapId":0,"startX":0,"startY":0},"currencyUnit":"G","defeatMe":{"name":"Defeat1","pan":0,"pitch":100,"volume":90},"editMapId":25,"elements":["","物理","炎","氷","雷","水","土","風","光","闇"],"equipTypes":["","武器","盾","頭","身体","装飾品"],"gameTitle":"LN_AdvancedMapPuzzleSystem","gameoverMe":{"name":"Gameover1","pan":0,"pitch":100,"volume":90},"locale":"ja_JP","magicSkills":[1],"menuCommands":[true,true,true,true,true,true],"optDisplayTp":true,"optDrawTitle":true,"optExtraExp":false,"optFloorDeath":false,"optFollowers":false,"optSideView":false,"optSlipDeath":false,"optTransparent":false,"partyMembers":[1,2,3,4],"ship":{"bgm":{"name":"Ship2","pan":0,"pitch":100,"volume":90},"characterIndex":1,"characterName":"Vehicle","startMapId":0,"startX":0,"startY":0},"skillTypes":["","魔法","必殺技"],"sounds":[{"name":"Cursor2","pan":0,"pitch":100,"volume":90},{"name":"Decision1","pan":0,"pitch":100,"volume":15},{"name":"Cancel2","pan":0,"pitch":100,"volume":90},{"name":"Buzzer1","pan":0,"pitch":100,"volume":90},{"name":"Equip1","pan":0,"pitch":100,"volume":90},{"name":"Save","pan":0,"pitch":100,"volume":90},{"name":"Load","pan":0,"pitch":100,"volume":90},{"name":"Battle1","pan":0,"pitch":100,"volume":90},{"name":"Run","pan":0,"pitch":100,"volume":90},{"name":"Attack3","pan":0,"pitch":100,"volume":90},{"name":"Damage4","pan":0,"pitch":100,"volume":90},{"name":"Collapse1","pan":0,"pitch":100,"volume":90},{"name":"Collapse2","pan":0,"pitch":100,"volume":90},{"name":"Collapse3","pan":0,"pitch":100,"volume":90},{"name":"Damage5","pan":0,"pitch":100,"volume":90},{"name":"Collapse4","pan":0,"pitch":100,"volume":90},{"name":"Recovery","pan":0,"pitch":100,"volume":90},{"name":"Miss","pan":0,"pitch":100,"volume":90},{"name":"Evasion1","pan":0,"pitch":100,"volume":90},{"name":"Evasion2","pan":0,"pitch":100,"volume":90},{"name":"Reflection","pan":0,"pitch":100,"volume":90},{"name":"Shop1","pan":0,"pitch":100,"volume":90},{"name":"Item3","pan":0,"pitch":100,"volume":90},{"name":"Item3","pan":0,"pitch":100,"volume":90}],"startMapId":6,"startX":10,"startY":21,"switches":["","","","","","","","","","","Sample2-1","Sample6-1","","","","","","","","",""],"terms":{"basic":["レベル","Lv","HP","HP","MP","MP","TP","TP","経験値","EXP"],"commands":["戦う","逃げる","攻撃","防御","アイテム","スキル","装備","ステータス","並び替え","セーブ","ゲーム終了","オプション","武器","防具","大事なもの","装備","最強装備","全て外す","ニューゲーム","コンティニュー",null,"タイトルへ","やめる",null,"購入する","売却する"],"params":["最大HP","最大MP","攻撃力","防御力","魔法力","魔法防御","敏捷性","運","命中率","回避率"],"messages":{"actionFailure":"%1には効かなかった!","actorDamage":"%1は %2 のダメージを受けた!","actorDrain":"%1は%2を %3 奪われた!","actorGain":"%1の%2が %3 増えた!","actorLoss":"%1の%2が %3 減った!","actorNoDamage":"%1はダメージを受けていない!","actorNoHit":"ミス! %1はダメージを受けていない!","actorRecovery":"%1の%2が %3 回復した!","alwaysDash":"常時ダッシュ","bgmVolume":"BGM 音量","bgsVolume":"BGS 音量","buffAdd":"%1の%2が上がった!","buffRemove":"%1の%2が元に戻った!","commandRemember":"コマンド記憶","counterAttack":"%1の反撃!","criticalToActor":"痛恨の一撃!!","criticalToEnemy":"会心の一撃!!","debuffAdd":"%1の%2が下がった!","defeat":"%1は戦いに敗れた。","emerge":"%1が出現!","enemyDamage":"%1に %2 のダメージを与えた!","enemyDrain":"%1の%2を %3 奪った!","enemyGain":"%1の%2が %3 増えた!","enemyLoss":"%1の%2が %3 減った!","enemyNoDamage":"%1にダメージを与えられない!","enemyNoHit":"ミス! %1にダメージを与えられない!","enemyRecovery":"%1の%2が %3 回復した!","escapeFailure":"しかし逃げることはできなかった!","escapeStart":"%1は逃げ出した!","evasion":"%1は攻撃をかわした!","expNext":"次の%1まで","expTotal":"現在の%1","file":"ファイル","levelUp":"%1は%2 %3 に上がった!","loadMessage":"どのファイルをロードしますか?","magicEvasion":"%1は魔法を打ち消した!","magicReflection":"%1は魔法を跳ね返した!","meVolume":"ME 音量","obtainExp":"%1 の%2を獲得!","obtainGold":"お金を %1\\G 手に入れた!","obtainItem":"%1を手に入れた!","obtainSkill":"%1を覚えた!","partyName":"%1たち","possession":"持っている数","preemptive":"%1は先手を取った!","saveMessage":"どのファイルにセーブしますか?","seVolume":"SE 音量","substitute":"%1が%2をかばった!","surprise":"%1は不意をつかれた!","useItem":"%1は%2を使った!","victory":"%1の勝利!"}},"testBattlers":[{"actorId":1,"equips":[1,1,2,3,0],"level":1},{"actorId":2,"equips":[2,1,2,3,0],"level":1},{"actorId":3,"equips":[3,0,2,3,4],"level":1},{"actorId":4,"equips":[4,0,2,3,4],"level":1}],"testTroopId":4,"title1Name":"Castle","title2Name":"","titleBgm":{"name":"","pan":0,"pitch":100,"volume":90},"variables":["","","","","","","","","","","","","","","","","","","","",""],"versionId":39896847,"victoryMe":{"name":"Victory1","pan":0,"pitch":100,"volume":90},"weaponTypes":["","短剣","剣","フレイル","斧","ムチ","杖","弓","クロスボウ","銃","爪","グローブ","槍"],"windowTone":[0,0,0,0]} \ No newline at end of file diff --git a/docs/Gallery.md b/docs/Gallery.md index 3c53bcf..3f855b1 100644 --- a/docs/Gallery.md +++ b/docs/Gallery.md @@ -1,13 +1,27 @@ Gallery ========== +### Sample6-Positional + +![](img/Sample6.gif) + +### Sample5-CollapseBox + ![](img/Sample5.gif) +### Sample4-PushBox + ![](img/Sample4.gif) +### Sample3-PushBox + ![](img/Sample3.gif) +### Sample2-Box + ![](img/Sample2.gif) +### Sample1-Jump + ![](img/Sample1.gif) diff --git a/docs/img/20.png b/docs/img/20.png new file mode 100644 index 0000000..f0a5fd5 Binary files /dev/null and b/docs/img/20.png differ diff --git a/docs/img/Sample6.gif b/docs/img/Sample6.gif new file mode 100644 index 0000000..88ef503 Binary files /dev/null and b/docs/img/Sample6.gif differ diff --git a/header.txt b/header.txt index b82df29..8e59ca7 100644 --- a/header.txt +++ b/header.txt @@ -10,7 +10,7 @@ //============================================================================= /*:ja - * @plugindesc 謎解きマップシステムプラグイン v0.4.4 + * @plugindesc 謎解きマップシステムプラグイン v0.5.0 * @author lriki * * @help マップ上のキャラクター移動やイベントシステムを拡張し、謎解きの幅を広げるための様々な機能を追加します。 diff --git a/js/plugins.js b/js/plugins.js index 7a459a1..d69aa33 100644 --- a/js/plugins.js +++ b/js/plugins.js @@ -4,7 +4,7 @@ var $plugins = [ {"name":"Community_Basic","status":true,"description":"基本的なパラメーターを設定するプラグインです。","parameters":{"cacheLimit":"20","screenWidth":"816","screenHeight":"624","changeWindowWidthTo":"","changeWindowHeightTo":"","renderingMode":"auto","alwaysDash":"off"}}, {"name":"MadeWithMv","status":false,"description":"メイン画面へ進む前に、\"Made with MV\"のスプラッシュ画面もしくはカスタマイズされたスプラッシュ画面を表示します。","parameters":{"Show Made With MV":"true","Made with MV Image":"MadeWithMv","Show Custom Splash":"false","Custom Image":"","Fade Out Time":"120","Fade In Time":"120","Wait Time":"160"}}, -{"name":"HalfMove","status":false,"description":"半歩移動プラグイン","parameters":{"8方向移動":"true","8方向移動スイッチ":"0","イベントすり抜け":"false","強制中無効":"false","角回避":"true","斜め移動中減速":"false","トリガー拡大":"false","実歩数調整":"false","上半分移動不可地形":"0","上半分移動不可Region":"0","下半分移動不可地形":"0","下半分移動不可Region":"0","右半分移動不可地形":"0","右半分移動不可Region":"0","左半分移動不可地形":"0","左半分移動不可Region":"0","全方向移動不可地形":"0","全方向移動不可Region":"0","イベント複数起動防止":"false","イベント位置重複OK":"false"}}, +{"name":"HalfMove","status":true,"description":"半歩移動プラグイン","parameters":{"8方向移動":"true","8方向移動スイッチ":"0","イベントすり抜け":"false","強制中無効":"false","角回避":"true","斜め移動中減速":"false","トリガー拡大":"false","実歩数調整":"false","上半分移動不可地形":"0","上半分移動不可Region":"0","下半分移動不可地形":"0","下半分移動不可Region":"0","右半分移動不可地形":"0","右半分移動不可Region":"0","左半分移動不可地形":"0","左半分移動不可Region":"0","全方向移動不可地形":"0","全方向移動不可Region":"0","イベント複数起動防止":"false","イベント位置重複OK":"false"}}, {"name":"SAN_AnalogMove","status":false,"description":"アナログムーブ 3.1.5\r\nパーティキャラクターの移動をドット移動に変更します。","parameters":{}}, -{"name":"LN_AdvancedMapPuzzleSystem","status":true,"description":"謎解きマップシステムプラグイン v0.4.4","parameters":{"MapSkillEffectsMapId":"1","GuideLineTerrainTag":"7","AllowAllMapPuzzles":"true"}} +{"name":"LN_AdvancedMapPuzzleSystem","status":true,"description":"謎解きマップシステムプラグイン v0.5.0","parameters":{"MapSkillEffectsMapId":"1","GuideLineTerrainTag":"7","AllowAllMapPuzzles":"true"}} ]; diff --git a/js/plugins/LN_AdvancedMapPuzzleSystem.js b/js/plugins/LN_AdvancedMapPuzzleSystem.js index 173c160..700b2a7 100644 --- a/js/plugins/LN_AdvancedMapPuzzleSystem.js +++ b/js/plugins/LN_AdvancedMapPuzzleSystem.js @@ -10,7 +10,7 @@ //============================================================================= /*:ja - * @plugindesc 謎解きマップシステムプラグイン v0.4.4 + * @plugindesc 謎解きマップシステムプラグイン v0.5.0 * @author lriki * * @help マップ上のキャラクター移動やイベントシステムを拡張し、謎解きの幅を広げるための様々な機能を追加します。 @@ -38,4 +38,4 @@ */ -!function(i){var r={};function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}n.m=i,n.c=r,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="LN_AdvancedMapPuzzleSystem";t.paramMapSkillEffectsMapId=Number(PluginManager.parameters(r).MapSkillEffectsMapId),t.paramGuideLineTerrainTag=Number(PluginManager.parameters(r).GuideLineTerrainTag),t.paramFallingSpeed=5,t.paramAllowAllMapPuzzles=!0;var n=PluginManager.parameters(r).AllowAllMapPuzzles;null!=n&&(t.paramAllowAllMapPuzzles="true"===n.toLowerCase()),t.paramSlipRegion=1,t.paramSlippingAnimationPattern=2},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),a=DataManager.onLoad;DataManager.onLoad=function(e){if(a.call(this,e),0=this._getonoffFrameMax&&(this._movingMode=o.MovingMode.Stopping)):M.call(this),n==this.isMoving()||this.isMoving()||(this._moveToFalling?(this._moveToFalling=!1,this.startFall()):this.raiseStepEnd())};var y=Game_CharacterBase.prototype.updateJump;Game_CharacterBase.prototype.updateJump=function(){var e,t,i,r,n,a=this.isJumping();y.call(this),this.isRidding()&&a&&(this._movingMode!=o.MovingMode.GroundToObject&&this._movingMode!=o.MovingMode.ObjectToObject||(e=this.riddingObject())&&(t=e._realX,i=e._realY-e.objectHeight(),r=2*this._jumpPeak,n=Math.min((r-this._jumpCount+1)/r,1),this._realX=c.MovingHelper.linear(n,this._getonoffStartX,t-this._getonoffStartX,1),this._realY=c.MovingHelper.linear(n,this._getonoffStartY,i-this._getonoffStartY,1),this._x=e._x,this._y=e._y-e.objectHeight())),this.isJumping()||(this._extraJumping=!1,this._movingMode=o.MovingMode.Stopping,a!=this.isJumping()&&this.onJumpEnd())},Game_CharacterBase.prototype.updateFall=function(){this.isMoving()||(this._fallingState==r.Failling&&($gameMap.terrainTag(this._x,this._y)==s.paramGuideLineTerrainTag||this.attemptMoveGroundToObject(2,!0)?this._fallingState=r.EpilogueToRide:this.moveStraightMain(2)),this._fallingState==r.EpilogueToRide&&(this._fallingState=r.None,this.setThrough(this._fallingOriginalThrough),this.setMoveSpeed(this._fallingOriginalSpeed),this.raiseStepEnd(),p.AMPS_SoundManager.playGSFalled()))},Game_CharacterBase.prototype.resetGetOnOffParams=function(){this._getonoffFrameMax=1/this.distancePerFrame(),this._getonoffFrameCount=0,this._getonoffStartX=this._realX,this._getonoffStartY=this._realY},Game_CharacterBase.prototype.raiseStepEnd=function(){this.onStepEnd(),this.isOnSlipperyTile()?($gameTemp.clearDestination(),this.moveStraight(this._movingDirection),this.isMovementSucceeded(this.x,this.y)||this.raiseStop()):this.raiseStop()},Game_CharacterBase.prototype.raiseStop=function(){this.onStop()},Game_CharacterBase.prototype.onStepEnd=function(){},Game_CharacterBase.prototype.onStop=function(){var e;this._movingSequel&&this._movingSequel.onOwnerStepEnding(this),0<=this._movingSequelOwnerCharacterId&&((e=c.MovingHelper.getCharacterById(this._movingSequelOwnerCharacterId))._movingSequel&&e._movingSequel.onTargetStepEnding(this)),this.isRidding()||(this._ridingScreenZPriority=-1);var t=this.riddingObject();t&&t.onRideOnEvent()},Game_CharacterBase.prototype.onJumpEnd=function(){var e=this.riddingObject();e&&e.onRideOnEvent()},Game_CharacterBase.prototype.onRideOnEvent=function(){},Game_CharacterBase.prototype.onStartFalling=function(){};var S=Game_CharacterBase.prototype.isHalfMove;Game_CharacterBase.prototype.isHalfMove=function(){return!!this.isMover()&&(!this._forcePositionAdjustment&&(!!S&&S.call(this)))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Game_Player.prototype.objectId=function(){return 0};var r=Game_Player.prototype.isCollided;Game_Player.prototype.isCollided=function(e,t){return!this.isRidding()&&r.call(this,e,t)};var n=Game_Player.prototype.canMove;Game_Player.prototype.canMove=function(){return!this._movingSequel&&n.call(this)};var a=Game_Player.prototype.isDashing;Game_Player.prototype.isDashing=function(){return!this._movingSequel&&(!this.isOnSlipperyTile()&&a.call(this))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s,r,n=i(0),c=i(2),a=i(1),o=i(3);(r=s=s||{})[r.Default=0]="Default",r[r.Front=1]="Front",Game_Event.prototype.clearMapObjectSettings=function(){this._objectTypeBox=!1,this._objectTypeEffect=!1,this._objectTypeReactor=!1,this._objectHeight=-1,this._fallable=!1,this._mapObjectEventTrigger=c.EventTrigger.None,this._mapSkillRange=-1,this._reactionMapSkill="",this._mapSkillEffectInitialPosition=s.Default};var p=Game_Event.prototype.initMembers;Game_Event.prototype.initMembers=function(){p.call(this),this._objectHeight=-1,this._fallable=!1,this._mapObjectEventTrigger=c.EventTrigger.None,this._mapSkillEffectDataId=a.AMPSManager.tempMapSkillEffectDataId,this._mapSkillEffectInvokerId=a.AMPSManager.tempMapSkillEffectInvokerId,this._mapSkillEffectInitialPosition=s.Default};var h=Game_Event.prototype.event;Game_Event.prototype.event=function(){if(0>12!=s.paramGuideLineTerrainTag&&0==(16&o)){if(0==(o&i))return!0;if((o&i)===i)return!1}}return!1},Game_Map.prototype.checkNotPassageAll=function(e,t){for(var i=this.tilesetFlags(),r=this.allTiles(e,t),n=0,a=0;a=this._getonoffFrameMax&&(this._movingMode=o.MovingMode.Stopping)):M.call(this),a==this.isMoving()||this.isMoving()||(this._moveToFalling?(this._moveToFalling=!1,this.startFall()):this.raiseStepEnd())};var y=Game_CharacterBase.prototype.updateJump;Game_CharacterBase.prototype.updateJump=function(){var e,t,i,r,a,n=this.isJumping();y.call(this),this.isRidding()&&n&&(this._movingMode!=o.MovingMode.GroundToObject&&this._movingMode!=o.MovingMode.ObjectToObject||(e=this.riddingObject())&&(t=e._realX,i=e._realY-e.objectHeight(),r=2*this._jumpPeak,a=Math.min((r-this._jumpCount+1)/r,1),this._realX=c.MovingHelper.linear(a,this._getonoffStartX,t-this._getonoffStartX,1),this._realY=c.MovingHelper.linear(a,this._getonoffStartY,i-this._getonoffStartY,1),this._x=e._x,this._y=e._y-e.objectHeight())),this.isJumping()||(this._extraJumping=!1,this._movingMode=o.MovingMode.Stopping,n!=this.isJumping()&&this.onJumpEnd())},Game_CharacterBase.prototype.updateFall=function(){this.isMoving()||(this._fallingState==r.Failling&&($gameMap.terrainTag(this._x,this._y)==s.paramGuideLineTerrainTag||this.attemptMoveGroundToObject(2,!0)?this._fallingState=r.EpilogueToRide:this.moveStraightMain(2)),this._fallingState==r.EpilogueToRide&&(this._fallingState=r.None,this.setThrough(this._fallingOriginalThrough),this.setMoveSpeed(this._fallingOriginalSpeed),this.raiseStepEnd(),p.AMPS_SoundManager.playGSFalled()))},Game_CharacterBase.prototype.resetGetOnOffParams=function(){this._getonoffFrameMax=1/this.distancePerFrame(),this._getonoffFrameCount=0,this._getonoffStartX=this._realX,this._getonoffStartY=this._realY},Game_CharacterBase.prototype.raiseStepEnd=function(){this.onStepEnd(),this.isOnSlipperyTile()?($gameTemp.clearDestination(),this.moveStraight(this._movingDirection),this.isMovementSucceeded(this.x,this.y)||this.raiseStop()):this.raiseStop()},Game_CharacterBase.prototype.raiseStop=function(){this.onStop()},Game_CharacterBase.prototype.onStepEnd=function(){},Game_CharacterBase.prototype.onStop=function(){var e;this._movingSequel&&this._movingSequel.onOwnerStepEnding(this),0<=this._movingSequelOwnerCharacterId&&((e=c.MovingHelper.getCharacterById(this._movingSequelOwnerCharacterId))._movingSequel&&e._movingSequel.onTargetStepEnding(this)),this.isRidding()||(this._ridingScreenZPriority=-1);var t=this.riddingObject();t&&t.onRideOnEvent()},Game_CharacterBase.prototype.onJumpEnd=function(){var e=this.riddingObject();e&&e.onRideOnEvent()},Game_CharacterBase.prototype.onRideOnEvent=function(){},Game_CharacterBase.prototype.onStartFalling=function(){};var S=Game_CharacterBase.prototype.isHalfMove;Game_CharacterBase.prototype.isHalfMove=function(){return!!this.isMover()&&(!this._forcePositionAdjustment&&(!!S&&S.call(this)))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Game_Player.prototype.objectId=function(){return 0};var r=Game_Player.prototype.isCollided;Game_Player.prototype.isCollided=function(e,t){return!this.isRidding()&&r.call(this,e,t)};var a=Game_Player.prototype.canMove;Game_Player.prototype.canMove=function(){return!this._movingSequel&&a.call(this)};var n=Game_Player.prototype.isDashing;Game_Player.prototype.isDashing=function(){return!this._movingSequel&&(!this.isOnSlipperyTile()&&n.call(this))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s,r,a=i(0),c=i(2),n=i(1),o=i(3);(r=s=s||{})[r.Default=0]="Default",r[r.Front=1]="Front",Game_Event.prototype.clearMapObjectSettings=function(){this._objectTypeBox=!1,this._objectTypeEffect=!1,this._objectTypeReactor=!1,this._objectHeight=-1,this._fallable=!1,this._mapObjectEventTrigger=c.EventTrigger.None,this._mapSkillRange=-1,this._reactionMapSkill="",this._positionalObject=!1,this._mapSkillEffectInitialPosition=s.Default};var p=Game_Event.prototype.initMembers;Game_Event.prototype.initMembers=function(){p.call(this),this._objectHeight=-1,this._fallable=!1,this._mapObjectEventTrigger=c.EventTrigger.None,this._mapSkillEffectDataId=n.AMPSManager.tempMapSkillEffectDataId,this._mapSkillEffectInvokerId=n.AMPSManager.tempMapSkillEffectInvokerId,this._mapSkillEffectInitialPosition=s.Default};var h=Game_Event.prototype.event;Game_Event.prototype.event=function(){if(0>12!=s.paramGuideLineTerrainTag&&0==(16&o)){if(0==(o&i))return!0;if((o&i)===i)return!1}}return!1},Game_Map.prototype.checkNotPassageAll=function(e,t){for(var i=this.tilesetFlags(),r=this.allTiles(e,t),a=0,n=0;n import { paramMapSkillEffectsMapId } from "./PluginParameters"; +import { Game_AMPSVariables } from "./Game_AMPSVariables"; //var $effectsMapData: IDataMap; //var $dataMap = null; @@ -38,6 +39,7 @@ DataManager.onLoad = function(object: any) { export class AMPSManager { + static gameAMPSVariables: Game_AMPSVariables = new Game_AMPSVariables(); static tempMapSkillEffectDataId: number = -1; static tempMapSkillEffectInvokerId: number = -1; diff --git a/ts/DataManager.ts b/ts/DataManager.ts new file mode 100644 index 0000000..1b4a052 --- /dev/null +++ b/ts/DataManager.ts @@ -0,0 +1,37 @@ + +/// +/// +import { paramGuideLineTerrainTag } from './PluginParameters' +import { Game_AMPSVariables, Game_AMPSVariablesData } from './Game_AMPSVariables'; +import { AMPSManager } from './AMPSManager'; + +//export var g_gameAMPSVariables: Game_AMPSVariables; + +//var _SoundManager_preloadImportantSounds = SoundManager.preloadImportantSounds; +//S/oundManager.preloadImportantSounds = function() { +// _SoundManager_preloadImportantSounds.call(SoundManager); + +declare global { + interface ISaveContents + { + ampsVariables? : Game_AMPSVariablesData; + } +} + +const DataManager_makeSaveContents = DataManager.makeSaveContents; +DataManager.makeSaveContents = function() { + var contents = DataManager_makeSaveContents.call(DataManager); + contents.ampsVariables = AMPSManager.gameAMPSVariables._data; + console.log("save", contents.ampsVariables); + return contents; +}; + +const DataManager_extractSaveContents = DataManager.extractSaveContents; +DataManager.extractSaveContents = function(contents) { + DataManager_extractSaveContents.call(DataManager, contents); + let anyContents = (contents as any); + console.log("load", anyContents.ampsVariables); + if (anyContents.ampsVariables) { + AMPSManager.gameAMPSVariables._data = anyContents.ampsVariables;// as Game_AMPSVariables; + } +}; diff --git a/ts/Game_AMPSVariables.ts b/ts/Game_AMPSVariables.ts new file mode 100644 index 0000000..4905d4f --- /dev/null +++ b/ts/Game_AMPSVariables.ts @@ -0,0 +1,83 @@ + +export interface ObjectPosition { + x: number; + y: number; +} + +export interface Game_AMPSVariablesData { + savedPositions: { [key: string]: ObjectPosition }; +} + +/** + * + */ +//declare global { + export class Game_AMPSVariables { + //_savedPositions: Map; + _data: Game_AMPSVariablesData; + + constructor() { + this._data = {savedPositions: {}}; + } + + clear(): void { + this._data = {savedPositions: {}}; + } + + //constructor() { + //this._savedPositions = new Map(); + // this._savedPositions = {}; + //} + + makeKey(mapId: number, eventId: number): string { + return `${mapId}:${eventId}`; + } + + setSavedPosition(mapId: number, eventId: number, value: ObjectPosition): void{ + const key = this.makeKey(mapId, eventId); + this._data.savedPositions[key] = value; + } + + savedPosition(mapId: number, eventId: number): ObjectPosition | undefined { + const key = this.makeKey(mapId, eventId); + return this._data.savedPositions[key]; + }; + } +//} + +/* +Game_AMPSVariables.prototype.constructor = function() { + //this._savedPositions.clear(); + this._savedPositions = {}; +}; + +Game_AMPSVariables.prototype.clear = function() { + //this._savedPositions.clear(); + this._savedPositions = {}; +}; + +Game_AMPSVariables.prototype.makeKey = function(mapId: number, eventId: number) { + return `${mapId}:${eventId}`; +} + +Game_AMPSVariables.prototype.setSavedPosition = function(mapId: number, eventId: number, value: ObjectPosition) { + const key = this.makeKey(mapId, eventId); + this._savedPositions[key] = value; +}; + +Game_AMPSVariables.prototype.savedPosition = function(mapId: number, eventId: number): ObjectPosition | undefined { + const key = this.makeKey(mapId, eventId); + return this._savedPositions[key]; +}; + + +*/ + +//declare global { +// var g_gameAMPSVariables: Game_AMPSVariables; +//} +//console.log("aaaa"); +//g_gameAMPSVariables = new Game_AMPSVariables(); +//console.log("g_gameAMPSVariables", g_gameAMPSVariables); + +//export var g_gameAMPSVariables = new Game_AMPSVariables(); diff --git a/ts/Game_CharacterBase.ts b/ts/Game_CharacterBase.ts index 9a3f816..823a30d 100644 --- a/ts/Game_CharacterBase.ts +++ b/ts/Game_CharacterBase.ts @@ -58,6 +58,8 @@ declare global { _getonoffStartX: number; // オブジェクト乗降時の移動モーションが不自然に見えないように補間したりするパラメータ _getonoffStartY: number; // オブジェクト乗降時の移動モーションが不自然に見えないように補間したりするパラメータ + _positionalObject: boolean; // 位置記憶オブジェクトかどうか + isRidding(): boolean; isMapObject(): boolean; isBoxType(): boolean; @@ -73,6 +75,7 @@ declare global { isFalling(): boolean; checkPassRide(x: number, y: number): boolean; isOnSlipperyTile(): boolean; + isPositionalObject(): boolean; moveStraightMain(d: number): void; attemptMoveGroundToGround(d: number): boolean; @@ -283,6 +286,13 @@ Game_CharacterBase.prototype.isOnSlipperyTile = function(): boolean { return $gameMap.isSlipperyTile(this._x, this._y); }; +/** + * 位置記憶オブジェクトか? + */ +Game_CharacterBase.prototype.isPositionalObject = function(): boolean { + return this._positionalObject; +} + /** * 滑っているときのアニメーションパターン */ diff --git a/ts/Game_Event.ts b/ts/Game_Event.ts index f44cd74..07199de 100644 --- a/ts/Game_Event.ts +++ b/ts/Game_Event.ts @@ -66,6 +66,7 @@ Game_Event.prototype.clearMapObjectSettings = function(): void { this._mapObjectEventTrigger = EventTrigger.None; this._mapSkillRange = -1; this._reactionMapSkill = ''; + this._positionalObject = false; this._mapSkillEffectInitialPosition = MapSkillEffectInitialPosition.Default; } @@ -315,6 +316,9 @@ Game_Event.prototype.parseListCommentForAMPSObject = function(): boolean { this._mapSkillEffectInitialPosition = MapSkillEffectInitialPosition.Front; } break; + case "positional": + this._positionalObject = true; + break; } } diff --git a/ts/Game_Map.ts b/ts/Game_Map.ts index 1719124..fc63e6b 100644 --- a/ts/Game_Map.ts +++ b/ts/Game_Map.ts @@ -2,9 +2,14 @@ import { paramMapSkillEffectsMapId, paramGuideLineTerrainTag, paramAllowAllMapPuzzles, paramSlipRegion } from './PluginParameters' import { AMPSManager } from './AMPSManager' import { assert } from './Common'; +import { Game_AMPSVariables, ObjectPosition } from './Game_AMPSVariables'; + +//export var g_gameAMPSVariables: Game_AMPSVariables; declare global { interface Game_Map { + //ampsVariables: Game_AMPSVariables; + _puzzleEnabled: boolean; _spawnMapSkillEffectEventcallback: (event: Game_Event) => void; _despawnMapSkillEffectEventcallback: (event: Game_Event) => void; @@ -17,11 +22,23 @@ declare global { setSpawnMapSkillEffectEventHandler(callback: (event: Game_Event) => void): void; setDespawnMapSkillEffectEventHandler(callback: (event: Game_Event) => void): void; isSlipperyTile(x: number, y: number): boolean; + + savePositionalObjects(): void; + loadPositionalObjects(): void; } } +var _Game_Map_initialize = Game_Map.prototype.initialize; +Game_Map.prototype.initialize = function() { + _Game_Map_initialize.call(this); + //this.ampsVariables = new Game_AMPSVariables(); +} + var _Game_Map_setup = Game_Map.prototype.setup; Game_Map.prototype.setup = function(mapId) { + // 実際に切り替えが起こるまでに、移動前マップの状態を保存する + this.savePositionalObjects(); + _Game_Map_setup.call(this, mapId); if ($dataMap.meta.LNPuzzleEnable) { @@ -36,6 +53,8 @@ Game_Map.prototype.setup = function(mapId) { else { this._puzzleEnabled = false; } + + this.loadPositionalObjects(); } Game_Map.prototype.isPuzzleEnabled = function(): boolean { @@ -152,3 +171,26 @@ Game_Map.prototype.isSlipperyTile = function(x: number, y: number): boolean { return (paramSlipRegion !== 0 && this.regionId(x, y) === paramSlipRegion); } +Game_Map.prototype.savePositionalObjects = function() { + console.log("savePositionalObjects", AMPSManager.gameAMPSVariables); + this.events().forEach((event) => { + if (event.isPositionalObject()) { + let pos: ObjectPosition = { x: event.x, y: event.y }; + AMPSManager.gameAMPSVariables.setSavedPosition(this.mapId(), event.eventId(), pos); + console.log("saved", event.eventId(), pos); + } + }); +} + +Game_Map.prototype.loadPositionalObjects = function() { + console.log("loadPositionalObjects", AMPSManager.gameAMPSVariables); + this.events().forEach((event) => { + if (event.isPositionalObject()) { + const pos = AMPSManager.gameAMPSVariables.savedPosition(this.mapId(), event.eventId()); + if (pos) { + event.locate(pos.x, pos.y); + console.log("loaded", event.eventId(), pos); + } + } + }); +} diff --git a/ts/index.ts b/ts/index.ts index 2ea2fd4..ca68174 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -10,5 +10,7 @@ import './Game_Map'; import './Game_Interpreter'; import './Spriteset_Map'; import './Scene_Boot'; +//import './Game_AMPSVariables'; +import './DataManager'; import './SAN_AnalogMove_Integration';