refactor(game): 重构游戏地平线与怪物生成逻辑,并更新UI资源

- 将游戏地平线从120调整为-215,以改变战斗场景基线
- 移除多线路怪物生成逻辑,统一使用地平线作为y坐标
- 清理卡牌系统中的等级升级相关代码,简化事件处理
- 更新角色控制器UI布局和样式,调整组件位置和尺寸
- 替换纹理图集资源,移除旧版背景图,添加新版分层背景
- 删除多个未使用的meta配置文件
This commit is contained in:
walkpan
2026-01-29 22:51:16 +08:00
parent 4ac3d55990
commit bff20f0ded
14 changed files with 1844 additions and 1557 deletions

View File

@@ -717,7 +717,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -517.5,
"y": -562.5,
"z": 0
},
"_lrot": {
@@ -758,7 +758,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 710,
"height": 230
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -3394,7 +3394,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -436.42,
"y": -577.5,
"z": 0
},
"_lrot": {
@@ -3436,7 +3436,7 @@
"__id__": 144
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 152
@@ -3451,7 +3451,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -315,
"y": 0,
"y": 30,
"z": 0
},
"_lrot": {
@@ -3938,8 +3938,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -115,
"y": 0,
"x": -315,
"y": 30,
"z": 0
},
"_lrot": {
@@ -4429,8 +4429,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 85,
"y": 0,
"x": -115,
"y": 30,
"z": 0
},
"_lrot": {
@@ -4917,8 +4917,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -315,
"y": -40,
"x": 85,
"y": 30,
"z": 0
},
"_lrot": {
@@ -5409,8 +5409,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -115,
"y": -40,
"x": -315,
"y": -10,
"z": 0
},
"_lrot": {
@@ -5897,8 +5897,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 85,
"y": -40,
"x": -115,
"y": -10,
"z": 0
},
"_lrot": {
@@ -6370,7 +6370,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 690,
"height": 40
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -6400,7 +6400,7 @@
"_left": 15,
"_right": 15.000000000000028,
"_top": 85,
"_bottom": 181.07999999999998,
"_bottom": 10,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -6500,7 +6500,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -342.5,
"y": -432.5,
"z": 0
},
"_lrot": {
@@ -6571,7 +6571,7 @@
"_left": 10,
"_right": 10,
"_top": 140,
"_bottom": 245,
"_bottom": 155,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -6678,7 +6678,7 @@
"__id__": 303
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 317
@@ -6693,7 +6693,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -477.5,
"y": -508.821,
"z": 0
},
"_lrot": {
@@ -6844,7 +6844,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 136.4,
"height": 40
"height": 20
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -6933,7 +6933,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 682,
"height": 40
"height": 20
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7178,8 +7178,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 50.4
"width": 200,
"height": 20
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7214,13 +7214,13 @@
"b": 255,
"a": 255
},
"_string": "{{0}}%",
"_string": "Lv .{{1}} {{0}}%",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 26,
"_fontSize": 25,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_lineHeight": 20,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
@@ -7276,7 +7276,8 @@
"watchPath": "",
"labelType": "cc.Label",
"watchPathArr": [
"data.hero.exp_pre"
"data.hero.exp_pre",
"data.hero.lv"
],
"_id": ""
},
@@ -7351,7 +7352,7 @@
"__id__": 304
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 312
@@ -7418,7 +7419,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"x": 236.897,
"y": 0,
"z": 0
},
@@ -7459,8 +7460,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110.73828125,
"height": 54.4
"width": 84.78125,
"height": 35.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7495,13 +7496,13 @@
"b": 255,
"a": 255
},
"_string": " {{0}} ",
"_string": " Lv.{{0}} ",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_lineHeight": 25,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
@@ -7592,8 +7593,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54.5,
"height": 52
"width": 40,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7614,7 +7615,7 @@
"node": {
"__id__": 303
},
"_enabled": true,
"_enabled": false,
"__prefab": {
"__id__": 315
},
@@ -7679,7 +7680,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 680,
"height": 30
"height": 15
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7709,7 +7710,7 @@
"_left": 20,
"_right": 20,
"_top": 0,
"_bottom": 145,
"_bottom": 121.17899999999997,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -14011,7 +14012,7 @@
"__id__": 677
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 706
@@ -17370,7 +17371,7 @@
"__id__": 1421
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 1690