修复bug,修改样式

This commit is contained in:
unanmed 2023-02-26 16:35:48 +08:00
parent 18d5a22468
commit db9ae59dac
4 changed files with 32 additions and 34 deletions

View File

@ -614,7 +614,11 @@ core.prototype._init_plugins = function () {
} }
core._forwardFunc('plugin'); 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 () { core.prototype._forwardFuncs = function () {

View File

@ -26,35 +26,35 @@ main.floors.MT43=
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "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, 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, 94],
[ 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],
[ 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,584,584],
[ 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],
[ 0, 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, 94],
[ 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],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [70030,584,584,584,584,584, 0, 0, 0, 0, 0, 0, 0, 0,584],
[ 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],
[ 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],
[ 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,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],
[ 0, 0, 0, 0, 0, 0, 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": [ "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,70072,70073,70073,70073],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,70048,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,70056, 0, 0, 0,70058,70121,70121,70056, 0, 0, 0,70060,70065,70065],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,70056, 0, 0, 0,70058,70121,70121,70056, 0, 0, 0,70058,70073,70073],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,70056, 0, 0, 0,70058,70129,70129,70064,70065,70065,70065,70066,70081,70081],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,70056, 0, 0, 0,70058, 0, 0,70072,70073,70073,70073,70074, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,70056, 0, 0, 0,70058, 0, 0,70080,70081,70081,70081,70082, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,70064,70065,70065,70065,70066, 0, 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,70074, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 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], [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],
[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]

View File

@ -3,13 +3,7 @@
var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
init: function () { init: function () {
// 只看插件没用插件是与vite样板高度融合的所以要看的话就在游戏内的百科全书-关于游戏内点那个开源地址吧 // 只看插件没用插件是与vite样板高度融合的所以要看的话就在游戏内的百科全书-关于游戏内点那个开源地址吧
this._afterLoadResources = function () { this._afterLoadResources = function () {};
if (!main.replayChecking && main.mode === 'play') {
main.forward();
core.resetSettings();
core.plugin.showMarkedEnemy.value = true;
}
};
}, },
sprite: function () { sprite: function () {
const sprites = {}; const sprites = {};

View File

@ -561,8 +561,8 @@ p#name {
} }
.startImageAnimation { .startImageAnimation {
-webkit-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 alternate 1; animation: startImage 4s ease-in-out 1s forwards 1;
} }
@-webkit-keyframes startImage { @-webkit-keyframes startImage {
@ -590,8 +590,8 @@ p#name {
} }
.startImageDivAnimation { .startImageDivAnimation {
-webkit-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 3s alternate 1; animation: startImageDivDisappear 2s ease-in-out 5s forwards 1;
} }
@-webkit-keyframes startImageDivDisappear { @-webkit-keyframes startImageDivDisappear {