Commit ca333642 authored by haiyoucuv's avatar haiyoucuv

init

parent 73142c1e
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 177 "__id__": 194
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
}, },
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_globals": { "_globals": {
"__id__": 181 "__id__": 198
}, },
"_id": "53947ca7-3484-4b53-800d-509405063d68" "_id": "53947ca7-3484-4b53-800d-509405063d68"
}, },
...@@ -92,16 +92,16 @@ ...@@ -92,16 +92,16 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 173 "__id__": 190
}, },
{ {
"__id__": 174 "__id__": 191
}, },
{ {
"__id__": 175 "__id__": 192
}, },
{ {
"__id__": 176 "__id__": 193
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
"_priority": 40000, "_priority": 40000,
"_fov": 45, "_fov": 45,
"_fovAxis": 0, "_fovAxis": 0,
"_orthoHeight": 546.1440598690365, "_orthoHeight": 622.4280155642023,
"_near": 0, "_near": 0,
"_far": 2000, "_far": 2000,
"_color": { "_color": {
...@@ -1762,10 +1762,10 @@ ...@@ -1762,10 +1762,10 @@
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"handle": { "handle": {
"__id__": 167 "__id__": 184
}, },
"bg": { "bg": {
"__id__": 171 "__id__": 188
}, },
"normalSp": { "normalSp": {
"__uuid__": "7f413237-4b73-4bae-bca7-7ab9e9742ebc@f9941", "__uuid__": "7f413237-4b73-4bae-bca7-7ab9e9742ebc@f9941",
...@@ -1787,22 +1787,22 @@ ...@@ -1787,22 +1787,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 167 "__id__": 184
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 170 "__id__": 187
}, },
{ {
"__id__": 171 "__id__": 188
}, },
{ {
"__id__": 44 "__id__": 44
}, },
{ {
"__id__": 172 "__id__": 189
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1870,18 +1870,21 @@ ...@@ -1870,18 +1870,21 @@
}, },
{ {
"__id__": 137 "__id__": 137
},
{
"__id__": 164
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 164 "__id__": 181
}, },
{ {
"__id__": 165 "__id__": 182
}, },
{ {
"__id__": 166 "__id__": 183
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1973,7 +1976,7 @@ ...@@ -1973,7 +1976,7 @@
"_priority": 50000, "_priority": 50000,
"_fov": 45, "_fov": 45,
"_fovAxis": 0, "_fovAxis": 0,
"_orthoHeight": 546.1440598690365, "_orthoHeight": 622.4280155642023,
"_near": 1, "_near": 1,
"_far": 2000, "_far": 2000,
"_color": { "_color": {
...@@ -6103,89 +6106,88 @@ ...@@ -6103,89 +6106,88 @@
"_id": "dfl2fX641H3qOpggystLiY" "_id": "dfl2fX641H3qOpggystLiY"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.Node",
"_name": "", "_name": "Pre倒计时",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "_parent": {
"__id__": 46 "__id__": 46
}, },
"_enabled": true, "_children": [
"__prefab": null, {
"_contentSize": { "__id__": 165
"__type__": "cc.Size",
"width": 1624,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
}, },
"_id": "33mxfvlWJOYoIbx4ZEAfKS" {
"__id__": 169
}, },
{ {
"__type__": "cc.Canvas", "__id__": 173
"_name": "", }
"_objFlags": 0, ],
"__editorExtras__": {}, "_active": true,
"node": { "_components": [
"__id__": 46 {
"__id__": 177
}, },
"_enabled": true, {
"__prefab": null, "__id__": 178
"_cameraComponent": {
"__id__": 48
}, },
"_alignCanvasWithScreen": true, {
"_id": "34wxp/0vpKH4Wcp1ieFQOS" "__id__": 179
}, },
{ {
"__type__": "cc.Widget", "__id__": 180
"_name": "", }
"_objFlags": 0, ],
"__editorExtras__": {}, "_prefab": null,
"node": { "_lpos": {
"__id__": 46 "__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}, },
"_enabled": true, "_lrot": {
"__prefab": null, "__type__": "cc.Quat",
"_alignFlags": 45, "x": 0,
"_target": null, "y": 0,
"_left": 0, "z": 0,
"_right": 0, "w": 1
"_top": 0, },
"_bottom": 0, "_lscale": {
"_horizontalCenter": 0, "__type__": "cc.Vec3",
"_verticalCenter": 0, "x": 1,
"_isAbsLeft": true, "y": 1,
"_isAbsRight": true, "z": 1
"_isAbsTop": true, },
"_isAbsBottom": true, "_mobility": 0,
"_isAbsHorizontalCenter": true, "_layer": 33554432,
"_isAbsVerticalCenter": true, "_euler": {
"_originalWidth": 0, "__type__": "cc.Vec3",
"_originalHeight": 0, "x": 0,
"_alignMode": 2, "y": 0,
"_lockFlags": 0, "z": 0
"_id": "06Ujytz0pEyLB5yn9hXAKx" },
"_id": "98ONemkKRIe4wGbIPTH5YD"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "handle", "_name": "mask",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 45 "__id__": 164
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 168 "__id__": 166
}, },
{ {
"__id__": 169 "__id__": 167
},
{
"__id__": 168
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6216,7 +6218,7 @@ ...@@ -6216,7 +6218,7 @@
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "afSm7CFGFEXrWoQl6Y6Gxn" "_id": "ccDW8kaI9NpKBcnV39MRNA"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
...@@ -6224,21 +6226,21 @@ ...@@ -6224,21 +6226,21 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 167 "__id__": 165
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 60, "width": 1624,
"height": 60 "height": 750
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "90ZZLRikdJoKqiyDQXUVwh" "_id": "69q64ataxGgKH9/yY/iOIl"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -6246,7 +6248,7 @@ ...@@ -6246,7 +6248,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 167 "__id__": 165
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -6255,18 +6257,18 @@ ...@@ -6255,18 +6257,18 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 0,
"g": 255, "g": 0,
"b": 255, "b": 0,
"a": 255 "a": 166
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "3663d54b-ed86-4cd2-afb7-17cf31563804@f9941", "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
...@@ -6277,7 +6279,88 @@ ...@@ -6277,7 +6279,88 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "6bMPXGycdENoxLG4JE1aI7" "_id": "d9gHkHCjdDLZvZq306ald6"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 165
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "5342lu+9dDPpeCwPIR0gIN"
},
{
"__type__": "cc.Node",
"_name": "倒计时",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 170
},
{
"__id__": 171
},
{
"__id__": 172
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 133,
"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": "a1yjf6vIBJbKxJfKZhlGDT"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
...@@ -6285,21 +6368,21 @@ ...@@ -6285,21 +6368,21 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 45 "__id__": 169
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 160, "width": 185,
"height": 160 "height": 56
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "c4+GvL/5VLjY/baHBkgZtu" "_id": "b9zijTgyZMlbMZxC/BHBo1"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -6307,7 +6390,7 @@ ...@@ -6307,7 +6390,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 45 "__id__": 169
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
...@@ -6322,7 +6405,7 @@ ...@@ -6322,7 +6405,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "7f413237-4b73-4bae-bca7-7ab9e9742ebc@f9941", "__uuid__": "1dd4a0a2-32f7-4609-ac6b-33b493c6b1f8@f9941",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
...@@ -6338,7 +6421,7 @@ ...@@ -6338,7 +6421,7 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "66XQUcIMlDkJvkLa8btCt/" "_id": "79RlY/uqJA/o3f8XE+SDsr"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
...@@ -6346,16 +6429,513 @@ ...@@ -6346,16 +6429,513 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 45 "__id__": 169
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_alignFlags": 12, "_alignFlags": 17,
"_target": null, "_target": null,
"_left": 70, "_left": 0,
"_right": 0, "_right": 0,
"_top": 0, "_top": 214,
"_bottom": 70, "_bottom": 347,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 56,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "a9g3xrFrZHaqC97l59N53P"
},
{
"__type__": "cc.Node",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 174
},
{
"__id__": 175
},
{
"__id__": 176
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -60,
"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": "5d6GdQl1hMkJRU3syyGhUE"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 173
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 125,
"height": 184
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "f2lRTRj8lN2pUK7NL7SnyF"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 173
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5870fa57-9c45-4f17-863f-69de905a1c30@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "90IokFAG9HW6N4tu1JXyU5"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 173
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 18,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": -60,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "c3FUOc2cdPlLB9/1csUjZo"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 164
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "f77bUtmNVO1JVTTPlK3w3c"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 164
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "d4wuYoVVlGkJFLXzT0IsQC"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 164
},
"_enabled": true,
"__prefab": null,
"playOnLoad": false,
"_clips": [
{
"__uuid__": "4a6cfa3d-4334-4a1c-a05c-09a95115a0c5",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "4a6cfa3d-4334-4a1c-a05c-09a95115a0c5",
"__expectedType__": "cc.AnimationClip"
},
"_id": "9475yoUMJGhr92RUThpsGn"
},
{
"__type__": "ab733Fx91NN64Be0SxYzjiL",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 164
},
"_enabled": true,
"__prefab": null,
"_id": "42FL388bND/I09PHSon8xe"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 46
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "33mxfvlWJOYoIbx4ZEAfKS"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 46
},
"_enabled": true,
"__prefab": null,
"_cameraComponent": {
"__id__": 48
},
"_alignCanvasWithScreen": true,
"_id": "34wxp/0vpKH4Wcp1ieFQOS"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 46
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "06Ujytz0pEyLB5yn9hXAKx"
},
{
"__type__": "cc.Node",
"_name": "handle",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 185
},
{
"__id__": 186
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"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": "afSm7CFGFEXrWoQl6Y6Gxn"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 184
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "90ZZLRikdJoKqiyDQXUVwh"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 184
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "3663d54b-ed86-4cd2-afb7-17cf31563804@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "6bMPXGycdENoxLG4JE1aI7"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"height": 160
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "c4+GvL/5VLjY/baHBkgZtu"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7f413237-4b73-4bae-bca7-7ab9e9742ebc@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "66XQUcIMlDkJvkLa8btCt/"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 12,
"_target": null,
"_left": 70,
"_right": 0,
"_top": 0,
"_bottom": 70,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
...@@ -6491,7 +7071,7 @@ ...@@ -6491,7 +7071,7 @@
"instance": null, "instance": null,
"targetOverrides": [ "targetOverrides": [
{ {
"__id__": 178 "__id__": 195
} }
], ],
"nestedPrefabInstanceRoots": [ "nestedPrefabInstanceRoots": [
...@@ -6506,7 +7086,7 @@ ...@@ -6506,7 +7086,7 @@
"__id__": 32 "__id__": 32
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 179 "__id__": 196
}, },
"propertyPath": [ "propertyPath": [
"head" "head"
...@@ -6515,7 +7095,7 @@ ...@@ -6515,7 +7095,7 @@
"__id__": 32 "__id__": 32
}, },
"targetInfo": { "targetInfo": {
"__id__": 180 "__id__": 197
} }
}, },
{ {
...@@ -6533,28 +7113,28 @@ ...@@ -6533,28 +7113,28 @@
{ {
"__type__": "cc.SceneGlobals", "__type__": "cc.SceneGlobals",
"ambient": { "ambient": {
"__id__": 182 "__id__": 199
}, },
"shadows": { "shadows": {
"__id__": 183 "__id__": 200
}, },
"_skybox": { "_skybox": {
"__id__": 184 "__id__": 201
}, },
"fog": { "fog": {
"__id__": 185 "__id__": 202
}, },
"octree": { "octree": {
"__id__": 186 "__id__": 203
}, },
"skin": { "skin": {
"__id__": 187 "__id__": 204
}, },
"lightProbeInfo": { "lightProbeInfo": {
"__id__": 188 "__id__": 205
}, },
"postSettings": { "postSettings": {
"__id__": 189 "__id__": 206
}, },
"bakedWithStationaryMainLight": false, "bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false "bakedWithHighpLightmap": false
......
[
{
"__type__": "cc.AnimationClip",
"_name": "pre倒计时",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 11,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 2.8181818181818183,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 7
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 5
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "num"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.9090909090909091,
1.8181818181818181,
2.727272727272727
],
"_values": [
{
"__uuid__": "5870fa57-9c45-4f17-863f-69de905a1c30@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "1363a8d5-0023-496b-8f5c-ab5bd4c34675@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "642b41d3-6e71-49ff-a112-51db6c98369d@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "642b41d3-6e71-49ff-a112-51db6c98369d@f9941",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]
\ No newline at end of file
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "4a6cfa3d-4334-4a1c-a05c-09a95115a0c5",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "pre倒计时"
}
}
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "62ba7b1c-d57c-4c6b-ada9-45983ac699f6",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "642b41d3-6e71-49ff-a112-51db6c98369d",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "642b41d3-6e71-49ff-a112-51db6c98369d@6c48a",
"displayName": "1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "642b41d3-6e71-49ff-a112-51db6c98369d",
"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": "642b41d3-6e71-49ff-a112-51db6c98369d@f9941",
"displayName": "1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 56,
"height": 178,
"rawWidth": 56,
"rawHeight": 178,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-28,
-89,
0,
28,
-89,
0,
-28,
89,
0,
28,
89,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
178,
56,
178,
0,
0,
56,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-28,
-89,
0
],
"maxPos": [
28,
89,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "642b41d3-6e71-49ff-a112-51db6c98369d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "642b41d3-6e71-49ff-a112-51db6c98369d@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "1363a8d5-0023-496b-8f5c-ab5bd4c34675",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "1363a8d5-0023-496b-8f5c-ab5bd4c34675@6c48a",
"displayName": "2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "1363a8d5-0023-496b-8f5c-ab5bd4c34675",
"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": "1363a8d5-0023-496b-8f5c-ab5bd4c34675@f9941",
"displayName": "2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 121,
"height": 181,
"rawWidth": 121,
"rawHeight": 181,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-60.5,
-90.5,
0,
60.5,
-90.5,
0,
-60.5,
90.5,
0,
60.5,
90.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
181,
121,
181,
0,
0,
121,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-60.5,
-90.5,
0
],
"maxPos": [
60.5,
90.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "1363a8d5-0023-496b-8f5c-ab5bd4c34675@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "1363a8d5-0023-496b-8f5c-ab5bd4c34675@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5870fa57-9c45-4f17-863f-69de905a1c30",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5870fa57-9c45-4f17-863f-69de905a1c30@6c48a",
"displayName": "3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5870fa57-9c45-4f17-863f-69de905a1c30",
"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": "5870fa57-9c45-4f17-863f-69de905a1c30@f9941",
"displayName": "3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 125,
"height": 184,
"rawWidth": 125,
"rawHeight": 184,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-62.5,
-92,
0,
62.5,
-92,
0,
-62.5,
92,
0,
62.5,
92,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
184,
125,
184,
0,
0,
125,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-62.5,
-92,
0
],
"maxPos": [
62.5,
92,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5870fa57-9c45-4f17-863f-69de905a1c30@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5870fa57-9c45-4f17-863f-69de905a1c30@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "1dd4a0a2-32f7-4609-ac6b-33b493c6b1f8",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "1dd4a0a2-32f7-4609-ac6b-33b493c6b1f8@6c48a",
"displayName": "倒计时",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "1dd4a0a2-32f7-4609-ac6b-33b493c6b1f8",
"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": "1dd4a0a2-32f7-4609-ac6b-33b493c6b1f8@f9941",
"displayName": "倒计时",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 185,
"height": 56,
"rawWidth": 185,
"rawHeight": 56,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-92.5,
-28,
0,
92.5,
-28,
0,
-92.5,
28,
0,
92.5,
28,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
56,
185,
56,
0,
0,
185,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-92.5,
-28,
0
],
"maxPos": [
92.5,
28,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "1dd4a0a2-32f7-4609-ac6b-33b493c6b1f8@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "1dd4a0a2-32f7-4609-ac6b-33b493c6b1f8@6c48a"
}
}
import { _decorator, Animation, Component, Node } from "cc";
const { ccclass, property } = _decorator;
@ccclass("PreCd")
export class PreCd extends Component {
private static _ins: PreCd;
static get ins() {
return this._ins;
}
animation: Animation = null;
protected onLoad() {
PreCd._ins = this;
this.node.active = false;
this.animation = this.getComponent(Animation);
}
protected onDestroy() {
PreCd._ins = null;
}
async startCd() {
this.node.active = true;
return new Promise<void>((resolve) => {
this.animation.play();
const callBack = () => {
this.animation.off(Animation.EventType.FINISHED, callBack);
this.node.active = false;
console.log(12312);
resolve();
};
this.animation.once(Animation.EventType.FINISHED, callBack);
});
}
}
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "ab733171-f753-4deb-805e-d12c58ce388b",
"files": [],
"subMetas": {},
"userData": {}
}
...@@ -23,6 +23,7 @@ import { aiPool, clearAllPool } from "./Manager/CommonPool"; ...@@ -23,6 +23,7 @@ import { aiPool, clearAllPool } from "./Manager/CommonPool";
import { useNick } from "./Common/AINick"; import { useNick } from "./Common/AINick";
import { observer, render } from "../../store/decorators"; import { observer, render } from "../../store/decorators";
import gameStore from "../../store/gameStore"; import gameStore from "../../store/gameStore";
import { PreCd } from "./Components/PreCd";
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
...@@ -90,7 +91,7 @@ export class MainGame extends Scene { ...@@ -90,7 +91,7 @@ export class MainGame extends Scene {
director.on(Events.setGameState, this.setGameState, this); director.on(Events.setGameState, this.setGameState, this);
} }
start() { async start() {
this.player.init({ this.player.init({
// initEnergy: 10000 // initEnergy: 10000
nickName: "我", nickName: "我",
...@@ -103,6 +104,8 @@ export class MainGame extends Scene { ...@@ -103,6 +104,8 @@ export class MainGame extends Scene {
this.initAnimal(this.maxAnimal); this.initAnimal(this.maxAnimal);
// this.initAnimal(1); // this.initAnimal(1);
await PreCd.ins.startCd();
// 设置游戏状态 // 设置游戏状态
this.setGameState(GameState.PLAY); this.setGameState(GameState.PLAY);
} }
...@@ -119,7 +122,6 @@ export class MainGame extends Scene { ...@@ -119,7 +122,6 @@ export class MainGame extends Scene {
this.lengthTxt.string = `${length}`; this.lengthTxt.string = `${length}`;
this.killTxt.string = `${killNum}名`; this.killTxt.string = `${killNum}名`;
this.luckyNum.string = ${luckNum + gameStore.startInfo?.accumulateLuckNum || 0}`; this.luckyNum.string = ${luckNum + gameStore.startInfo?.accumulateLuckNum || 0}`;
} }
update(dt: number) { update(dt: number) {
......
...@@ -11,8 +11,6 @@ export class SpeedPropBtn extends PropBtn { ...@@ -11,8 +11,6 @@ export class SpeedPropBtn extends PropBtn {
doUse() { doUse() {
super.doUse(); super.doUse();
this.startCd(15); this.startCd(15);
} }
......
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