From 4d45553c8486bd4ca4673129305a756239c60a76 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sun, 5 Feb 2023 19:02:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=82=B9=E5=85=89=E6=BA=90?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/project/floors/MT42.js | 11 +----- public/project/floors/MT46.js | 46 ++++++++-------------- src/initPlugin.ts | 4 +- src/plugin/{webgl => shadow}/gameShadow.ts | 0 src/plugin/{webgl => shadow}/polygon.ts | 0 src/plugin/{webgl => shadow}/shadow.ts | 0 6 files changed, 20 insertions(+), 41 deletions(-) rename src/plugin/{webgl => shadow}/gameShadow.ts (100%) rename src/plugin/{webgl => shadow}/polygon.ts (100%) rename src/plugin/{webgl => shadow}/shadow.ts (100%) 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, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0], - [ 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0], - [ 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0], - [ 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0], - [ 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0], - [ 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0], - [ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0] + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 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