Commit 2b02b347 authored by haiyoucuv's avatar haiyoucuv

上传

parent 5c6ed55e
......@@ -20,19 +20,19 @@
"__id__": 2
},
{
"__id__": 28
"__id__": 67
},
{
"__id__": 32
"__id__": 71
},
{
"__id__": 139
"__id__": 178
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 162
"__id__": 201
},
"_lpos": {
"__type__": "cc.Vec3",
......@@ -63,7 +63,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 169
"__id__": 208
},
"_id": "7b5de2a0-8504-46ba-9019-37a3548ce8e1"
},
......@@ -84,24 +84,27 @@
},
{
"__id__": 22
},
{
"__id__": 25
}
],
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 64
},
{
"__id__": 26
"__id__": 65
},
{
"__id__": 27
"__id__": 66
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 375.00000000000006,
"x": 375,
"y": 812,
"z": 0
},
......@@ -643,7 +646,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 328.49999999999994,
"x": 328.5,
"y": -256.5,
"z": 0
},
......@@ -843,7 +846,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750.0000000000001,
"width": 750,
"height": 0
},
"_anchorPoint": {
......@@ -977,20 +980,1441 @@
"__uuid__": "5ea91ea2-30f1-4d76-b447-62a680352ee0@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"_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": "f8fYeqeQhPL6Yo08e+Zpl+"
},
{
"__type__": "cc.Node",
"_name": "GuideNode",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 26
},
{
"__id__": 30
},
{
"__id__": 37
},
{
"__id__": 49
}
],
"_active": true,
"_components": [
{
"__id__": 61
},
{
"__id__": 62
},
{
"__id__": 63
}
],
"_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": "650OtEeZxPLLB6sN9l1LIU"
},
{
"__type__": "cc.Node",
"_name": "组 34",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 25
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 27
},
{
"__id__": 28
},
{
"__id__": 29
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -312,
"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": "e9wlpdz6NM35h5D9UHnydy"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 1000
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "3fsZaBhyFLjrJghxmXnR8L"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "2e216ba4-f0b7-49dd-a264-303eb1275af9@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "45xz3b0/BP8LvWUDA4efAb"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 44,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 609,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 574,
"_originalHeight": 406,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "e3fraGq9RHMqgrf537Xm0p"
},
{
"__type__": "cc.Node",
"_name": "Guide1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 25
},
"_children": [
{
"__id__": 31
}
],
"_active": false,
"_components": [
{
"__id__": 35
},
{
"__id__": 36
}
],
"_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": "15jMWsw1lBsrguJMn0ByKe"
},
{
"__type__": "cc.Node",
"_name": "Guide1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 30
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
},
{
"__id__": 33
},
{
"__id__": 34
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -491.59399999999994,
"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": "9aqpiSfPBLQpPYEHlLbjeh"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 586,
"height": 163
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "2d1c66t1dHt5/TjLkPpiLO"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "b981b0f3-5cf9-42bf-9e72-224a4f6a2455@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": "a402oozmNC5LkESyQxxE19"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 4,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 238.90600000000006,
"_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": "341LlUNqVAAp3hUAJWf8Kp"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 1624
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "cbU6Lgg1pPKbh8lmL9S0lF"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
},
"_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": "29N1QRWcdHXbbdYGSemvQq"
},
{
"__type__": "cc.Node",
"_name": "Guide2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 25
},
"_children": [
{
"__id__": 38
},
{
"__id__": 42
}
],
"_active": false,
"_components": [
{
"__id__": 47
},
{
"__id__": 48
}
],
"_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": "64WPNX691CCZH1smzlVTN5"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 39
},
{
"__id__": 40
},
{
"__id__": 41
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -491.59399999999994,
"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": "a6TuZRtMFD3bqtpS7fPUCo"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 586,
"height": 163
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "16LV16vuhA+avQEMp+yf6M"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "317e12d4-50c1-42d7-b17c-d7a0a001bc7b@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": "b6+iwXqxBCA7TNgpafbQn/"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 4,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 238.90600000000006,
"_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": "65FlKsyXlG770WCp/OfSe6"
},
{
"__type__": "cc.Node",
"_name": "next",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
},
{
"__id__": 44
},
{
"__id__": 45
},
{
"__id__": 46
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 220,
"y": -644.094,
"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": "d1EIN7/25FqKlb2nrdBNJf"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 140,
"height": 58
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "a3HsBvreNC5ZdtF/vO+V2W"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "62812253-e666-4efc-ad0a-d4d60e1e415c@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": "9dzGamyU1Ie6q2YlgjTfyj"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 4,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 138.90599999999995,
"_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": "5fOhG9fxVFY5f5ZKGxIbw6"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
},
"_enabled": true,
"__prefab": null,
"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": "f7Tl+/O5RGPKT77gRjlMSZ"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 37
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 1624
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "428yMykR5D+KrkFMyd6kb6"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 37
},
"_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": "fcmgcx5CdJXIzoGCMTfMDS"
},
{
"__type__": "cc.Node",
"_name": "Guide3",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 25
},
"_children": [
{
"__id__": 50
},
{
"__id__": 54
}
],
"_active": true,
"_components": [
{
"__id__": 59
},
{
"__id__": 60
}
],
"_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": "52T5ci0N5J+LY7TPW8hV+f"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 49
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
},
{
"__id__": 52
},
{
"__id__": 53
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -491.59399999999994,
"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": "b6kks0JE5KH4RZVRj3rpNA"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 586,
"height": 163
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "6aEpc7latDoKKyvgG7Z7We"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5ac7c111-9ab9-4d53-976a-1be72b2cc718@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": "9ekz0m3CtJCbWrt+i8yJZ0"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 4,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 238.90600000000006,
"_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": "b57LyDXthP1LRXCU0vpV5K"
},
{
"__type__": "cc.Node",
"_name": "next",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 49
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 55
},
{
"__id__": 56
},
{
"__id__": 57
},
{
"__id__": 58
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 220,
"y": -644.094,
"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": "e4S5LwaGJLSoA2M96X4e0n"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 140,
"height": 58
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "71+DckmAJGWagyARJjU7n4"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "62812253-e666-4efc-ad0a-d4d60e1e415c@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": "a3ERB6jgVFu4Ux9A3PR8Lx"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 4,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 138.90599999999995,
"_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": "c6TyR3gmdJDbd0suW0seRv"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": null,
"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": "11W+SSsrZF758zXAytsUas"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 49
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 1624
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "4dKZXIfhZGl5g91s/Qdu2r"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 49
},
"_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": "2aXUtUVSZMbpbn9dK0o5ae"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 25
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 1624
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "85IJKjPTtCMLznBrL2ioH1"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 25
},
"_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": "c0cLkdcEVEwJkxqTUTICKL"
},
{
"__type__": "73861OYoZpBgp4UNcTjRnUg",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 25
},
"_enabled": true,
"__prefab": null,
"guideNode": [
{
"__id__": 30
},
{
"__id__": 37
},
{
"__id__": 49
}
],
"guide2Next": {
"__id__": 42
},
"guide3Next": {
"__id__": 54
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "f8fYeqeQhPL6Yo08e+Zpl+"
"_id": "29mHRU1OFDG45UwXdzev8u"
},
{
"__type__": "cc.UITransform",
......@@ -1004,7 +2428,7 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750.0000000000001,
"width": 750,
"height": 1624
},
"_anchorPoint": {
......@@ -1072,10 +2496,10 @@
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 68
},
{
"__id__": 30
"__id__": 69
}
],
"_prefab": null,
......@@ -1114,7 +2538,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
"__id__": 67
},
"_enabled": true,
"__prefab": null,
......@@ -1160,12 +2584,12 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
"__id__": 67
},
"_enabled": true,
"__prefab": null,
"brainBlend": {
"__id__": 31
"__id__": 70
},
"debugMaterial": null,
"_id": "0170hzm29NjqN8GPRvbRKp"
......@@ -1185,25 +2609,25 @@
},
"_children": [
{
"__id__": 33
"__id__": 72
},
{
"__id__": 46
"__id__": 85
},
{
"__id__": 54
"__id__": 93
},
{
"__id__": 128
"__id__": 167
},
{
"__id__": 134
"__id__": 173
}
],
"_active": true,
"_components": [
{
"__id__": 137
"__id__": 176
}
],
"_prefab": null,
......@@ -1240,17 +2664,17 @@
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 71
},
"_prefab": {
"__id__": 34
"__id__": 73
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 33
"__id__": 72
},
"asset": {
"__uuid__": "ff249ea2-131c-46cc-8bb5-e07bfcca3d01",
......@@ -1258,7 +2682,7 @@
},
"fileId": "aegNE1yWlBBIKxxsS+uiuP",
"instance": {
"__id__": 35
"__id__": 74
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
......@@ -1271,28 +2695,28 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 36
"__id__": 75
},
{
"__id__": 38
"__id__": 77
},
{
"__id__": 39
"__id__": 78
},
{
"__id__": 40
"__id__": 79
},
{
"__id__": 41
"__id__": 80
},
{
"__id__": 42
"__id__": 81
},
{
"__id__": 44
"__id__": 83
},
{
"__id__": 45
"__id__": 84
}
],
"removedComponents": []
......@@ -1300,7 +2724,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 76
},
"propertyPath": [
"_name"
......@@ -1316,7 +2740,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 76
},
"propertyPath": [
"_lpos"
......@@ -1331,7 +2755,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 76
},
"propertyPath": [
"_lrot"
......@@ -1347,7 +2771,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 76
},
"propertyPath": [
"_euler"
......@@ -1362,7 +2786,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
"__id__": 76
},
"propertyPath": [
"_active"
......@@ -1372,7 +2796,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 43
"__id__": 82
},
"propertyPath": [
"isInit"
......@@ -1388,7 +2812,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 43
"__id__": 82
},
"propertyPath": [
"lightPrefab"
......@@ -1401,7 +2825,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 43
"__id__": 82
},
"propertyPath": [
"ringPrefab"
......@@ -1415,17 +2839,17 @@
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 71
},
"_prefab": {
"__id__": 47
"__id__": 86
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
"__id__": 85
},
"asset": {
"__uuid__": "50650cb7-af92-4041-93d7-e8d9a7fa446d",
......@@ -1433,7 +2857,7 @@
},
"fileId": "d4iYkvxtJO87QMcNhqpzME",
"instance": {
"__id__": 48
"__id__": 87
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
......@@ -1446,16 +2870,16 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 49
"__id__": 88
},
{
"__id__": 51
"__id__": 90
},
{
"__id__": 52
"__id__": 91
},
{
"__id__": 53
"__id__": 92
}
],
"removedComponents": []
......@@ -1463,7 +2887,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
"__id__": 89
},
"propertyPath": [
"_name"
......@@ -1479,7 +2903,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
"__id__": 89
},
"propertyPath": [
"_lpos"
......@@ -1494,7 +2918,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
"__id__": 89
},
"propertyPath": [
"_lrot"
......@@ -1510,7 +2934,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
"__id__": 89
},
"propertyPath": [
"_euler"
......@@ -1528,29 +2952,29 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 32
"__id__": 71
},
"_children": [
{
"__id__": 55
"__id__": 94
},
{
"__id__": 59
"__id__": 98
},
{
"__id__": 62
"__id__": 101
},
{
"__id__": 123
"__id__": 162
}
],
"_active": true,
"_components": [
{
"__id__": 126
"__id__": 165
},
{
"__id__": 127
"__id__": 166
}
],
"_prefab": null,
......@@ -1589,11 +3013,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
"__id__": 93
},
"_children": [
{
"__id__": 56
"__id__": 95
}
],
"_active": true,
......@@ -1634,13 +3058,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 55
"__id__": 94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
"__id__": 96
}
],
"_prefab": null,
......@@ -1679,7 +3103,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 56
"__id__": 95
},
"_enabled": true,
"__prefab": null,
......@@ -1691,7 +3115,7 @@
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 58
"__id__": 97
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@8abdc",
......@@ -1734,13 +3158,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
"__id__": 93
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 60
"__id__": 99
}
],
"_prefab": null,
......@@ -1779,7 +3203,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 59
"__id__": 98
},
"_enabled": true,
"__prefab": null,
......@@ -1791,7 +3215,7 @@
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 61
"__id__": 100
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@17020",
......@@ -1834,13 +3258,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
"__id__": 93
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
"__id__": 102
}
],
"_prefab": null,
......@@ -1879,7 +3303,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 62
"__id__": 101
},
"_enabled": true,
"__prefab": null,
......@@ -1892,56 +3316,56 @@
],
"_visFlags": 0,
"startColor": {
"__id__": 64
"__id__": 103
},
"scaleSpace": 1,
"startSize3D": false,
"startSizeX": {
"__id__": 65
"__id__": 104
},
"startSize": {
"__id__": 65
"__id__": 104
},
"startSizeY": {
"__id__": 66
"__id__": 105
},
"startSizeZ": {
"__id__": 67
"__id__": 106
},
"startSpeed": {
"__id__": 68
"__id__": 107
},
"startRotation3D": false,
"startRotationX": {
"__id__": 69
"__id__": 108
},
"startRotationY": {
"__id__": 70
"__id__": 109
},
"startRotationZ": {
"__id__": 71
"__id__": 110
},
"startRotation": {
"__id__": 71
"__id__": 110
},
"startDelay": {
"__id__": 72
"__id__": 111
},
"startLifetime": {
"__id__": 73
"__id__": 112
},
"duration": 5,
"loop": true,
"simulationSpeed": 1,
"playOnAwake": true,
"gravityModifier": {
"__id__": 74
"__id__": 113
},
"rateOverTime": {
"__id__": 75
"__id__": 114
},
"rateOverDistance": {
"__id__": 76
"__id__": 115
},
"bursts": [],
"_renderCulling": false,
......@@ -1952,37 +3376,37 @@
"_dataCulling": false,
"enableCulling": false,
"_colorOverLifetimeModule": {
"__id__": 77
"__id__": 116
},
"_shapeModule": {
"__id__": 86
"__id__": 125
},
"_sizeOvertimeModule": {
"__id__": 88
"__id__": 127
},
"_velocityOvertimeModule": {
"__id__": 94
"__id__": 133
},
"_forceOvertimeModule": {
"__id__": 99
"__id__": 138
},
"_limitVelocityOvertimeModule": {
"__id__": 103
"__id__": 142
},
"_rotationOvertimeModule": {
"__id__": 108
"__id__": 147
},
"_textureAnimationModule": {
"__id__": 112
"__id__": 151
},
"_noiseModule": {
"__id__": 116
"__id__": 155
},
"_trailModule": {
"__id__": 117
"__id__": 156
},
"renderer": {
"__id__": 122
"__id__": 161
},
"_prewarm": false,
"_capacity": 20,
......@@ -2080,38 +3504,38 @@
"__type__": "cc.ColorOvertimeModule",
"_enable": true,
"color": {
"__id__": 78
"__id__": 117
}
},
{
"__type__": "cc.GradientRange",
"_mode": 1,
"gradient": {
"__id__": 79
"__id__": 118
}
},
{
"__type__": "cc.Gradient",
"colorKeys": [
{
"__id__": 80
"__id__": 119
},
{
"__id__": 81
"__id__": 120
}
],
"alphaKeys": [
{
"__id__": 82
"__id__": 121
},
{
"__id__": 83
"__id__": 122
},
{
"__id__": 84
"__id__": 123
},
{
"__id__": 85
"__id__": 124
}
],
"mode": 0
......@@ -2173,7 +3597,7 @@
"arcMode": 0,
"arcSpread": 0,
"arcSpeed": {
"__id__": 87
"__id__": 126
},
"length": 5,
"boxThickness": {
......@@ -2214,23 +3638,23 @@
"_enable": true,
"separateAxes": false,
"size": {
"__id__": 89
"__id__": 128
},
"x": {
"__id__": 91
"__id__": 130
},
"y": {
"__id__": 92
"__id__": 131
},
"z": {
"__id__": 93
"__id__": 132
}
},
{
"__type__": "cc.CurveRange",
"mode": 1,
"spline": {
"__id__": 90
"__id__": 129
},
"multiplier": 1
},
......@@ -2291,16 +3715,16 @@
"__type__": "cc.VelocityOvertimeModule",
"_enable": false,
"x": {
"__id__": 95
"__id__": 134
},
"y": {
"__id__": 96
"__id__": 135
},
"z": {
"__id__": 97
"__id__": 136
},
"speedModifier": {
"__id__": 98
"__id__": 137
},
"space": 1
},
......@@ -2332,13 +3756,13 @@
"__type__": "cc.ForceOvertimeModule",
"_enable": false,
"x": {
"__id__": 100
"__id__": 139
},
"y": {
"__id__": 101
"__id__": 140
},
"z": {
"__id__": 102
"__id__": 141
},
"space": 1
},
......@@ -2364,16 +3788,16 @@
"__type__": "cc.LimitVelocityOvertimeModule",
"_enable": false,
"limitX": {
"__id__": 104
"__id__": 143
},
"limitY": {
"__id__": 105
"__id__": 144
},
"limitZ": {
"__id__": 106
"__id__": 145
},
"limit": {
"__id__": 107
"__id__": 146
},
"dampen": 3,
"separateAxes": false,
......@@ -2408,13 +3832,13 @@
"_enable": true,
"_separateAxes": false,
"x": {
"__id__": 109
"__id__": 148
},
"y": {
"__id__": 110
"__id__": 149
},
"z": {
"__id__": 111
"__id__": 150
}
},
{
......@@ -2445,10 +3869,10 @@
"_mode": 0,
"animation": 0,
"frameOverTime": {
"__id__": 113
"__id__": 152
},
"startFrame": {
"__id__": 115
"__id__": 154
},
"cycleCount": 1,
"_flipU": 0,
......@@ -2461,7 +3885,7 @@
"__type__": "cc.CurveRange",
"mode": 1,
"spline": {
"__id__": 114
"__id__": 153
},
"multiplier": 1
},
......@@ -2528,25 +3952,25 @@
"_enable": false,
"mode": 0,
"lifeTime": {
"__id__": 118
"__id__": 157
},
"_minParticleDistance": 0.1,
"existWithParticles": true,
"textureMode": 0,
"widthFromParticle": true,
"widthRatio": {
"__id__": 119
"__id__": 158
},
"colorFromParticle": false,
"colorOverTrail": {
"__id__": 120
"__id__": 159
},
"colorOvertime": {
"__id__": 121
"__id__": 160
},
"_space": 0,
"_particleSystem": {
"__id__": 63
"__id__": 102
}
},
{
......@@ -2607,13 +4031,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
"__id__": 93
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 124
"__id__": 163
}
],
"_prefab": null,
......@@ -2652,7 +4076,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 123
"__id__": 162
},
"_enabled": true,
"__prefab": null,
......@@ -2666,7 +4090,7 @@
"_useColorTemperature": false,
"_colorTemperature": 6550,
"_staticSettings": {
"__id__": 125
"__id__": 164
},
"_visibility": -325058561,
"_size": 0.1,
......@@ -2689,7 +4113,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
"__id__": 93
},
"_enabled": true,
"__prefab": null,
......@@ -2720,7 +4144,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
"__id__": 93
},
"_enabled": true,
"__prefab": null,
......@@ -2741,22 +4165,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 32
"__id__": 71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 129
"__id__": 168
},
{
"__id__": 131
"__id__": 170
},
{
"__id__": 132
"__id__": 171
},
{
"__id__": 133
"__id__": 172
}
],
"_prefab": null,
......@@ -2795,7 +4219,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
"__id__": 167
},
"_enabled": true,
"__prefab": null,
......@@ -2807,7 +4231,7 @@
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 130
"__id__": 169
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@17020",
......@@ -2850,7 +4274,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
"__id__": 167
},
"_enabled": true,
"__prefab": null,
......@@ -2881,7 +4305,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
"__id__": 167
},
"_enabled": true,
"__prefab": null,
......@@ -2902,13 +4326,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
"__id__": 167
},
"_enabled": true,
"__prefab": null,
"_enableCollision": false,
"_connectedBody": {
"__id__": 126
"__id__": 165
},
"_pivotA": {
"__type__": "cc.Vec3",
......@@ -2930,13 +4354,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 32
"__id__": 71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 135
"__id__": 174
}
],
"_prefab": null,
......@@ -2975,7 +4399,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 134
"__id__": 173
},
"_enabled": true,
"__prefab": null,
......@@ -2989,7 +4413,7 @@
"_useColorTemperature": false,
"_colorTemperature": 6550,
"_staticSettings": {
"__id__": 136
"__id__": 175
},
"_visibility": -325058561,
"_illuminanceHDR": 200000,
......@@ -3026,22 +4450,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 32
"__id__": 71
},
"_enabled": true,
"__prefab": null,
"uiLayer": null,
"linkPoint": {
"__id__": 128
"__id__": 167
},
"line": {
"__id__": 55
"__id__": 94
},
"player": {
"__id__": 54
"__id__": 93
},
"initWall": {
"__id__": 33
"__id__": 72
},
"wallPrefab": {
"__uuid__": "ff249ea2-131c-46cc-8bb5-e07bfcca3d01",
......@@ -3056,7 +4480,7 @@
"__expectedType__": "cc.Prefab"
},
"light": {
"__id__": 135
"__id__": 174
},
"scoreLabel": {
"__id__": 12
......@@ -3065,28 +4489,31 @@
"__id__": 22
},
"bg": {
"__id__": 138
"__id__": 177
},
"bgAndColor": [
{
"__id__": 156
"__id__": 195
},
{
"__id__": 157
"__id__": 196
},
{
"__id__": 158
"__id__": 197
},
{
"__id__": 159
"__id__": 198
},
{
"__id__": 160
"__id__": 199
},
{
"__id__": 161
"__id__": 200
}
],
"guideNode": {
"__id__": 63
},
"_id": "e1H/t/+jNGBqBpGc/3J4W7"
},
{
......@@ -3095,16 +4522,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 139
"__id__": 178
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 153
"__id__": 192
},
{
"__id__": 155
"__id__": 194
}
],
"_prefab": null,
......@@ -3147,16 +4574,16 @@
},
"_children": [
{
"__id__": 140
"__id__": 179
},
{
"__id__": 138
"__id__": 177
}
],
"_active": true,
"_components": [
{
"__id__": 143
"__id__": 182
}
],
"_prefab": null,
......@@ -3195,13 +4622,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 139
"__id__": 178
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 141
"__id__": 180
}
],
"_prefab": null,
......@@ -3240,7 +4667,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 140
"__id__": 179
},
"_enabled": true,
"__prefab": null,
......@@ -3254,7 +4681,7 @@
"_useColorTemperature": false,
"_colorTemperature": 6550,
"_staticSettings": {
"__id__": 142
"__id__": 181
},
"_visibility": -325058561,
"_size": 0.2,
......@@ -3283,32 +4710,32 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 139
"__id__": 178
},
"_enabled": true,
"__prefab": null,
"_lookAt": {
"__id__": 54
"__id__": 93
},
"_follow": {
"__id__": 54
"__id__": 93
},
"debug": false,
"priority": 10,
"lens": {
"__id__": 144
"__id__": 183
},
"body": {
"__id__": 145
"__id__": 184
},
"aim": {
"__id__": 149
"__id__": 188
},
"noise": {
"__id__": 151
"__id__": 190
},
"impulse": {
"__id__": 152
"__id__": 191
},
"_id": "01PlVl105KvbYv5SEEmGvm"
},
......@@ -3322,10 +4749,10 @@
"__type__": "VCamBody",
"_type": 1,
"freelook": {
"__id__": 146
"__id__": 185
},
"tracked": {
"__id__": 147
"__id__": 186
}
},
{
......@@ -3355,7 +4782,7 @@
"damping": 1,
"cameraUp": 0,
"autoDolly": {
"__id__": 148
"__id__": 187
}
},
{
......@@ -3374,7 +4801,7 @@
"z": 0
},
"composer": {
"__id__": 150
"__id__": 189
}
},
{
......@@ -3404,7 +4831,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 138
"__id__": 177
},
"_enabled": true,
"__prefab": null,
......@@ -3416,7 +4843,7 @@
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 154
"__id__": 193
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@fc873",
......@@ -3459,15 +4886,15 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 138
"__id__": 177
},
"_enabled": true,
"__prefab": null,
"camera": {
"__id__": 28
"__id__": 67
},
"player": {
"__id__": 54
"__id__": 93
},
"_id": "23i7AVmIJPTqEHSFR4Dzn8"
},
......@@ -3563,37 +4990,37 @@
"instance": null,
"targetOverrides": [
{
"__id__": 163
"__id__": 202
},
{
"__id__": 166
"__id__": 205
}
],
"nestedPrefabInstanceRoots": [
{
"__id__": 33
"__id__": 72
},
{
"__id__": 46
"__id__": 85
}
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 33
"__id__": 72
},
"sourceInfo": {
"__id__": 164
"__id__": 203
},
"propertyPath": [
"top"
],
"target": {
"__id__": 33
"__id__": 72
},
"targetInfo": {
"__id__": 165
"__id__": 204
}
},
{
......@@ -3611,19 +5038,19 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 33
"__id__": 72
},
"sourceInfo": {
"__id__": 167
"__id__": 206
},
"propertyPath": [
"bottom"
],
"target": {
"__id__": 33
"__id__": 72
},
"targetInfo": {
"__id__": 168
"__id__": 207
}
},
{
......@@ -3641,28 +5068,28 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 170
"__id__": 209
},
"shadows": {
"__id__": 171
"__id__": 210
},
"_skybox": {
"__id__": 172
"__id__": 211
},
"fog": {
"__id__": 173
"__id__": 212
},
"octree": {
"__id__": 174
"__id__": 213
},
"skin": {
"__id__": 175
"__id__": 214
},
"lightProbeInfo": {
"__id__": 176
"__id__": 215
},
"postSettings": {
"__id__": 177
"__id__": 216
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
......
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "b981b0f3-5cf9-42bf-9e72-224a4f6a2455",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "b981b0f3-5cf9-42bf-9e72-224a4f6a2455@6c48a",
"displayName": "Guide1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "b981b0f3-5cf9-42bf-9e72-224a4f6a2455",
"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": "b981b0f3-5cf9-42bf-9e72-224a4f6a2455@f9941",
"displayName": "Guide1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 586,
"height": 163,
"rawWidth": 586,
"rawHeight": 163,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-293,
-81.5,
0,
293,
-81.5,
0,
-293,
81.5,
0,
293,
81.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
163,
586,
163,
0,
0,
586,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-293,
-81.5,
0
],
"maxPos": [
293,
81.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "b981b0f3-5cf9-42bf-9e72-224a4f6a2455@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "b981b0f3-5cf9-42bf-9e72-224a4f6a2455@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "317e12d4-50c1-42d7-b17c-d7a0a001bc7b",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "317e12d4-50c1-42d7-b17c-d7a0a001bc7b@6c48a",
"displayName": "Guide2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "317e12d4-50c1-42d7-b17c-d7a0a001bc7b",
"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": "317e12d4-50c1-42d7-b17c-d7a0a001bc7b@f9941",
"displayName": "Guide2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 586,
"height": 163,
"rawWidth": 586,
"rawHeight": 163,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-293,
-81.5,
0,
293,
-81.5,
0,
-293,
81.5,
0,
293,
81.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
163,
586,
163,
0,
0,
586,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-293,
-81.5,
0
],
"maxPos": [
293,
81.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "317e12d4-50c1-42d7-b17c-d7a0a001bc7b@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "317e12d4-50c1-42d7-b17c-d7a0a001bc7b@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5ac7c111-9ab9-4d53-976a-1be72b2cc718",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5ac7c111-9ab9-4d53-976a-1be72b2cc718@6c48a",
"displayName": "Guide3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5ac7c111-9ab9-4d53-976a-1be72b2cc718",
"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": "5ac7c111-9ab9-4d53-976a-1be72b2cc718@f9941",
"displayName": "Guide3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 586,
"height": 163,
"rawWidth": 586,
"rawHeight": 163,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-293,
-81.5,
0,
293,
-81.5,
0,
-293,
81.5,
0,
293,
81.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
163,
586,
163,
0,
0,
586,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-293,
-81.5,
0
],
"maxPos": [
293,
81.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5ac7c111-9ab9-4d53-976a-1be72b2cc718@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5ac7c111-9ab9-4d53-976a-1be72b2cc718@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "62812253-e666-4efc-ad0a-d4d60e1e415c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "62812253-e666-4efc-ad0a-d4d60e1e415c@6c48a",
"displayName": "next",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "62812253-e666-4efc-ad0a-d4d60e1e415c",
"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": "62812253-e666-4efc-ad0a-d4d60e1e415c@f9941",
"displayName": "next",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 140,
"height": 58,
"rawWidth": 140,
"rawHeight": 58,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-70,
-29,
0,
70,
-29,
0,
-70,
29,
0,
70,
29,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
58,
140,
58,
0,
0,
140,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-70,
-29,
0
],
"maxPos": [
70,
29,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "62812253-e666-4efc-ad0a-d4d60e1e415c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "62812253-e666-4efc-ad0a-d4d60e1e415c@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2e216ba4-f0b7-49dd-a264-303eb1275af9",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2e216ba4-f0b7-49dd-a264-303eb1275af9@6c48a",
"displayName": "组 34",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "2e216ba4-f0b7-49dd-a264-303eb1275af9",
"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": "2e216ba4-f0b7-49dd-a264-303eb1275af9@f9941",
"displayName": "组 34",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 574,
"height": 406,
"rawWidth": 574,
"rawHeight": 406,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-287,
-203,
0,
287,
-203,
0,
-287,
203,
0,
287,
203,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
406,
574,
406,
0,
0,
574,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-287,
-203,
0
],
"maxPos": [
287,
203,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2e216ba4-f0b7-49dd-a264-303eb1275af9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "2e216ba4-f0b7-49dd-a264-303eb1275af9@6c48a"
}
}
......@@ -617,6 +617,7 @@
"__id__": 0
},
"fileId": "d4iYkvxtJO87QMcNhqpzME",
"instance": null,
"targetOverrides": null
}
]
\ No newline at end of file
......@@ -849,7 +849,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -60.11199999999994,
"y": -28.09050000000002,
"z": 0
},
"_lrot": {
......@@ -889,13 +889,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 137.3142547607422,
"width": 490,
"height": 34.208999999999996
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"y": 1
},
"_id": ""
},
......@@ -927,12 +927,12 @@
},
"_string": "prizeName",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_verticalAlign": 2,
"_actualFontSize": 27.15,
"_fontSize": 27.15,
"_fontFamily": "Arial",
"_lineHeight": 27.15,
"_overflow": 0,
"_overflow": 3,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
......@@ -987,7 +987,7 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 855.0074999999999,
"_top": 840.0905,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
......
......@@ -9,11 +9,10 @@ import { GuideScene } from "./GuideScene";
import GameMgr from "../GameMgr";
import RankPanel from "../Panels/RankPanel";
import { UIMgr } from "../../Module/UIMgr";
import { AudioMgr } from "../../core_tgx/base/AudioMgr";
import BackPanel from "../Panels/BackPanel";
import { GuideGame } from "./MainGame/GuideGame";
const {ccclass, property} = _decorator;
const { ccclass, property } = _decorator;
@observer
@ccclass('HomeScene')
......@@ -52,12 +51,11 @@ export class HomeScene extends Scene {
clickStart = _asyncThrottle(async () => {
const {alreadyGuideSteps, allGuideSteps} = store.homeInfo;
const { alreadyGuideSteps, allGuideSteps } = store.homeInfo;
if (alreadyGuideSteps < allGuideSteps) {
changeScene(GuideGame);
} else {
const success = await GameMgr.ins.start();
if (!success) {
return;
......@@ -69,7 +67,7 @@ export class HomeScene extends Scene {
clickRule = _asyncThrottle(async () => {
// showPanel(RulePanel);
changeScene(GuideScene, {from: "HomeScene"});
changeScene(GuideGame);
});
clickRank = _asyncThrottle(() => {
......
import {
_decorator,
_decorator, Button,
Collider,
Color,
easing, EPhysicsDrawFlags, game,
......@@ -28,8 +28,9 @@ import GameMgr from "../../GameMgr";
import { AudioMgr } from "../../../core_tgx/base/AudioMgr";
import { mdEvent } from "../../AppTool";
import { BgAndColor } from "./BgAndColor";
import { GuideNode } from "./GuideNode";
const {ccclass, property} = _decorator;
const { ccclass, property } = _decorator;
@ccclass("GuideGame")
export class GuideGame extends Scene {
......@@ -54,13 +55,16 @@ export class GuideGame extends Scene {
@property(Light) light: Light = null;
@property({type: Label, group: "UI"}) scoreLabel: Label = null;
@property({type: Node, group: "UI"}) hitTip: Node = null;
@property({ type: Label, group: "UI" }) scoreLabel: Label = null;
@property({ type: Node, group: "UI" }) hitTip: Node = null;
@property({type: Node}) bg: Node = null;
@property({type: [BgAndColor], visible: true, displayName: `背景和颜色`})
@property({ type: Node }) bg: Node = null;
@property({ type: [BgAndColor], visible: true, displayName: `背景和颜色` })
private bgAndColor: BgAndColor[] = [];
@property(GuideNode) guideNode: GuideNode = null;
private _score: number = 0;
set score(value: number) {
......@@ -79,9 +83,11 @@ export class GuideGame extends Scene {
maxZ = 0;
scoreRadio = 1;
phyUpdate = true;
onLoad() {
mdEvent({pageView: "gamsStart"});
PhysicsSystem.instance.autoSimulation = false;
const playerCollider = this.player.getComponent(Collider);
playerCollider.on("onCollisionEnter", this.onPlayerCollision, this);
......@@ -105,18 +111,22 @@ export class GuideGame extends Scene {
for (let i = 5; i <= 11; i++) {
this.wallArr[i] = this.createCube();
if (i == 11) {
const wallTs = this.wallArr[i].getComponent(Wall);
wallTs.createRing(wallTs.dH);
}
}
// await sleep(0.5);
input.on(Input.EventType.TOUCH_START, this.onTouchStart, this);
input.on(Input.EventType.TOUCH_MOVE, this.onTouchMove, this);
input.on(Input.EventType.TOUCH_END, this.onTouchEnd, this);
input.on(Input.EventType.TOUCH_CANCEL, this.onTouchEnd, this);
this.guideNode.show(1);
}
onDestroy() {
input.off(Input.EventType.TOUCH_START, this.onTouchStart, this);
input.off(Input.EventType.TOUCH_MOVE, this.onTouchMove, this);
input.off(Input.EventType.TOUCH_END, this.onTouchEnd, this);
input.off(Input.EventType.TOUCH_CANCEL, this.onTouchEnd, this);
......@@ -152,8 +162,8 @@ export class GuideGame extends Scene {
this.scoreRadio = 1;
}
onTriggerEnter(event: ITriggerEvent) {
const {otherCollider, selfCollider} = event;
async onTriggerEnter(event: ITriggerEvent) {
const { otherCollider, selfCollider } = event;
const otherName = otherCollider.node.name;
......@@ -161,14 +171,25 @@ export class GuideGame extends Scene {
otherCollider.node.active = false;
this.changeMainColor();
} else if (otherName == "圆环") {
await new Promise<void>((resolve) => {
this.phyUpdate = false;
this.guideNode.show(3);
this.guideNode.guide3Next.once(Button.EventType.CLICK, () => {
this.phyUpdate = true;
this.guideNode.hide();
resolve();
});
});
otherCollider.node.active = false;
this.scoreRadio = 2;
this.unschedule(this.scoreRadioFunc);
this.scheduleOnce(this.scoreRadioFunc, 5);
tween(this.hitTip)
.set({active: true})
.set({ active: true })
.delay(2)
.set({active: false})
.set({ active: false })
.start();
const crushNode = instantiate(this.crushPrefab);
......@@ -185,7 +206,7 @@ export class GuideGame extends Scene {
onPlayerCollision(event: ICollisionEvent) {
if (this.isOver) return;
const {otherCollider, selfCollider} = event;
const { otherCollider, selfCollider } = event;
const otherGroup = otherCollider.getGroup();
......@@ -213,12 +234,12 @@ export class GuideGame extends Scene {
changeMainColor() {
this.randomMainColor();
const {bg, color} = this.mainColor;
const { bg, color } = this.mainColor;
this.bg.getComponent(MeshRenderer).material.setProperty("mainTexture", bg);
this.lightTween?.removeSelf();
this.lightTween = tween({radio: 0})
.to(1, {radio: 1}, {
this.lightTween = tween({ radio: 0 })
.to(1, { radio: 1 }, {
easing: easing.quadInOut,
onUpdate: (target, ratio) => {
this.lightColor.lerp(color, ratio);
......@@ -232,11 +253,20 @@ export class GuideGame extends Scene {
const singular = z % 2 == 0;
const newGroup = instantiate(singular ? this.wallPrefab : this.wallPrefab2);
this.node.addChild(newGroup);
newGroup.setPosition(v3(0, Math.random(), z));
newGroup.setPosition(v3(0, 0, z));
newGroup.getComponent(Wall).resetGuide();
// newGroup.setPosition(v3(0, Math.random(), z));
return newGroup;
}
onTouchStart(event: any) {
if (this.guideNode.guideShow && this.guideNode.guideIndex > 1) {
return;
}
if (this.isOver) return;
this.isTouch = true;
......@@ -276,10 +306,19 @@ export class GuideGame extends Scene {
this.playerBody.getAngularVelocity(angular);
angular.multiplyScalar(velocityMultiplier);
this.playerBody.setAngularVelocity(v3());
}
onTouchMove(event: any) {
// 新手引导
if (this.guideNode.guideIndex == 1) {
this.guideNode.hide();
this.scheduleOnce(() => {
this.phyUpdate = false;
this.guideNode.show(2);
this.guideNode.guide2Next.on(Button.EventType.CLICK, () => {
this.guideNode.hide();
this.phyUpdate = true;
});
}, 0.65);
}
}
onTouchEnd(event: any) {
......@@ -296,13 +335,13 @@ export class GuideGame extends Scene {
{
lastZ: 0,
create: false,
interval: 50,
interval: 1111111,
funcName: "createLight",
},
{
lastZ: 0,
create: false,
interval: 25,
interval: 1111111,
funcName: "createRing",
},
]
......@@ -316,7 +355,7 @@ export class GuideGame extends Scene {
const propLen = this.propCFG.length;
let create = false;
for (let i = 0; i < propLen; i++) {
const {lastZ, interval} = this.propCFG[i];
const { lastZ, interval } = this.propCFG[i];
const dz = lastZ - pz;
if (create) {
this.propCFG[i].lastZ = pz;
......@@ -334,10 +373,10 @@ export class GuideGame extends Scene {
this.wallArr.push(wall);
const wallTs = wall.getComponent(Wall);
wallTs.reset();
wallTs.resetGuide();
for (let i = 0; i < propLen; i++) {
const {funcName, create} = this.propCFG[i];
const { funcName, create } = this.propCFG[i];
if (create) {
this.propCFG[i].create = false;
wallTs[funcName]();
......@@ -365,14 +404,17 @@ export class GuideGame extends Scene {
}
protected lateUpdate(dt: number) {
// PhysicsSystem.instance.physicsWorld.syncSceneToPhysics();
//
// // PhysicsSystem.instance.fixedTimeStep = dt;
// // PhysicsSystem.instance.update(dt);
// PhysicsSystem.instance.step(1/60, dt);
//
// PhysicsSystem.instance.physicsWorld.emitEvents();
// PhysicsSystem.instance.physicsWorld.syncAfterEvents();
if (!this.phyUpdate) return;
PhysicsSystem.instance.physicsWorld.syncSceneToPhysics();
// PhysicsSystem.instance.fixedTimeStep = dt;
// PhysicsSystem.instance.update(dt);
PhysicsSystem.instance.step(1 / 60, dt);
PhysicsSystem.instance.physicsWorld.emitEvents();
PhysicsSystem.instance.physicsWorld.syncAfterEvents();
}
update(dt: number) {
......@@ -393,7 +435,7 @@ export class GuideGame extends Scene {
this.checkWall();
}
if (this.isTouch) {
if (this.phyUpdate && this.isTouch) {
const lineScale = Vec3.distance(this.player.position, this.linkPoint.position);
this.line.setScale(1, lineScale / 2, 1);
......
import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('GuideNode')
export class GuideNode extends Component {
@property(Node)
guideNode: Node[] = [];
@property(Node)
guide2Next: Node = null;
@property(Node)
guide3Next: Node = null;
guideIndex: 0 | 1 | 2 | 3 | 4 = 0;
get guideShow() {
return this.node.active;
}
show(index: 1 | 2 | 3 | 4) {
for (let i = 0; i < this.guideNode.length; i++) {
if (this.guideNode[i]) {
this.guideNode[i].active = false;
}
}
this.node.active = true;
if (this.guideNode[index - 1]) {
this.guideNode[index - 1].active = true;
}
this.guideIndex = index;
}
hide() {
this.node.active = false;
}
start() {
this.hide();
}
update(deltaTime: number) {
}
}
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "73861398-a19a-4182-9e14-35c4e3467520",
"files": [],
"subMetas": {},
"userData": {}
}
......@@ -110,14 +110,12 @@ export class MainGame extends Scene {
// await sleep(0.5);
input.on(Input.EventType.TOUCH_START, this.onTouchStart, this);
input.on(Input.EventType.TOUCH_MOVE, this.onTouchMove, this);
input.on(Input.EventType.TOUCH_END, this.onTouchEnd, this);
input.on(Input.EventType.TOUCH_CANCEL, this.onTouchEnd, this);
}
onDestroy() {
input.off(Input.EventType.TOUCH_START, this.onTouchStart, this);
input.off(Input.EventType.TOUCH_MOVE, this.onTouchMove, this);
input.off(Input.EventType.TOUCH_END, this.onTouchEnd, this);
input.off(Input.EventType.TOUCH_CANCEL, this.onTouchEnd, this);
......@@ -279,10 +277,6 @@ export class MainGame extends Scene {
this.playerBody.setAngularVelocity(v3());
}
onTouchMove(event: any) {
}
onTouchEnd(event: any) {
if (this.isOver) return;
if (!this.isTouch) return;
......
import { _decorator, Component, instantiate, lerp, Node, Prefab } from 'cc';
const {ccclass, property} = _decorator;
const { ccclass, property } = _decorator;
@ccclass('Wall')
export class Wall extends Component {
......@@ -16,7 +16,7 @@ export class Wall extends Component {
dH: number = 1;
start() {
onLoad() {
if (!this.isInit) {
this.reset();
}
......@@ -35,6 +35,11 @@ export class Wall extends Component {
this.ring?.destroy();
}
resetGuide() {
this.dH = Math.random() * 0.5 + 4.5;
this.top.setPosition(0, this.dH / 2, 0);
this.bottom.setPosition(0, -this.dH / 2, 0);
}
light: Node = null;
......@@ -46,11 +51,10 @@ export class Wall extends Component {
ring: Node = null;
createRing() {
createRing(scale = lerp(this.dH * 0.4, this.dH * 0.75, Math.random())) {
this.ring = instantiate(this.ringPrefab);
this.node.addChild(this.ring);
const scale = lerp(this.dH * 0.4, this.dH * 0.75, Math.random());
this.ring.setScale(scale, scale);
const dyHalf = (this.dH - scale) / 2;
......
......@@ -9,7 +9,7 @@
"8": {
"3\\extension": {
"name": "extension",
"time": 1728353677505
"time": 1728438098234
}
}
}
......
......@@ -68,7 +68,7 @@
"_value": true
},
"profiler": {
"_value": true
"_value": false
},
"occlusion-query": {
"_value": true
......@@ -148,7 +148,6 @@
"physics-physx",
"primitive",
"procedural-animation",
"profiler",
"skeletal-animation",
"tween",
"ui"
......
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