Commit f5b02bf8 authored by Tt's avatar Tt

内容上传

parent 948c401a
...@@ -2589,8 +2589,8 @@ ...@@ -2589,8 +2589,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 100,
"height": 0 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2601,8 +2601,8 @@ ...@@ -2601,8 +2601,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-612.956, -605.175,
119.871, 139.324,
0, 0,
0, 0,
0, 0,
...@@ -2826,8 +2826,8 @@ ...@@ -2826,8 +2826,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2838,8 +2838,8 @@ ...@@ -2838,8 +2838,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.168, 0,
132.039, 98,
0, 0,
0, 0,
0, 0,
...@@ -2879,7 +2879,7 @@ ...@@ -2879,7 +2879,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "2843d8c4-1a05-4fe9-a5fb-fadd1dd7df9b" "__uuid__": "2fca1379-e9c9-488f-ad2f-f249ddaa6de4"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -2897,7 +2897,7 @@ ...@@ -2897,7 +2897,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_4", "_name": "icon_5",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 57 "__id__": 57
...@@ -2920,8 +2920,8 @@ ...@@ -2920,8 +2920,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2932,8 +2932,8 @@ ...@@ -2932,8 +2932,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.168, 0,
132.039, 98,
0, 0,
0, 0,
0, 0,
...@@ -2955,7 +2955,7 @@ ...@@ -2955,7 +2955,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a6GpPL19JFvpah2IqU6yF3" "_id": "22yqPAlf9IGZPu+QM4S9LH"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -2973,7 +2973,7 @@ ...@@ -2973,7 +2973,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "9e130b13-684f-46b7-9aaf-0f661da8fc38" "__uuid__": "381e60c0-f5e0-4ad3-93e0-ec527db1ff68"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -2987,11 +2987,11 @@ ...@@ -2987,11 +2987,11 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "0cStF4JSJNFIWcIn2jX1R4" "_id": "derQB9akRIMak3OaXElA3v"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_5", "_name": "icon_4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 57 "__id__": 57
...@@ -3014,8 +3014,8 @@ ...@@ -3014,8 +3014,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3026,8 +3026,8 @@ ...@@ -3026,8 +3026,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.168, 0,
132.039, 98,
0, 0,
0, 0,
0, 0,
...@@ -3049,7 +3049,7 @@ ...@@ -3049,7 +3049,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "22yqPAlf9IGZPu+QM4S9LH" "_id": "a6GpPL19JFvpah2IqU6yF3"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -3067,7 +3067,7 @@ ...@@ -3067,7 +3067,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "64dc457d-758a-41b6-bbfe-bf83a8b7ead8" "__uuid__": "b544783b-7264-4279-b5db-7f653435a72f"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3081,7 +3081,7 @@ ...@@ -3081,7 +3081,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "derQB9akRIMak3OaXElA3v" "_id": "0cStF4JSJNFIWcIn2jX1R4"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -3108,8 +3108,8 @@ ...@@ -3108,8 +3108,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3121,7 +3121,7 @@ ...@@ -3121,7 +3121,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
131.65, 98,
0, 0,
0, 0,
0, 0,
...@@ -3161,7 +3161,7 @@ ...@@ -3161,7 +3161,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "776f8585-277d-4451-9373-32ed6dc1ae8a" "__uuid__": "7ce58d5b-ae56-4d61-b2bf-21beeeeacfca"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3214,8 +3214,8 @@ ...@@ -3214,8 +3214,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.168, 0,
132.039, 98,
0, 0,
0, 0,
0, 0,
...@@ -3255,7 +3255,7 @@ ...@@ -3255,7 +3255,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "e0078a11-dce4-4d60-ad4d-fe0111bc40ca" "__uuid__": "2db6039c-890b-4687-934e-fc97cb51b925"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3308,8 +3308,8 @@ ...@@ -3308,8 +3308,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.168, 0,
132.039, 98,
0, 0,
0, 0,
0, 0,
...@@ -3349,7 +3349,7 @@ ...@@ -3349,7 +3349,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "2db85b0f-0d2f-4511-96ff-6746b0666b91" "__uuid__": "38008136-8895-41f4-9b3e-7545f3c3a65c"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3662,8 +3662,8 @@ ...@@ -3662,8 +3662,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3674,8 +3674,8 @@ ...@@ -3674,8 +3674,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.475, 0,
131.779, 98,
0, 0,
0, 0,
0, 0,
...@@ -3697,7 +3697,7 @@ ...@@ -3697,7 +3697,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "62M0oEMRNCQKiPYyzR4C31" "_id": "37w9iM7TtDrpjO4ehepKl2"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -3715,7 +3715,7 @@ ...@@ -3715,7 +3715,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "2843d8c4-1a05-4fe9-a5fb-fadd1dd7df9b" "__uuid__": "2fca1379-e9c9-488f-ad2f-f249ddaa6de4"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3729,11 +3729,11 @@ ...@@ -3729,11 +3729,11 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "5cUaYxyRhOl7zTv4EfuXAF" "_id": "25OcfggUtFN5GtPOJQ3Ln0"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_4", "_name": "icon_5",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 74 "__id__": 74
...@@ -3756,8 +3756,8 @@ ...@@ -3756,8 +3756,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3768,8 +3768,8 @@ ...@@ -3768,8 +3768,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.475, 0,
131.779, 98,
0, 0,
0, 0,
0, 0,
...@@ -3791,7 +3791,7 @@ ...@@ -3791,7 +3791,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a7pDKGH6pEe4TOy2J2dzl7" "_id": "4eyiG/8rNIQ4RU3y7jS89P"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -3809,7 +3809,7 @@ ...@@ -3809,7 +3809,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "9e130b13-684f-46b7-9aaf-0f661da8fc38" "__uuid__": "381e60c0-f5e0-4ad3-93e0-ec527db1ff68"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3823,11 +3823,11 @@ ...@@ -3823,11 +3823,11 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "32Lp9435JNLY5gHbi8OLIv" "_id": "39vz0X6aVPqbO4iC82agHa"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_5", "_name": "icon_4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 74 "__id__": 74
...@@ -3850,8 +3850,8 @@ ...@@ -3850,8 +3850,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3862,8 +3862,8 @@ ...@@ -3862,8 +3862,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.475, 0,
131.779, 98,
0, 0,
0, 0,
0, 0,
...@@ -3885,7 +3885,7 @@ ...@@ -3885,7 +3885,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "79imAdzEhOp4QQVVi7BScx" "_id": "f9oDJmnYBLqKfucEFb9KPa"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -3903,7 +3903,7 @@ ...@@ -3903,7 +3903,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "64dc457d-758a-41b6-bbfe-bf83a8b7ead8" "__uuid__": "b544783b-7264-4279-b5db-7f653435a72f"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -3917,7 +3917,7 @@ ...@@ -3917,7 +3917,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "5du/uCQGpIwaR3B4xloCFx" "_id": "4eB+CvJzVOVq6qIvozS2wR"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -3944,8 +3944,8 @@ ...@@ -3944,8 +3944,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3956,8 +3956,8 @@ ...@@ -3956,8 +3956,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.475, 0,
131.779, 98,
0, 0,
0, 0,
0, 0,
...@@ -3979,7 +3979,7 @@ ...@@ -3979,7 +3979,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "afTq2jKt9HI4Z9x5UlqMlQ" "_id": "9dLmjdBUtO67oIMvIN4039"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -3997,7 +3997,7 @@ ...@@ -3997,7 +3997,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "776f8585-277d-4451-9373-32ed6dc1ae8a" "__uuid__": "7ce58d5b-ae56-4d61-b2bf-21beeeeacfca"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -4011,7 +4011,7 @@ ...@@ -4011,7 +4011,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "3cX1ZFSeZItI0AvSoq7w8V" "_id": "4dCgjINQlDHrSjmfze3q+q"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -4021,7 +4021,7 @@ ...@@ -4021,7 +4021,7 @@
"__id__": 74 "__id__": 74
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 84 "__id__": 84
...@@ -4038,8 +4038,8 @@ ...@@ -4038,8 +4038,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4050,8 +4050,8 @@ ...@@ -4050,8 +4050,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.475, 0,
131.779, 98,
0, 0,
0, 0,
0, 0,
...@@ -4073,7 +4073,7 @@ ...@@ -4073,7 +4073,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "5dL1HazJBM/4BB/ef2f60D" "_id": "01daeBnPdA2ojuZID1wcBz"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -4091,7 +4091,7 @@ ...@@ -4091,7 +4091,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "e0078a11-dce4-4d60-ad4d-fe0111bc40ca" "__uuid__": "2db6039c-890b-4687-934e-fc97cb51b925"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -4105,7 +4105,7 @@ ...@@ -4105,7 +4105,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "7aiGfECANOZIGKJVCTKAfM" "_id": "91iu5aampOZJqxhxZay1fA"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -4115,7 +4115,7 @@ ...@@ -4115,7 +4115,7 @@
"__id__": 74 "__id__": 74
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 86 "__id__": 86
...@@ -4132,8 +4132,8 @@ ...@@ -4132,8 +4132,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 104, "width": 61,
"height": 104 "height": 61
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4144,8 +4144,8 @@ ...@@ -4144,8 +4144,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.475, 0,
131.779, 98,
0, 0,
0, 0,
0, 0,
...@@ -4167,7 +4167,7 @@ ...@@ -4167,7 +4167,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "2bE2Pz6JVFbKFg7S8oGb3i" "_id": "02fMSmlHZAboTS3D+F8XTd"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -4185,7 +4185,7 @@ ...@@ -4185,7 +4185,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "2db85b0f-0d2f-4511-96ff-6746b0666b91" "__uuid__": "38008136-8895-41f4-9b3e-7545f3c3a65c"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -4199,7 +4199,7 @@ ...@@ -4199,7 +4199,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "dcZxV92aJG+JVoUO90zcei" "_id": "8dFABNWURApoLrPctWrqqQ"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -4772,7 +4772,7 @@ ...@@ -4772,7 +4772,7 @@
"__id__": 133 "__id__": 133
} }
], ],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 136 "__id__": 136
......
...@@ -68,8 +68,6 @@ export default class NewClass extends MyCocosSceneComponent { ...@@ -68,8 +68,6 @@ export default class NewClass extends MyCocosSceneComponent {
this.layout_start.active = true; this.layout_start.active = true;
pg.audio.playAudioByUrl(Game.getIns().question.audio); pg.audio.playAudioByUrl(Game.getIns().question.audio);
// this.log("test initView") // this.log("test initView")
this.initTouzi();
this.initChess();
} }
initEvent() { initEvent() {
pg.view.touchOn(pg.view.find(this.layout_start, 'btn_start'), this.onTouchStart, this); pg.view.touchOn(pg.view.find(this.layout_start, 'btn_start'), this.onTouchStart, this);
...@@ -117,6 +115,7 @@ export default class NewClass extends MyCocosSceneComponent { ...@@ -117,6 +115,7 @@ export default class NewClass extends MyCocosSceneComponent {
private turnRobot: boolean;//当前是谁操作 private turnRobot: boolean;//当前是谁操作
private robotLevel: number; private robotLevel: number;
onGameStart() { onGameStart() {
this.initTouzi();
this.log("test onGameStart") this.log("test onGameStart")
this.playerPoint = 0; this.playerPoint = 0;
this.robotPoint = 0; this.robotPoint = 0;
......
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