From db9ae59dac46116678caca27f12adf75629779b1 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sun, 26 Feb 2023 16:35:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/libs/core.js | 6 ++++- public/project/floors/MT43.js | 44 +++++++++++++++++------------------ public/project/plugins.js | 8 +------ public/styles.css | 8 +++---- 4 files changed, 32 insertions(+), 34 deletions(-) diff --git a/public/libs/core.js b/public/libs/core.js index 798d98c..757c450 100644 --- a/public/libs/core.js +++ b/public/libs/core.js @@ -614,7 +614,11 @@ core.prototype._init_plugins = function () { } core._forwardFunc('plugin'); - if (!main.replayChecking) main.forward(); + if (!main.replayChecking && main.mode === 'play') { + main.forward(); + core.resetSettings(); + core.plugin.showMarkedEnemy.value = true; + } }; core.prototype._forwardFuncs = function () { diff --git a/public/project/floors/MT43.js b/public/project/floors/MT43.js index 7561a49..cfd7525 100644 --- a/public/project/floors/MT43.js +++ b/public/project/floors/MT43.js @@ -26,35 +26,35 @@ main.floors.MT43= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70031,70031,70031, 0, 0,70029,70029,70029,70029,70029,70029, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70031, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70031, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,584], + [70031, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0,584,584,584,584,584, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70030, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584], + [70030,584,584,584,584,584, 0, 0, 0, 0, 0, 0, 0, 0,584], + [70030, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584], + [70030, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584], + [584,584,584,584,584, 0, 0, 0, 0, 0,584,584,584,584,584], [ 0, 0, 0, 0, 0, 0, 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": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70072,70073,70073,70073], + [ 0,70048,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0,70060,70113,70113,70059, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0,70058,70121,70121,70056, 0, 0, 0,70060,70065,70065], + [ 0,70056, 0, 0, 0,70058,70121,70121,70056, 0, 0, 0,70058,70073,70073], + [ 0,70056, 0, 0, 0,70058,70129,70129,70064,70065,70065,70065,70066,70081,70081], + [ 0,70056, 0, 0, 0,70058, 0, 0,70072,70073,70073,70073,70074, 0, 0], + [ 0,70056, 0, 0, 0,70058, 0, 0,70080,70081,70081,70081,70082, 0, 0], + [ 0,70064,70065,70065,70065,70066, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70072,70073,70073,70073,70074, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70080,70081,70081,70081,70082, 0, 0, 0, 0, 0, 0, 0, 0, 0], [70065,70065,70065,70065,70065,70059, 0, 0, 0,70060,70065,70065,70065,70065,70065], [70073,70073,70073,70073,70073,70056, 0, 0, 0,70058,70073,70073,70073,70073,70073], [70073,70073,70073,70073,70073,70056, 0, 0, 0,70058,70073,70073,70073,70073,70073] diff --git a/public/project/plugins.js b/public/project/plugins.js index 3bfacab..b3889cb 100644 --- a/public/project/plugins.js +++ b/public/project/plugins.js @@ -3,13 +3,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { init: function () { // 只看插件没用,插件是与vite样板高度融合的,所以要看的话就在游戏内的百科全书-关于游戏内点那个开源地址吧 - this._afterLoadResources = function () { - if (!main.replayChecking && main.mode === 'play') { - main.forward(); - core.resetSettings(); - core.plugin.showMarkedEnemy.value = true; - } - }; + this._afterLoadResources = function () {}; }, sprite: function () { const sprites = {}; diff --git a/public/styles.css b/public/styles.css index 6963d0c..f8c7b0a 100644 --- a/public/styles.css +++ b/public/styles.css @@ -561,8 +561,8 @@ p#name { } .startImageAnimation { - -webkit-animation: startImage 4s ease-in-out 1s alternate 1; - animation: startImage 4s ease-in-out 1s alternate 1; + -webkit-animation: startImage 4s ease-in-out 1s forwards 1; + animation: startImage 4s ease-in-out 1s forwards 1; } @-webkit-keyframes startImage { @@ -590,8 +590,8 @@ p#name { } .startImageDivAnimation { - -webkit-animation: startImageDivDisappear 2s ease-in-out 3s alternate 1; - animation: startImageDivDisappear 2s ease-in-out 3s alternate 1; + -webkit-animation: startImageDivDisappear 2s ease-in-out 5s forwards 1; + animation: startImageDivDisappear 2s ease-in-out 5s forwards 1; } @-webkit-keyframes startImageDivDisappear {