feat(游戏): 新增背景音乐资源,添加播放逻辑并优化教程UI

新增主页与战斗场景的背景音乐文件及对应的导入配置
在主页和战斗任务组件中添加循环播放背景音乐的逻辑
调整四个新手教程引导预制体的文字、字体、描边与布局参数
This commit is contained in:
panFD
2026-06-13 11:23:00 +08:00
parent 4460c1aaf2
commit b0d752ab18
10 changed files with 64 additions and 34 deletions

View File

@@ -402,7 +402,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 248.35000000000002,
"z": 0
},
"_lrot": {
@@ -703,13 +703,13 @@
"b": 255,
"a": 255
},
"_string": "点击开始游戏",
"_string": "选中卡牌向上滑动,召唤英雄",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 36,
"_fontSize": 35,
"_actualFontSize": 41,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_lineHeight": 50,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
@@ -728,7 +728,7 @@
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 4,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -1174,12 +1174,12 @@
"__prefab": {
"__id__": 49
},
"_alignFlags": 40,
"_alignFlags": 44,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 590,
"_bottom": 590,
"_bottom": 788.35,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -1303,7 +1303,6 @@
"__id__": 0
},
"fileId": "6dh4o/8p1Cy5An1p6o4Bc3",
"instance": null,
"targetOverrides": null
"instance": null
}
]