奖励页面ui 修改完成
This commit is contained in:
@@ -165,7 +165,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 6.522,
|
||||
"y": 35.873,
|
||||
"y": 19.207,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -177,7 +177,7 @@
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"x": 1.2,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
@@ -236,9 +236,9 @@
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"r": 153,
|
||||
"g": 150,
|
||||
"b": 150,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
@@ -322,9 +322,9 @@
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 29,
|
||||
"g": 180,
|
||||
"b": 252,
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
|
||||
@@ -21,14 +21,11 @@
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 14
|
||||
},
|
||||
{
|
||||
"__id__": 20
|
||||
},
|
||||
{
|
||||
"__id__": 34
|
||||
"__id__": 26
|
||||
},
|
||||
{
|
||||
"__id__": 40
|
||||
@@ -37,26 +34,29 @@
|
||||
"__id__": 46
|
||||
},
|
||||
{
|
||||
"__id__": 62
|
||||
"__id__": 52
|
||||
},
|
||||
{
|
||||
"__id__": 68
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 68
|
||||
},
|
||||
{
|
||||
"__id__": 70
|
||||
},
|
||||
{
|
||||
"__id__": 72
|
||||
},
|
||||
{
|
||||
"__id__": 74
|
||||
},
|
||||
{
|
||||
"__id__": 76
|
||||
},
|
||||
{
|
||||
"__id__": 78
|
||||
},
|
||||
{
|
||||
"__id__": 80
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 77
|
||||
"__id__": 83
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -98,19 +98,22 @@
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 9
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 9
|
||||
"__id__": 15
|
||||
},
|
||||
{
|
||||
"__id__": 11
|
||||
"__id__": 17
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 13
|
||||
"__id__": 19
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -143,14 +146,14 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "CardFrame01_Glow",
|
||||
"_name": "line_bg",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 4
|
||||
@@ -162,10 +165,146 @@
|
||||
"_prefab": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 39.184,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 33554432,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 3
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 270,
|
||||
"height": 80
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "7e5Ki8CQREBpK8HPJJOKry"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 3
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@b36c4",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 1,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "96D9UHziJCJqIJ2DDVpEdy"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "69/bOqEj5LQqRDf2n0lZ9T",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "CardFrame01_Glow",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 10
|
||||
},
|
||||
{
|
||||
"__id__": 12
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 14
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 3.384,
|
||||
"y": 191.156,
|
||||
"y": 158.432,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -197,11 +336,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 3
|
||||
"__id__": 9
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 5
|
||||
"__id__": 11
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -225,20 +364,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 3
|
||||
"__id__": 9
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 7
|
||||
"__id__": 13
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"r": 117,
|
||||
"g": 115,
|
||||
"b": 115,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
@@ -287,7 +426,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 10
|
||||
"__id__": 16
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -315,16 +454,16 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 12
|
||||
"__id__": 18
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 29,
|
||||
"g": 180,
|
||||
"b": 252,
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
@@ -375,14 +514,14 @@
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 15
|
||||
"__id__": 21
|
||||
},
|
||||
{
|
||||
"__id__": 17
|
||||
"__id__": 23
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 19
|
||||
"__id__": 25
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -419,11 +558,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 14
|
||||
"__id__": 20
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 16
|
||||
"__id__": 22
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -447,11 +586,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 14
|
||||
"__id__": 20
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 18
|
||||
"__id__": 24
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -509,23 +648,23 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 21
|
||||
"__id__": 27
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 27
|
||||
"__id__": 33
|
||||
},
|
||||
{
|
||||
"__id__": 29
|
||||
"__id__": 35
|
||||
},
|
||||
{
|
||||
"__id__": 31
|
||||
"__id__": 37
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 33
|
||||
"__id__": 39
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -562,20 +701,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 20
|
||||
"__id__": 26
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 22
|
||||
"__id__": 28
|
||||
},
|
||||
{
|
||||
"__id__": 24
|
||||
"__id__": 30
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 26
|
||||
"__id__": 32
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -612,11 +751,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 21
|
||||
"__id__": 27
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 23
|
||||
"__id__": 29
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -640,11 +779,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 21
|
||||
"__id__": 27
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 25
|
||||
"__id__": 31
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -698,11 +837,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 20
|
||||
"__id__": 26
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 28
|
||||
"__id__": 34
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -726,11 +865,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 20
|
||||
"__id__": 26
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 30
|
||||
"__id__": 36
|
||||
},
|
||||
"_type": 0,
|
||||
"_inverted": false,
|
||||
@@ -748,11 +887,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 20
|
||||
"__id__": 26
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 32
|
||||
"__id__": 38
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -813,14 +952,14 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 35
|
||||
"__id__": 41
|
||||
},
|
||||
{
|
||||
"__id__": 37
|
||||
"__id__": 43
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 39
|
||||
"__id__": 45
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -857,11 +996,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 34
|
||||
"__id__": 40
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 36
|
||||
"__id__": 42
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -885,11 +1024,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 34
|
||||
"__id__": 40
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 38
|
||||
"__id__": 44
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -972,14 +1111,14 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 41
|
||||
"__id__": 47
|
||||
},
|
||||
{
|
||||
"__id__": 43
|
||||
"__id__": 49
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 45
|
||||
"__id__": 51
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -1016,11 +1155,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 40
|
||||
"__id__": 46
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 42
|
||||
"__id__": 48
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1044,11 +1183,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 40
|
||||
"__id__": 46
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 44
|
||||
"__id__": 50
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -1129,20 +1268,20 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 47
|
||||
"__id__": 53
|
||||
},
|
||||
{
|
||||
"__id__": 53
|
||||
"__id__": 59
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 59
|
||||
"__id__": 65
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 61
|
||||
"__id__": 67
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -1179,20 +1318,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 46
|
||||
"__id__": 52
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 48
|
||||
"__id__": 54
|
||||
},
|
||||
{
|
||||
"__id__": 50
|
||||
"__id__": 56
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 52
|
||||
"__id__": 58
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -1229,11 +1368,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 47
|
||||
"__id__": 53
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 49
|
||||
"__id__": 55
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1257,11 +1396,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 47
|
||||
"__id__": 53
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 51
|
||||
"__id__": 57
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -1315,20 +1454,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 46
|
||||
"__id__": 52
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 54
|
||||
"__id__": 60
|
||||
},
|
||||
{
|
||||
"__id__": 56
|
||||
"__id__": 62
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 58
|
||||
"__id__": 64
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -1365,11 +1504,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 53
|
||||
"__id__": 59
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 55
|
||||
"__id__": 61
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1393,11 +1532,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 53
|
||||
"__id__": 59
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 57
|
||||
"__id__": 63
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -1474,11 +1613,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 46
|
||||
"__id__": 52
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 60
|
||||
"__id__": 66
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1521,14 +1660,14 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 63
|
||||
"__id__": 69
|
||||
},
|
||||
{
|
||||
"__id__": 65
|
||||
"__id__": 71
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 67
|
||||
"__id__": 73
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -1565,11 +1704,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 62
|
||||
"__id__": 68
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 64
|
||||
"__id__": 70
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1593,11 +1732,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 62
|
||||
"__id__": 68
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 66
|
||||
"__id__": 72
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -1655,7 +1794,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 69
|
||||
"__id__": 75
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1683,7 +1822,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 71
|
||||
"__id__": 77
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -1725,7 +1864,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 73
|
||||
"__id__": 79
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -1743,11 +1882,11 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 75
|
||||
"__id__": 81
|
||||
},
|
||||
"clickEvents": [
|
||||
{
|
||||
"__id__": 76
|
||||
"__id__": 82
|
||||
}
|
||||
],
|
||||
"_interactable": true,
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 199.86,
|
||||
"y": 174.048,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -174,8 +174,8 @@
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1.2,
|
||||
"y": 1.2,
|
||||
"x": 1.6,
|
||||
"y": 1.4,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
@@ -233,9 +233,9 @@
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"r": 145,
|
||||
"g": 141,
|
||||
"b": 141,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
@@ -319,9 +319,9 @@
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 252,
|
||||
"g": 190,
|
||||
"b": 29,
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1037,10 +1037,10 @@
|
||||
"height": 27,
|
||||
"rawWidth": 27,
|
||||
"rawHeight": 27,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"borderTop": 13,
|
||||
"borderBottom": 13,
|
||||
"borderLeft": 13,
|
||||
"borderRight": 13,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -28,24 +28,24 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
mmskill:6002,
|
||||
};
|
||||
skills: any = {
|
||||
6001:{uuid:6001,slv:0,num:4,x1:1,x10:0},
|
||||
6002:{uuid:6002,slv:0,num:3,x1:2,x10:0},
|
||||
6003:{uuid:6003,slv:0,num:0,x1:0,x10:0},
|
||||
6004:{uuid:6004,slv:0,num:0,x1:0,x10:0},
|
||||
6005:{uuid:6005,slv:0,num:0,x1:0,x10:0},
|
||||
6006:{uuid:6006,slv:0,num:0,x1:0,x10:0},
|
||||
6007:{uuid:6007,slv:0,num:0,x1:0,x10:0},
|
||||
6008:{uuid:6008,slv:0,num:0,x1:0,x10:0},
|
||||
6012:{uuid:6012,slv:0,num:0,x1:0,x10:0},
|
||||
6001:{uuid:6001,slv:0,num:4,x1:1},
|
||||
6002:{uuid:6002,slv:0,num:3,x1:2},
|
||||
6003:{uuid:6003,slv:0,num:0,x1:0},
|
||||
6004:{uuid:6004,slv:0,num:0,x1:0},
|
||||
6005:{uuid:6005,slv:0,num:0,x1:0},
|
||||
6006:{uuid:6006,slv:0,num:0,x1:0},
|
||||
6007:{uuid:6007,slv:0,num:0,x1:0},
|
||||
6008:{uuid:6008,slv:0,num:0,x1:0},
|
||||
6012:{uuid:6012,slv:0,num:0,x1:0},
|
||||
};
|
||||
/** 游戏主角 */
|
||||
heros:any={
|
||||
5001:{uuid:5001,lv:1,exp:0,slv:1,stone:0,num:100,x1:1,x10:0},
|
||||
5002:{uuid:5002,lv:2,exp:0,slv:1,stone:0,num:80,x1:2,x10:0},
|
||||
5003:{uuid:5003,lv:3,exp:0,slv:1,stone:0,num:90,x1:3,x10:0},
|
||||
5004:{uuid:5004,lv:1,exp:0,slv:0,stone:0,num:100,x1:1,x10:0},
|
||||
5005:{uuid:5005,lv:2,exp:0,slv:0,stone:0,num:80,x1:2,x10:0},
|
||||
5006:{uuid:5006,lv:3,exp:0,slv:0,stone:0,num:90,x1:3,x10:0},
|
||||
5001:{uuid:5001,lv:1,exp:0,slv:1,num:100,x1:10},
|
||||
5002:{uuid:5002,lv:2,exp:0,slv:1,num:80,x1:0},
|
||||
5003:{uuid:5003,lv:3,exp:0,slv:1,num:90,x1:0},
|
||||
5004:{uuid:5004,lv:1,exp:0,slv:0,num:100,x1:0},
|
||||
5005:{uuid:5005,lv:2,exp:0,slv:0,num:80,x1:0},
|
||||
5006:{uuid:5006,lv:3,exp:0,slv:0,num:90,x1:0},
|
||||
};
|
||||
goods:any=[
|
||||
{uuid:9001,num:100000,type:0,cost:0,inventory:5},
|
||||
@@ -54,22 +54,22 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
{uuid:5001,num:10,type:3,cost:10000,inventory:99},
|
||||
];
|
||||
items:any={
|
||||
1001:{uuid:1001,num:10,x1:1,x10:0},
|
||||
1002:{uuid:1002,num:10,x1:0,x10:0},
|
||||
1003:{uuid:1003,num:10,x1:0,x10:0},
|
||||
1004:{uuid:1004,num:1000,x1:0,x10:0},
|
||||
1005:{uuid:1005,num:1000,x1:0,x10:0},
|
||||
1006:{uuid:1006,num:1000,x1:0,x10:0},
|
||||
1007:{uuid:1007,num:1000,x1:0,x10:0},
|
||||
1008:{uuid:1008,num:1000,x1:0,x10:0},
|
||||
1009:{uuid:1009,num:1000,x1:0,x10:0},
|
||||
1010:{uuid:1010,num:1000,x1:0,x10:0},
|
||||
1011:{uuid:1011,num:1000,x1:0,x10:0},
|
||||
1012:{uuid:1012,num:1000,x1:0,x10:0},
|
||||
1013:{uuid:1013,num:1000,x1:0,x10:0},
|
||||
1014:{uuid:1014,num:1000,x1:0,x10:0},
|
||||
1015:{uuid:1015,num:1000,x1:0,x10:0},
|
||||
1016:{uuid:1016,num:1000,x1:0,x10:0},
|
||||
1001:{uuid:1001,num:10,x1:1},
|
||||
1002:{uuid:1002,num:10,x1:0},
|
||||
1003:{uuid:1003,num:10,x1:0},
|
||||
1004:{uuid:1004,num:1000,x1:0},
|
||||
1005:{uuid:1005,num:1000,x1:0},
|
||||
1006:{uuid:1006,num:1000,x1:0},
|
||||
1007:{uuid:1007,num:1000,x1:0},
|
||||
1008:{uuid:1008,num:1000,x1:0},
|
||||
1009:{uuid:1009,num:1000,x1:0},
|
||||
1010:{uuid:1010,num:1000,x1:0},
|
||||
1011:{uuid:1011,num:1000,x1:0},
|
||||
1012:{uuid:1012,num:1000,x1:0},
|
||||
1013:{uuid:1013,num:1000,x1:0},
|
||||
1014:{uuid:1014,num:1000,x1:0},
|
||||
1015:{uuid:1015,num:1000,x1:0},
|
||||
1016:{uuid:1016,num:1000,x1:0},
|
||||
};
|
||||
fight_heros=[5001,5002]
|
||||
mheros:any = [];
|
||||
@@ -124,10 +124,10 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
reward_gold:0,
|
||||
reward_exp:0,
|
||||
},
|
||||
gold:{num:999999,x1:1,x10:0},
|
||||
exp:{num:1000,x1:1,x10:0},
|
||||
skp:{num:2000,x1:1,x10:0}, //技能升级点数
|
||||
energy:{num:10,x1:1,x10:0},
|
||||
gold:{num:999999,x1:1},
|
||||
exp:{num:1000,x1:1},
|
||||
skp:{num:2000,x1:1}, //技能升级点数
|
||||
energy:{num:10,x1:1},
|
||||
|
||||
free:{ cost:0,num:3,buy:3,},
|
||||
goods1:{ cost:20000,num:3,buy:3,},
|
||||
|
||||
@@ -25,7 +25,6 @@ export class HChipComp extends Component {
|
||||
update_data(uuid:number,num:number=0){
|
||||
this.h_uuid = uuid;
|
||||
var icon_path = "game/heros/herois"
|
||||
console.log("HeroInfo[uuid]",HeroInfo[uuid],uuid)
|
||||
resources.load(icon_path, SpriteAtlas, (err: any, atlas) => {
|
||||
const sprite = this.node.getChildByName("hero").getChildByName("icon").getComponent(Sprite);
|
||||
sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path);
|
||||
|
||||
@@ -13,6 +13,7 @@ const { ccclass, property } = _decorator;
|
||||
@ecs.register('ItemInfo', false)
|
||||
export class ItemInfoComp extends CCComp {
|
||||
onAdded(args: any) {
|
||||
this.node.setSiblingIndex(100);
|
||||
this.node.getChildByName("item").active = false;
|
||||
this.node.getChildByName("skill").active = false;
|
||||
this.node.getChildByName("hero").active = false;
|
||||
|
||||
@@ -78,6 +78,7 @@ export class MissionComp extends CCComp {
|
||||
let mon_set=RandomManager.instance.getRandomByObjectList(MissionSet,1)
|
||||
this.mon_list=mon_set[0]
|
||||
console.log("mission_start:",this.mon_list)
|
||||
this.colose_victory()
|
||||
this.mission_init()
|
||||
// this.mskill_init()
|
||||
this.mon_refresh()
|
||||
@@ -107,14 +108,19 @@ export class MissionComp extends CCComp {
|
||||
monsters[i].HeroView.reset()
|
||||
monsters[i].HeroView.ent.destroy()
|
||||
}
|
||||
for(let i=0;i<rewards.length;i++){
|
||||
rewards[i].ItemComp.reset()
|
||||
rewards[i].ItemComp.ent.destroy()
|
||||
|
||||
// this.to_mission_home()
|
||||
this.open_victory()
|
||||
}
|
||||
this.to_mission_home()
|
||||
oops.gui.open(UIID.Victory)
|
||||
open_victory(){
|
||||
this.node.getChildByName("victory").active=true
|
||||
this.node.getChildByName("victory").getComponent(VictoryComp).open()
|
||||
}
|
||||
colose_victory(){
|
||||
this.node.getChildByName("victory").active=false
|
||||
}
|
||||
to_mission_home(){
|
||||
this.colose_victory()
|
||||
let home =this.node.parent.getComponent(CardControllerComp);
|
||||
let mission_home=home.node.getChildByName("mission_home").getComponent(MissionHomeComp)
|
||||
home.bar_change(null,"home")
|
||||
@@ -155,15 +161,15 @@ export class MissionComp extends CCComp {
|
||||
}
|
||||
clear_x1(){
|
||||
for (let i in smc.items) {
|
||||
smc.items[i].x1=smc.items[i].x10=0
|
||||
}
|
||||
for (let i in smc.skills) {
|
||||
smc.skills[i].x1=smc.skills[i].x10=0
|
||||
smc.items[i].x1=0
|
||||
}
|
||||
// for (let i in smc.skills) {
|
||||
// smc.skills[i].x1=0
|
||||
// }
|
||||
for (let i in smc.heros) {
|
||||
smc.heros[i].x1=smc.heros[i].x10=0
|
||||
smc.heros[i].x1=0
|
||||
}
|
||||
console.log("clear_x1",smc.items,smc.skills,smc.heros)
|
||||
// console.log("clear_x1",smc.items,smc.heros)
|
||||
}
|
||||
mskill_init(){
|
||||
this.MSComp.group=BoxSet.HERO
|
||||
|
||||
@@ -48,11 +48,11 @@ export class MissionHomeComp extends CCComp {
|
||||
}
|
||||
this.heros=[]
|
||||
this.heros_pos=[
|
||||
{uuid:0,px:-300},
|
||||
{uuid:0,px:-200},
|
||||
{uuid:0,px:-100},
|
||||
{uuid:0,px:0},
|
||||
{uuid:0,px:100},
|
||||
{uuid:0,px:0},
|
||||
{uuid:0,px:-100},
|
||||
{uuid:0,px:-200},
|
||||
{uuid:0,px:-300},
|
||||
]
|
||||
|
||||
let home =this.node.parent.getComponent(CardControllerComp);
|
||||
|
||||
@@ -11,6 +11,8 @@ import { Item } from "./Item";
|
||||
import { UIID } from "../common/config/GameUIConfig";
|
||||
import { PopViewParams, UICallbacks } from "../../../../extensions/oops-plugin-framework/assets/core/gui/layer/Defines";
|
||||
import { RewardComp} from "./RewardComp";
|
||||
import { HChipComp } from "../hero/HChipComp";
|
||||
import { MissionComp } from "./MissionComp";
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -27,78 +29,82 @@ export class VictoryComp extends CCComp {
|
||||
}
|
||||
onAdded(args: any) {
|
||||
|
||||
if(smc.vmdata.gold.x1 > 0) {
|
||||
this.node.getChildByName("items").getChildByName("gold").active=true
|
||||
smc.vmdata.gold.x10=smc.vmdata.gold.x1*9
|
||||
}
|
||||
if(smc.vmdata.skp.x1 > 0) {
|
||||
this.node.getChildByName("items").getChildByName("skp").active=true
|
||||
smc.vmdata.skp.x10=smc.vmdata.skp.x1*9
|
||||
}
|
||||
if(smc.vmdata.exp.x1 > 0) {
|
||||
this.node.getChildByName("items").getChildByName("exp").active=true
|
||||
smc.vmdata.exp.x10=smc.vmdata.exp.x1*9
|
||||
}
|
||||
open(){
|
||||
console.log("Victory open",smc.items,smc.heros)
|
||||
var parent = this.node.getChildByName("items")
|
||||
var path = "game/gui/reward";
|
||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
for (let i in smc.items) {
|
||||
if(smc.items[i].x1 > 0){
|
||||
smc.items[i].x10 =smc.items[i].x1*9
|
||||
var node = instantiate(prefab);
|
||||
let rc:any= node.getComponent(RewardComp)!;
|
||||
rc.init(smc.items[i].uuid,smc.items[i].x1,smc.items[i].x10,parent,0)
|
||||
}
|
||||
}
|
||||
for (let i in smc.skills) {
|
||||
if(smc.skills[i].x1 > 0){
|
||||
smc.skills[i].x10 =smc.skills[i].x1*9
|
||||
var node = instantiate(prefab);
|
||||
let rc:any= node.getComponent(RewardComp)!;
|
||||
rc.init(smc.skills[i].uuid,smc.skills[i].x1,smc.skills[i].x10,parent,2)
|
||||
let item=ecs.getEntity<Item>(Item)
|
||||
item.load(smc.items[i].uuid,smc.items[i].x1,parent)
|
||||
}
|
||||
}
|
||||
for (let i in smc.heros) {
|
||||
if(smc.heros[i].x1 > 0){
|
||||
smc.heros[i].x10 =smc.heros[i].x1*9
|
||||
var node = instantiate(prefab);
|
||||
let rc:any= node.getComponent(RewardComp)!;
|
||||
rc.init(smc.heros[i].uuid,smc.heros[i].x1,smc.heros[i].x10,parent,1)
|
||||
let path = "game/gui/hchip";
|
||||
let prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
let node = instantiate(prefab);
|
||||
node.parent=parent
|
||||
let hc= node.getComponent(HChipComp)
|
||||
hc.update_data(smc.heros[i].uuid,smc.heros[i].x1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
do_x10(){
|
||||
for (let i in smc.items) {
|
||||
smc.items[i].num+=smc.items[i].x10
|
||||
if(smc.items[i].uuid == 9001){
|
||||
smc.vmdata.gold.num+=smc.items[i].x1*10
|
||||
}
|
||||
if(smc.items[i].uuid == 9003){
|
||||
smc.vmdata.exp.num+=smc.items[i].x1*10
|
||||
}
|
||||
if(smc.items[i].uuid < 9000){
|
||||
smc.items[i].num+=smc.items[i].x1*10
|
||||
|
||||
}
|
||||
}
|
||||
for (let i in smc.heros) {
|
||||
smc.heros[i].num+=smc.heros[i].x10
|
||||
smc.heros[i].num+=smc.heros[i].x1*10
|
||||
}
|
||||
this.clear_x1()
|
||||
this.reset();
|
||||
|
||||
}
|
||||
do_x1(){
|
||||
this.clear_x1()
|
||||
this.reset();
|
||||
for (let i in smc.items) {
|
||||
if(smc.items[i].uuid == 9001){
|
||||
smc.vmdata.gold.num+=smc.items[i].x1
|
||||
}
|
||||
|
||||
clear_x1(){
|
||||
for (let i in smc.items) {
|
||||
smc.items[i].x1=smc.items[i].x10=0
|
||||
if(smc.items[i].uuid == 9003){
|
||||
smc.vmdata.exp.num+=smc.items[i].x1
|
||||
}
|
||||
if(smc.items[i].uuid < 9000){
|
||||
smc.items[i].num+=smc.items[i].x1
|
||||
|
||||
}
|
||||
for (let i in smc.skills) {
|
||||
smc.skills[i].x1=smc.skills[i].x10=0
|
||||
}
|
||||
for (let i in smc.heros) {
|
||||
smc.heros[i].x1=smc.heros[i].x10=0
|
||||
smc.heros[i].num+=smc.heros[i].x1
|
||||
}
|
||||
console.log("clear_x1",smc.items,smc.skills,smc.heros)
|
||||
this.clear_x1()
|
||||
}
|
||||
end_mission(){
|
||||
|
||||
clear_x1(){
|
||||
for (let i in smc.items) {
|
||||
smc.items[i].x1=0
|
||||
}
|
||||
// for (let i in smc.skills) {
|
||||
// smc.skills[i].x1=0
|
||||
// }
|
||||
for (let i in smc.heros) {
|
||||
smc.heros[i].x1=0
|
||||
console.log("clear_x1",smc.heros[i].num)
|
||||
}
|
||||
let children = this.node.getChildByName("items").children
|
||||
for (let i in children) {
|
||||
children[i].destroy()
|
||||
}
|
||||
console.log("clear_x1",smc.items,smc.heros)
|
||||
this.node.parent.getComponent(MissionComp).to_mission_home()
|
||||
}
|
||||
|
||||
item_show(e:any,val:any){
|
||||
@@ -109,6 +115,6 @@ export class VictoryComp extends CCComp {
|
||||
}
|
||||
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||
reset() {
|
||||
oops.gui.remove(UIID.Victory, false);
|
||||
this.node.destroy()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user