chore: 调整 hard 值即开场动画效果

This commit is contained in:
unanmed 2025-10-09 23:50:07 +08:00
parent 9139552e17
commit f76034492b
2 changed files with 5 additions and 4 deletions

View File

@ -138,7 +138,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
/** 开始界面按钮的不透明度,选择难度界面的不透明度使用 `1-buttonsAlpha` 计算 */
const buttonsAlpha = transitioned(1, 300, linear())!;
/** 开始界面的不透明度 */
const mainAlpha = transitioned(1, 600, linear())!;
const mainAlpha = transitioned(0, 600, linear())!;
const buttonFilter = `
drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.4))
@ -331,6 +331,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
onMounted(() => {
enterMain(0);
mainAlpha.set(1);
});
return () => (

View File

@ -124,7 +124,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"color": [
0,
255,
22,
0,
1
],
"action": []
@ -135,7 +135,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"hard": 2,
"color": [
255,
0,
255,
0,
1
],
@ -144,7 +144,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
{
"title": "困难",
"name": "hard",
"hard": 2,
"hard": 3,
"color": [
255,
0,