fix: 色调 & 开局动画

This commit is contained in:
unanmed 2024-10-02 23:15:02 +08:00
parent ef3fbd73a9
commit 1c04f68982
6 changed files with 41 additions and 9 deletions

View File

@ -143,7 +143,7 @@
<canvas class='gameCanvas draw-canvas hide' id='fg'></canvas> <canvas class='gameCanvas draw-canvas hide' id='fg'></canvas>
<canvas class='gameCanvas hide' id='damage'></canvas> <canvas class='gameCanvas hide' id='damage'></canvas>
<canvas class='gameCanvas hide' id='animate'></canvas> <canvas class='gameCanvas hide' id='animate'></canvas>
<canvas class='gameCanvas hide' id='curtain'></canvas> <canvas class='gameCanvas' id='curtain'></canvas>
<canvas class='gameCanvas' id='ui'></canvas> <canvas class='gameCanvas' id='ui'></canvas>
<canvas class='gameCanvas' id='data'>此浏览器不支持HTML5</canvas> <canvas class='gameCanvas' id='data'>此浏览器不支持HTML5</canvas>
<div id="next"></div> <div id="next"></div>

View File

@ -500,7 +500,9 @@ control.prototype._showStartAnimate_finished = function (start, callback) {
////// 隐藏游戏开始界面 ////// ////// 隐藏游戏开始界面 //////
control.prototype.hideStartAnimate = function (callback) { control.prototype.hideStartAnimate = function (callback) {
core.hideWithAnimate(core.dom.startPanel, 20, callback); core.dom.startPanel.style.display = 'none';
callback?.();
// core.hideWithAnimate(core.dom.startPanel, 20, callback);
}; };
////// 游戏是否已经开始 ////// ////// 游戏是否已经开始 //////

View File

@ -294,6 +294,17 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
1 1
], ],
"action": [ "action": [
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 0,
"keep": true
},
{ {
"type": "setValue", "type": "setValue",
"name": "status:atk", "name": "status:atk",
@ -319,7 +330,19 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
0, 0,
1 1
], ],
"action": [] "action": [
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 0,
"keep": true
}
]
} }
], ],
"equipName": [ "equipName": [
@ -521,11 +544,6 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
} }
], ],
"startText": [ "startText": [
{
"type": "setValue",
"name": "flag:itemDetail",
"value": "true"
},
{ {
"type": "hideStatusBar" "type": "hideStatusBar"
}, },

View File

@ -28,6 +28,17 @@ main.floors.MT0=
[141,141,141,141,141,141,141,141,141,141,141,141,141,141,20040] [141,141,141,141,141,141,141,141,141,141,141,141,141,141,20040]
], ],
"firstArrive": [ "firstArrive": [
{
"type": "setCurtain",
"color": [
0,
0,
0,
0
],
"time": 500,
"keep": true
},
"\t[原始人]\b[up,hero]家里有没有柴火了,看来需要上山砍柴了啊。", "\t[原始人]\b[up,hero]家里有没有柴火了,看来需要上山砍柴了啊。",
"\t[原始人]\b[up,hero]刚刚经历过山火,山上的柴火也不多了。", "\t[原始人]\b[up,hero]刚刚经历过山火,山上的柴火也不多了。",
"\t[原始人]\b[up,hero]为什么这么倒霉的事会摊在我头上。", "\t[原始人]\b[up,hero]为什么这么倒霉的事会摊在我头上。",

View File

@ -36,7 +36,7 @@ main.floors.MT50=
} }
], ],
"5,13": [ "5,13": [
"欢迎来到苍蓝之殿,这是本塔第二章里面最大的一个区,也是最复杂的一个区。整个苍蓝之殿分为个部分:左下角、右下角、左上角、右上角和中心,每个部分都有不一样的玩法,多多动脑哦。", "欢迎来到苍蓝之殿,这是本塔第二章里面最大的一个区,也是最复杂的一个区。整个苍蓝之殿分为个部分:左下角、右下角、左上角、右上角和中心,每个部分都有不一样的玩法,多多动脑哦。",
"在你刚进入苍蓝之殿时,你只能先前往左下角部分(本地图的左面),右下角暂时不能前往。注意往上走往左依然可以进入左下角,不要只盯着这个地图的左边不放。", "在你刚进入苍蓝之殿时,你只能先前往左下角部分(本地图的左面),右下角暂时不能前往。注意往上走往左依然可以进入左下角,不要只盯着这个地图的左边不放。",
"本区域极大,建议打开小地图游玩。如果打开小地图后打怪出现卡顿,可以尝试在 设置->ui设置 里面打开小地图懒更新设置", "本区域极大,建议打开小地图游玩。如果打开小地图后打怪出现卡顿,可以尝试在 设置->ui设置 里面打开小地图懒更新设置",
"此区域建议多多使用定点查看功能鼠标移动到怪物上按C或E即可打开如果你没有设置自己的快捷键的话。手机端暂时无法定点查看", "此区域建议多多使用定点查看功能鼠标移动到怪物上按C或E即可打开如果你没有设置自己的快捷键的话。手机端暂时无法定点查看",

View File

@ -44,6 +44,7 @@ body {
} }
#startPanel { #startPanel {
opacity: 0;
width: 150%; width: 150%;
height: 100%; height: 100%;
position: absolute; position: absolute;