mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-11 05:31:47 +08:00
chore: 调整 hard 值即开场动画效果
This commit is contained in:
parent
9139552e17
commit
f76034492b
@ -138,7 +138,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
|
|||||||
/** 开始界面按钮的不透明度,选择难度界面的不透明度使用 `1-buttonsAlpha` 计算 */
|
/** 开始界面按钮的不透明度,选择难度界面的不透明度使用 `1-buttonsAlpha` 计算 */
|
||||||
const buttonsAlpha = transitioned(1, 300, linear())!;
|
const buttonsAlpha = transitioned(1, 300, linear())!;
|
||||||
/** 开始界面的不透明度 */
|
/** 开始界面的不透明度 */
|
||||||
const mainAlpha = transitioned(1, 600, linear())!;
|
const mainAlpha = transitioned(0, 600, linear())!;
|
||||||
|
|
||||||
const buttonFilter = `
|
const buttonFilter = `
|
||||||
drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.4))
|
drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.4))
|
||||||
@ -331,6 +331,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
enterMain(0);
|
enterMain(0);
|
||||||
|
mainAlpha.set(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
return () => (
|
return () => (
|
||||||
|
@ -124,7 +124,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"color": [
|
"color": [
|
||||||
0,
|
0,
|
||||||
255,
|
255,
|
||||||
22,
|
0,
|
||||||
1
|
1
|
||||||
],
|
],
|
||||||
"action": []
|
"action": []
|
||||||
@ -135,7 +135,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"hard": 2,
|
"hard": 2,
|
||||||
"color": [
|
"color": [
|
||||||
255,
|
255,
|
||||||
0,
|
255,
|
||||||
0,
|
0,
|
||||||
1
|
1
|
||||||
],
|
],
|
||||||
@ -144,7 +144,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
{
|
{
|
||||||
"title": "困难",
|
"title": "困难",
|
||||||
"name": "hard",
|
"name": "hard",
|
||||||
"hard": 2,
|
"hard": 3,
|
||||||
"color": [
|
"color": [
|
||||||
255,
|
255,
|
||||||
0,
|
0,
|
||||||
|
Loading…
Reference in New Issue
Block a user