体力弹窗-1删除 道具数量更改

This commit is contained in:
computer\尼卡 2025-07-08 18:06:24 +08:00
parent 7cf729f994
commit 1476438d97
3 changed files with 4581 additions and 3338 deletions

File diff suppressed because it is too large Load Diff

View File

@ -185,7 +185,7 @@ openHeath() {
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 40, 20, "time_", heathPop, true);
// 设置金币花费数
NumberToImage.numberToImageNodes(1000, 35, 15, "button_", coin, true);
// NumberToImage.numberToImageNodes(1000, 35, 15, "button_", coin, true);
}

View File

@ -30,14 +30,14 @@
"_active": true,
"_components": [
{
"__id__": 72
"__id__": 84
},
{
"__id__": 73
"__id__": 85
}
],
"_prefab": {
"__id__": 74
"__id__": 86
},
"_opacity": 255,
"_color": {
@ -570,22 +570,22 @@
"__id__": 41
},
{
"__id__": 54
"__id__": 66
},
{
"__id__": 57
"__id__": 69
},
{
"__id__": 65
"__id__": 77
},
{
"__id__": 68
"__id__": 80
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 71
"__id__": 83
},
"_opacity": 255,
"_color": {
@ -992,8 +992,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 94,
"height": 90
"width": 98,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -1569,20 +1569,20 @@
"__id__": 45
},
{
"__id__": 47
"__id__": 59
}
],
"_active": true,
"_components": [
{
"__id__": 50
"__id__": 62
},
{
"__id__": 51
"__id__": 63
}
],
"_prefab": {
"__id__": 53
"__id__": 65
},
"_opacity": 255,
"_color": {
@ -1658,8 +1658,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 70,
"height": 71
"width": 86,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -1747,11 +1747,24 @@
"_parent": {
"__id__": 41
},
"_children": [],
"_children": [
{
"__id__": 46
},
{
"__id__": 49
},
{
"__id__": 52
},
{
"__id__": 55
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 46
"__id__": 58
},
"_opacity": 255,
"_color": {
@ -1775,7 +1788,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
210.588,
183.311,
5.847,
0,
0,
@ -1800,6 +1813,442 @@
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "button_1",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
}
],
"_prefab": {
"__id__": 48
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 37,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-31.5,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "bd2ff085-dc9a-48e6-b246-3b75ea05d7cd"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "bfcZshRrhDJK9lQ6/3UMwe",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "button_0",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
}
],
"_prefab": {
"__id__": 51
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 37,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-2.928,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "63D5hWogJDg5ht/bJghIDT",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "button_0",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 53
}
],
"_prefab": {
"__id__": 54
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 37,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
34.072,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "23VgDoT4RKuZO3gbGAzmJV",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "button_0",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 56
}
],
"_prefab": {
"__id__": 57
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 37,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
71.072,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "da5AFCnt9Ld7QllRoQuWuy",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
@ -1822,11 +2271,11 @@
"_active": true,
"_components": [
{
"__id__": 48
"__id__": 60
}
],
"_prefab": {
"__id__": 49
"__id__": 61
},
"_opacity": 255,
"_color": {
@ -1880,7 +2329,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
"__id__": 59
},
"_enabled": true,
"_materials": [
@ -1968,7 +2417,7 @@
"zoomScale": 1.1,
"clickEvents": [
{
"__id__": 52
"__id__": 64
}
],
"_N$interactable": true,
@ -2060,11 +2509,11 @@
"_active": true,
"_components": [
{
"__id__": 55
"__id__": 67
}
],
"_prefab": {
"__id__": 56
"__id__": 68
},
"_opacity": 255,
"_color": {
@ -2118,7 +2567,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
"__id__": 66
},
"_enabled": true,
"_materials": [
@ -2167,20 +2616,20 @@
},
"_children": [
{
"__id__": 58
"__id__": 70
},
{
"__id__": 61
"__id__": 73
}
],
"_active": true,
"_components": [
{
"__id__": 63
"__id__": 75
}
],
"_prefab": {
"__id__": 64
"__id__": 76
},
"_opacity": 255,
"_color": {
@ -2234,17 +2683,17 @@
"_name": "tili_x",
"_objFlags": 0,
"_parent": {
"__id__": 57
"__id__": 69
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 59
"__id__": 71
}
],
"_prefab": {
"__id__": 60
"__id__": 72
},
"_opacity": 255,
"_color": {
@ -2256,8 +2705,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 16,
"height": 32
"width": 40,
"height": 46
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -2298,7 +2747,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
"__id__": 70
},
"_enabled": true,
"_materials": [
@ -2343,13 +2792,13 @@
"_name": "huifuyidian",
"_objFlags": 0,
"_parent": {
"__id__": 57
"__id__": 69
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 62
"__id__": 74
},
"_opacity": 255,
"_color": {
@ -2414,7 +2863,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 69
},
"_enabled": true,
"_materials": [
@ -2465,11 +2914,11 @@
"_active": false,
"_components": [
{
"__id__": 66
"__id__": 78
}
],
"_prefab": {
"__id__": 67
"__id__": 79
},
"_opacity": 255,
"_color": {
@ -2523,7 +2972,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
"__id__": 77
},
"_enabled": true,
"_materials": [
@ -2574,11 +3023,11 @@
"_active": true,
"_components": [
{
"__id__": 69
"__id__": 81
}
],
"_prefab": {
"__id__": 70
"__id__": 82
},
"_opacity": 255,
"_color": {
@ -2632,7 +3081,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 80
},
"_enabled": true,
"_materials": [
@ -2726,14 +3175,14 @@
},
"switchNode": [
{
"__id__": 54
"__id__": 66
},
{
"__id__": 57
"__id__": 69
}
],
"timeNode": {
"__id__": 61
"__id__": 73
},
"switchButtons": [
{