diff --git a/public/project/floors/MT42.js b/public/project/floors/MT42.js index 0f33595..be735b8 100644 --- a/public/project/floors/MT42.js +++ b/public/project/floors/MT42.js @@ -31,13 +31,6 @@ main.floors.MT42= 5, 0 ] - }, - "8,12": { - "floorId": "MT46", - "loc": [ - 7, - 8 - ] } }, "beforeBattle": {}, @@ -92,8 +85,8 @@ main.floors.MT42= [604, 0, 0, 0, 0, 0, 0,604, 0, 0,588,588,588,614,584], [584,584,584,584,584, 0, 0,604, 0, 0, 0,592, 0, 0,584], [ 0, 0, 0, 0, 0,595,604,604,608,604,584,588, 0,584,584], - [ 0, 0, 0, 0, 0, 0, 0,274, 0, 0, 0,588, 0, 0, 0], - [ 92, 0, 0, 0,617, 0,587,587, 0, 0,586,588,617,586,586], + [ 0, 0, 0, 0, 0,381, 0,274, 0, 0, 0,588, 0, 0, 0], + [ 92, 0, 0, 0,617, 34,587,587, 0, 0,586,588,617,586,586], [584,584,617,70022,70023,611,70022,70023, 0,600,587, 0, 0, 0,586], [584, 0, 0,584,608,482,608,584, 0, 0,587,587,587,614,586], [584, 0, 0,584,584, 85,584,584, 0,602, 0, 0, 0, 0,586], diff --git a/public/project/floors/MT46.js b/public/project/floors/MT46.js index c6b28bd..3abccee 100644 --- a/public/project/floors/MT46.js +++ b/public/project/floors/MT46.js @@ -26,38 +26,24 @@ main.floors.MT46= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], - [ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0], - [ 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], - [ 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], - [ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0], - [ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1], - [ 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] ], "bgmap": [ - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300] + ], "fgmap": [ diff --git a/src/initPlugin.ts b/src/initPlugin.ts index baaac03..67dc0da 100644 --- a/src/initPlugin.ts +++ b/src/initPlugin.ts @@ -12,8 +12,8 @@ import fly from './plugin/ui/fly'; import chase from './plugin/chase/chase'; import fixed from './plugin/ui/fixed'; import webglUtils from './plugin/webgl/utils'; -import shadow from './plugin/webgl/shadow'; -import gameShadow from './plugin/webgl/gameShadow'; +import shadow from './plugin/shadow/shadow'; +import gameShadow from './plugin/shadow/gameShadow'; function forward() { // 每个引入的插件都要在这里执行,否则不会被转发 diff --git a/src/plugin/webgl/gameShadow.ts b/src/plugin/shadow/gameShadow.ts similarity index 100% rename from src/plugin/webgl/gameShadow.ts rename to src/plugin/shadow/gameShadow.ts diff --git a/src/plugin/webgl/polygon.ts b/src/plugin/shadow/polygon.ts similarity index 100% rename from src/plugin/webgl/polygon.ts rename to src/plugin/shadow/polygon.ts diff --git a/src/plugin/webgl/shadow.ts b/src/plugin/shadow/shadow.ts similarity index 100% rename from src/plugin/webgl/shadow.ts rename to src/plugin/shadow/shadow.ts