feat(card): 添加卡牌等级视觉区分与配置调整
- 在卡牌预制件中新增背景(BG_node)、普通边框(NF_node)和高阶边框(HF_node)节点 - 根据卡牌等级和英雄等级动态显示对应的背景和边框样式 - 调整卡牌等级枚举定义,移除LV6并重命名为CardLV - 为CardConfig接口添加card_lv字段以支持独立卡牌等级 - 优化buff提示框的布局和字体大小
This commit is contained in:
@@ -1782,7 +1782,7 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -71.73,
|
||||
"x": -61.45,
|
||||
"y": 0.963,
|
||||
"z": 0
|
||||
},
|
||||
@@ -1823,8 +1823,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 25.98046875,
|
||||
"height": 81.6
|
||||
"width": 17.6552734375,
|
||||
"height": 56.4
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -1862,7 +1862,7 @@
|
||||
"_string": "-",
|
||||
"_horizontalAlign": 0,
|
||||
"_verticalAlign": 1,
|
||||
"_actualFontSize": 60,
|
||||
"_actualFontSize": 35,
|
||||
"_fontSize": 35,
|
||||
"_fontFamily": "Arial",
|
||||
"_lineHeight": 40,
|
||||
@@ -1919,7 +1919,7 @@
|
||||
},
|
||||
"_alignFlags": 8,
|
||||
"_target": null,
|
||||
"_left": -34.720234375000004,
|
||||
"_left": -30.557636718750004,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
@@ -2014,7 +2014,7 @@
|
||||
"_overflow": 0,
|
||||
"_enableWrapText": true,
|
||||
"_font": {
|
||||
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
|
||||
"__uuid__": "eca7fc51-87d0-4bb0-89e1-aa9c39411bc6",
|
||||
"__expectedType__": "cc.BitmapFont"
|
||||
},
|
||||
"_isSystemFontUsed": false,
|
||||
@@ -3822,7 +3822,7 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -36.930390625,
|
||||
"x": -41.0830078125,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
@@ -4011,8 +4011,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 49.31,
|
||||
"height": 50
|
||||
"width": 57.615234375,
|
||||
"height": 65
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -4056,11 +4056,8 @@
|
||||
"_lineHeight": 50,
|
||||
"_overflow": 0,
|
||||
"_enableWrapText": true,
|
||||
"_font": {
|
||||
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
|
||||
"__expectedType__": "cc.BitmapFont"
|
||||
},
|
||||
"_isSystemFontUsed": false,
|
||||
"_font": null,
|
||||
"_isSystemFontUsed": true,
|
||||
"_spacingX": 0,
|
||||
"_isItalic": false,
|
||||
"_isBold": false,
|
||||
|
||||
@@ -8650,6 +8650,15 @@
|
||||
"Ckind_node": {
|
||||
"__id__": 343
|
||||
},
|
||||
"BG_node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"NF_node": {
|
||||
"__id__": 118
|
||||
},
|
||||
"HF_node": {
|
||||
"__id__": 172
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user