Commit 73142c1e authored by haiyoucuv's avatar haiyoucuv

init

parent 3adf7b45
......@@ -26,7 +26,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 176
"__id__": 177
},
"_lpos": {
"__type__": "cc.Vec3",
......@@ -57,7 +57,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 180
"__id__": 181
},
"_id": "53947ca7-3484-4b53-800d-509405063d68"
},
......@@ -91,9 +91,6 @@
],
"_active": true,
"_components": [
{
"__id__": 172
},
{
"__id__": 173
},
......@@ -102,6 +99,9 @@
},
{
"__id__": 175
},
{
"__id__": 176
}
],
"_prefab": null,
......@@ -193,7 +193,7 @@
"_priority": 40000,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 617.8074074074075,
"_orthoHeight": 546.1440598690365,
"_near": 0,
"_far": 2000,
"_color": {
......@@ -1762,10 +1762,10 @@
"_enabled": true,
"__prefab": null,
"handle": {
"__id__": 166
"__id__": 167
},
"bg": {
"__id__": 170
"__id__": 171
},
"normalSp": {
"__uuid__": "7f413237-4b73-4bae-bca7-7ab9e9742ebc@f9941",
......@@ -1787,22 +1787,22 @@
},
"_children": [
{
"__id__": 166
"__id__": 167
}
],
"_active": true,
"_components": [
{
"__id__": 169
"__id__": 170
},
{
"__id__": 170
"__id__": 171
},
{
"__id__": 44
},
{
"__id__": 171
"__id__": 172
}
],
"_prefab": null,
......@@ -1860,28 +1860,28 @@
"__id__": 45
},
{
"__id__": 89
"__id__": 90
},
{
"__id__": 110
"__id__": 111
},
{
"__id__": 129
"__id__": 130
},
{
"__id__": 136
"__id__": 137
}
],
"_active": true,
"_components": [
{
"__id__": 163
},
{
"__id__": 164
},
{
"__id__": 165
},
{
"__id__": 166
}
],
"_prefab": null,
......@@ -1973,7 +1973,7 @@
"_priority": 50000,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 617.8074074074075,
"_orthoHeight": 546.1440598690365,
"_near": 1,
"_far": 2000,
"_color": {
......@@ -2385,22 +2385,22 @@
"__id__": 60
},
{
"__id__": 78
"__id__": 79
},
{
"__id__": 81
"__id__": 82
},
{
"__id__": 84
"__id__": 85
}
],
"_active": true,
"_components": [
{
"__id__": 87
"__id__": 88
},
{
"__id__": 88
"__id__": 89
}
],
"_prefab": null,
......@@ -2462,6 +2462,9 @@
},
{
"__id__": 77
},
{
"__id__": 78
}
],
"_prefab": null,
......@@ -2664,7 +2667,7 @@
"__id__": 64
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 66
......@@ -2774,7 +2777,7 @@
"__id__": 64
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 69
......@@ -3116,7 +3119,7 @@
"_id": "9008jPGTdLqbuIZaSGZCqq"
},
{
"__type__": "532eatxmlpEUq5vxBxAsyVo",
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
......@@ -3125,7 +3128,57 @@
},
"_enabled": true,
"__prefab": null,
"_id": "2bcGqyTHJFOrpdnAk8tK0V"
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": null,
"_id": "6cdZqI0ahGR6vNZ+d2vdO+"
},
{
"__type__": "c41ebLmntdDo59nChgm7Fx0",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": null,
"_id": "b0NO6Hn9RN25leAZn92BXr"
},
{
"__type__": "cc.Node",
......@@ -3139,10 +3192,10 @@
"_active": true,
"_components": [
{
"__id__": 79
"__id__": 80
},
{
"__id__": 80
"__id__": 81
}
],
"_prefab": null,
......@@ -3181,7 +3234,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 78
"__id__": 79
},
"_enabled": true,
"__prefab": null,
......@@ -3203,7 +3256,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 78
"__id__": 79
},
"_enabled": true,
"__prefab": null,
......@@ -3248,10 +3301,10 @@
"_active": true,
"_components": [
{
"__id__": 82
"__id__": 83
},
{
"__id__": 83
"__id__": 84
}
],
"_prefab": null,
......@@ -3290,7 +3343,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 81
"__id__": 82
},
"_enabled": true,
"__prefab": null,
......@@ -3312,7 +3365,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 81
"__id__": 82
},
"_enabled": true,
"__prefab": null,
......@@ -3357,10 +3410,10 @@
"_active": true,
"_components": [
{
"__id__": 85
"__id__": 86
},
{
"__id__": 86
"__id__": 87
}
],
"_prefab": null,
......@@ -3399,7 +3452,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 84
"__id__": 85
},
"_enabled": true,
"__prefab": null,
......@@ -3421,7 +3474,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 84
"__id__": 85
},
"_enabled": true,
"__prefab": null,
......@@ -3516,22 +3569,22 @@
},
"_children": [
{
"__id__": 90
"__id__": 91
},
{
"__id__": 93
"__id__": 94
}
],
"_active": true,
"_components": [
{
"__id__": 107
},
{
"__id__": 108
},
{
"__id__": 109
},
{
"__id__": 110
}
],
"_prefab": null,
......@@ -3570,16 +3623,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 89
"__id__": 90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 91
"__id__": 92
},
{
"__id__": 92
"__id__": 93
}
],
"_prefab": null,
......@@ -3618,7 +3671,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 90
"__id__": 91
},
"_enabled": true,
"__prefab": null,
......@@ -3640,7 +3693,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 90
"__id__": 91
},
"_enabled": true,
"__prefab": null,
......@@ -3705,20 +3758,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 89
"__id__": 90
},
"_children": [
{
"__id__": 94
"__id__": 95
},
{
"__id__": 103
"__id__": 104
}
],
"_active": true,
"_components": [
{
"__id__": 106
"__id__": 107
}
],
"_prefab": null,
......@@ -3757,23 +3810,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 93
"__id__": 94
},
"_children": [
{
"__id__": 95
"__id__": 96
},
{
"__id__": 98
"__id__": 99
}
],
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 102
},
{
"__id__": 102
"__id__": 103
}
],
"_prefab": null,
......@@ -3812,16 +3865,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 94
"__id__": 95
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 96
"__id__": 97
},
{
"__id__": 97
"__id__": 98
}
],
"_prefab": null,
......@@ -3860,7 +3913,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 95
"__id__": 96
},
"_enabled": true,
"__prefab": null,
......@@ -3882,7 +3935,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 95
"__id__": 96
},
"_enabled": true,
"__prefab": null,
......@@ -3947,16 +4000,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 94
"__id__": 95
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 100
},
{
"__id__": 100
"__id__": 101
}
],
"_prefab": null,
......@@ -3995,7 +4048,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 98
"__id__": 99
},
"_enabled": true,
"__prefab": null,
......@@ -4017,7 +4070,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 98
"__id__": 99
},
"_enabled": true,
"__prefab": null,
......@@ -4082,7 +4135,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 94
"__id__": 95
},
"_enabled": true,
"__prefab": null,
......@@ -4104,7 +4157,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 94
"__id__": 95
},
"_enabled": true,
"__prefab": null,
......@@ -4136,16 +4189,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 93
"__id__": 94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 104
"__id__": 105
},
{
"__id__": 105
"__id__": 106
}
],
"_prefab": null,
......@@ -4184,7 +4237,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 103
"__id__": 104
},
"_enabled": true,
"__prefab": null,
......@@ -4206,7 +4259,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 103
"__id__": 104
},
"_enabled": true,
"__prefab": null,
......@@ -4271,7 +4324,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 93
"__id__": 94
},
"_enabled": true,
"__prefab": null,
......@@ -4293,7 +4346,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 89
"__id__": 90
},
"_enabled": true,
"__prefab": null,
......@@ -4315,7 +4368,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 89
"__id__": 90
},
"_enabled": true,
"__prefab": null,
......@@ -4345,7 +4398,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 89
"__id__": 90
},
"_enabled": true,
"__prefab": null,
......@@ -4381,19 +4434,19 @@
},
"_children": [
{
"__id__": 111
"__id__": 112
}
],
"_active": true,
"_components": [
{
"__id__": 126
},
{
"__id__": 127
},
{
"__id__": 128
},
{
"__id__": 129
}
],
"_prefab": null,
......@@ -4430,17 +4483,17 @@
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 111
},
"_prefab": {
"__id__": 112
"__id__": 113
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 111
"__id__": 112
},
"asset": {
"__uuid__": "279fb523-a195-4d19-9e7c-1a05f1af2c6b",
......@@ -4448,7 +4501,7 @@
},
"fileId": "49A5rcXXVEt7bJwMc/vvkp",
"instance": {
"__id__": 113
"__id__": 114
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
......@@ -4461,10 +4514,7 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 114
},
{
"__id__": 116
"__id__": 115
},
{
"__id__": 117
......@@ -4476,16 +4526,19 @@
"__id__": 119
},
{
"__id__": 121
"__id__": 120
},
{
"__id__": 123
"__id__": 122
},
{
"__id__": 124
},
{
"__id__": 125
},
{
"__id__": 126
}
],
"removedComponents": []
......@@ -4493,7 +4546,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 115
"__id__": 116
},
"propertyPath": [
"_name"
......@@ -4509,7 +4562,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 115
"__id__": 116
},
"propertyPath": [
"_lpos"
......@@ -4524,7 +4577,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 115
"__id__": 116
},
"propertyPath": [
"_lrot"
......@@ -4540,7 +4593,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 115
"__id__": 116
},
"propertyPath": [
"_euler"
......@@ -4555,7 +4608,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 120
"__id__": 121
},
"propertyPath": [
"_enableOutline"
......@@ -4571,7 +4624,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 122
"__id__": 123
},
"propertyPath": [
"_contentSize"
......@@ -4591,7 +4644,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 120
"__id__": 121
},
"propertyPath": [
"_isItalic"
......@@ -4601,7 +4654,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 120
"__id__": 121
},
"propertyPath": [
"_isBold"
......@@ -4611,7 +4664,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 120
"__id__": 121
},
"propertyPath": [
"_cacheMode"
......@@ -4624,7 +4677,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 110
"__id__": 111
},
"_enabled": true,
"__prefab": null,
......@@ -4646,7 +4699,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 110
"__id__": 111
},
"_enabled": true,
"__prefab": null,
......@@ -4676,7 +4729,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 110
"__id__": 111
},
"_enabled": true,
"__prefab": null,
......@@ -4689,7 +4742,7 @@
"__expectedType__": "cc.Prefab"
},
"selfNode": {
"__id__": 111
"__id__": 112
},
"_id": "d17UmC1cFCiY8DxwBXpbec"
},
......@@ -4703,19 +4756,19 @@
},
"_children": [
{
"__id__": 130
"__id__": 131
}
],
"_active": true,
"_components": [
{
"__id__": 133
},
{
"__id__": 134
},
{
"__id__": 135
},
{
"__id__": 136
}
],
"_prefab": null,
......@@ -4754,16 +4807,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 129
"__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 132
},
{
"__id__": 132
"__id__": 133
}
],
"_prefab": null,
......@@ -4802,7 +4855,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 130
"__id__": 131
},
"_enabled": true,
"__prefab": null,
......@@ -4824,7 +4877,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 130
"__id__": 131
},
"_enabled": true,
"__prefab": null,
......@@ -4889,7 +4942,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 129
"__id__": 130
},
"_enabled": true,
"__prefab": null,
......@@ -4911,7 +4964,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 129
"__id__": 130
},
"_enabled": true,
"__prefab": null,
......@@ -4950,7 +5003,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 129
"__id__": 130
},
"_enabled": true,
"__prefab": null,
......@@ -4984,25 +5037,25 @@
},
"_children": [
{
"__id__": 137
"__id__": 138
},
{
"__id__": 153
"__id__": 154
},
{
"__id__": 156
"__id__": 157
}
],
"_active": true,
"_components": [
{
"__id__": 160
},
{
"__id__": 161
},
{
"__id__": 162
},
{
"__id__": 163
}
],
"_prefab": null,
......@@ -5041,20 +5094,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 136
"__id__": 137
},
"_children": [
{
"__id__": 138
"__id__": 139
}
],
"_active": true,
"_components": [
{
"__id__": 151
"__id__": 152
},
{
"__id__": 152
"__id__": 153
}
],
"_prefab": null,
......@@ -5093,29 +5146,29 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 137
"__id__": 138
},
"_children": [
{
"__id__": 139
"__id__": 140
},
{
"__id__": 142
"__id__": 143
},
{
"__id__": 145
"__id__": 146
}
],
"_active": true,
"_components": [
{
"__id__": 148
},
{
"__id__": 149
},
{
"__id__": 150
},
{
"__id__": 151
}
],
"_prefab": null,
......@@ -5154,16 +5207,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 138
"__id__": 139
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 140
"__id__": 141
},
{
"__id__": 141
"__id__": 142
}
],
"_prefab": null,
......@@ -5202,7 +5255,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 139
"__id__": 140
},
"_enabled": true,
"__prefab": null,
......@@ -5224,7 +5277,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 139
"__id__": 140
},
"_enabled": true,
"__prefab": null,
......@@ -5289,16 +5342,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 138
"__id__": 139
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 143
"__id__": 144
},
{
"__id__": 144
"__id__": 145
}
],
"_prefab": null,
......@@ -5337,7 +5390,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 142
"__id__": 143
},
"_enabled": true,
"__prefab": null,
......@@ -5359,7 +5412,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 142
"__id__": 143
},
"_enabled": true,
"__prefab": null,
......@@ -5424,16 +5477,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 138
"__id__": 139
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 146
"__id__": 147
},
{
"__id__": 147
"__id__": 148
}
],
"_prefab": null,
......@@ -5472,7 +5525,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 145
"__id__": 146
},
"_enabled": true,
"__prefab": null,
......@@ -5494,7 +5547,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 145
"__id__": 146
},
"_enabled": true,
"__prefab": null,
......@@ -5559,7 +5612,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 138
"__id__": 139
},
"_enabled": true,
"__prefab": null,
......@@ -5581,7 +5634,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 138
"__id__": 139
},
"_enabled": true,
"__prefab": null,
......@@ -5613,7 +5666,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 138
"__id__": 139
},
"_enabled": true,
"__prefab": null,
......@@ -5643,7 +5696,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 137
"__id__": 138
},
"_enabled": true,
"__prefab": null,
......@@ -5665,7 +5718,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 137
"__id__": 138
},
"_enabled": true,
"__prefab": null,
......@@ -5704,16 +5757,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 136
"__id__": 137
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 154
"__id__": 155
},
{
"__id__": 155
"__id__": 156
}
],
"_prefab": null,
......@@ -5752,7 +5805,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 153
"__id__": 154
},
"_enabled": true,
"__prefab": null,
......@@ -5774,7 +5827,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 153
"__id__": 154
},
"_enabled": true,
"__prefab": null,
......@@ -5814,19 +5867,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 136
"__id__": 137
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 157
},
{
"__id__": 158
},
{
"__id__": 159
},
{
"__id__": 160
}
],
"_prefab": null,
......@@ -5865,7 +5918,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 156
"__id__": 157
},
"_enabled": true,
"__prefab": null,
......@@ -5887,7 +5940,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 156
"__id__": 157
},
"_enabled": true,
"__prefab": null,
......@@ -5952,7 +6005,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 156
"__id__": 157
},
"_enabled": true,
"__prefab": null,
......@@ -5982,7 +6035,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 136
"__id__": 137
},
"_enabled": true,
"__prefab": null,
......@@ -6004,7 +6057,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 136
"__id__": 137
},
"_enabled": true,
"__prefab": null,
......@@ -6034,18 +6087,18 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 136
"__id__": 137
},
"_enabled": true,
"__prefab": null,
"graphics": {
"__id__": 155
"__id__": 156
},
"cdTxt": {
"__id__": 144
"__id__": 145
},
"goalTxt": {
"__id__": 158
"__id__": 159
},
"_id": "dfl2fX641H3qOpggystLiY"
},
......@@ -6129,10 +6182,10 @@
"_active": true,
"_components": [
{
"__id__": 167
"__id__": 168
},
{
"__id__": 168
"__id__": 169
}
],
"_prefab": null,
......@@ -6171,7 +6224,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 166
"__id__": 167
},
"_enabled": true,
"__prefab": null,
......@@ -6193,7 +6246,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 166
"__id__": 167
},
"_enabled": true,
"__prefab": null,
......@@ -6420,13 +6473,13 @@
"__id__": 4
},
"killTxt": {
"__id__": 92
"__id__": 93
},
"lengthTxt": {
"__id__": 100
"__id__": 101
},
"luckyNum": {
"__id__": 132
"__id__": 133
},
"_id": "212vDeP7dNBZXi0fJjPuCy"
},
......@@ -6438,12 +6491,12 @@
"instance": null,
"targetOverrides": [
{
"__id__": 177
"__id__": 178
}
],
"nestedPrefabInstanceRoots": [
{
"__id__": 111
"__id__": 112
}
]
},
......@@ -6453,7 +6506,7 @@
"__id__": 32
},
"sourceInfo": {
"__id__": 178
"__id__": 179
},
"propertyPath": [
"head"
......@@ -6462,7 +6515,7 @@
"__id__": 32
},
"targetInfo": {
"__id__": 179
"__id__": 180
}
},
{
......@@ -6480,28 +6533,28 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 181
"__id__": 182
},
"shadows": {
"__id__": 182
"__id__": 183
},
"_skybox": {
"__id__": 183
"__id__": 184
},
"fog": {
"__id__": 184
"__id__": 185
},
"octree": {
"__id__": 185
"__id__": 186
},
"skin": {
"__id__": 186
"__id__": 187
},
"lightProbeInfo": {
"__id__": 187
"__id__": 188
},
"postSettings": {
"__id__": 188
"__id__": 189
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
......
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "4055f717-70d1-4f32-ad68-268672596eb8",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "21b344bf-efec-4515-9cf3-783d680258c5",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "04c4c3c6-c6a2-4ffb-98af-169280fb26f6",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "04c4c3c6-c6a2-4ffb-98af-169280fb26f6@6c48a",
"displayName": "卡A",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "04c4c3c6-c6a2-4ffb-98af-169280fb26f6",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "04c4c3c6-c6a2-4ffb-98af-169280fb26f6@f9941",
"displayName": "卡A",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 32,
"height": 42,
"rawWidth": 32,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16,
-21,
0,
16,
-21,
0,
-16,
21,
0,
16,
21,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
42,
32,
42,
0,
0,
32,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-16,
-21,
0
],
"maxPos": [
16,
21,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "04c4c3c6-c6a2-4ffb-98af-169280fb26f6@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "04c4c3c6-c6a2-4ffb-98af-169280fb26f6@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "e37fb195-9aa5-43ba-9720-93366607f675",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "e37fb195-9aa5-43ba-9720-93366607f675@6c48a",
"displayName": "卡B",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "e37fb195-9aa5-43ba-9720-93366607f675",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "e37fb195-9aa5-43ba-9720-93366607f675@f9941",
"displayName": "卡B",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 32,
"height": 42,
"rawWidth": 32,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16,
-21,
0,
16,
-21,
0,
-16,
21,
0,
16,
21,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
42,
32,
42,
0,
0,
32,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-16,
-21,
0
],
"maxPos": [
16,
21,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "e37fb195-9aa5-43ba-9720-93366607f675@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "e37fb195-9aa5-43ba-9720-93366607f675@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "af6adb06-7b7a-4c99-9a3a-93f00d63e5c7",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "af6adb06-7b7a-4c99-9a3a-93f00d63e5c7@6c48a",
"displayName": "卡C",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "af6adb06-7b7a-4c99-9a3a-93f00d63e5c7",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "af6adb06-7b7a-4c99-9a3a-93f00d63e5c7@f9941",
"displayName": "卡C",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 32,
"height": 42,
"rawWidth": 32,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16,
-21,
0,
16,
-21,
0,
-16,
21,
0,
16,
21,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
42,
32,
42,
0,
0,
32,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-16,
-21,
0
],
"maxPos": [
16,
21,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "af6adb06-7b7a-4c99-9a3a-93f00d63e5c7@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "af6adb06-7b7a-4c99-9a3a-93f00d63e5c7@6c48a"
}
}
......@@ -26,7 +26,13 @@ const aiNick = [
"蹲街守寂寞",
"暮凉",
"还有醋v",
"Goa'uld",
"奋斗的吗喽",
"国服最强人类",
"万年老二",
"向右向前看",
"向佐",
"高端玩家虐菜",
"甜崽",
"寄居人",
"書冩時光",
......
......@@ -23,8 +23,26 @@ export class PropBtn extends Component {
this.cdMask = cd.getChildByName("mask").getComponent(Graphics);
this.cdTxt = cd.getChildByName("num").getComponent(Label);
this.startCd(5);
this.drawProcess(0.4);
this.cdTxt.node.active = false;
this.cdMask.node.active = false;
// this.startCd(5);
// this.drawProcess(0.4);
this.node.on(Node.EventType.TOUCH_START, this.use, this);
}
doUse() {
}
private use() {
if (this.cd) {
return;
}
this.doUse();
}
drawProcess(process: number) {
......@@ -50,7 +68,8 @@ export class PropBtn extends Component {
.to(cd, { cd: 0 }, {
onUpdate: (target: PropBtn, ratio: number) => {
this.drawProcess(1 - ratio);
this.cdTxt.string = `${this.cd.toFixed(1)}s`;
const cdStr = this.cd < 10 ? this.cd.toFixed(1) : Math.ceil(this.cd);
this.cdTxt.string = `${cdStr}s`;
},
onComplete: () => {
this.cdTxt.node.active = false;
......
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "373b4007-b199-4437-abdc-428a2d4fe291",
"files": [],
"subMetas": {},
"userData": {}
}
import { _decorator, Component, Node } from 'cc';
import { PropBtn } from "../Components/PropBtn";
const { ccclass, property } = _decorator;
@ccclass('SpeedPropBtn')
export class SpeedPropBtn extends PropBtn {
start() {
}
doUse() {
super.doUse();
this.startCd(15);
}
}
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "c41eb2e6-9ed7-43a3-9f67-0a1826ec5c74",
"files": [],
"subMetas": {},
"userData": {}
}
import { _decorator } from "cc";
import { foodPool } from "../Manager/CommonPool";
import { foodPool } from "db://assets/Scripts/Scenes/MainGame/Manager/CommonPool";
import { PropBase } from "./PropBase";
import { Snake } from "../Snake";
import { Snake } from "db://assets/Scripts/Scenes/MainGame/Snake";
const { ccclass, property } = _decorator;
......
import { _decorator } from "cc";
import { PropBase } from "./PropBase";
import { Snake } from "../Snake";
import { LuckyBagManager } from "../Manager/LuckyBagManager";
import { Snake } from "db://assets/Scripts/Scenes/MainGame/Snake";
import { LuckyBagManager } from "db://assets/Scripts/Scenes/MainGame/Manager/LuckyBagManager";
const { ccclass, property } = _decorator;
......
import { _decorator, Component } from "cc";
import { Snake } from "../Snake";
import { Snake } from "db://assets/Scripts/Scenes/MainGame/Snake";
const { ccclass, property } = _decorator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment