Commit d9acf969 by 李楚霏

调整

parent 2f6ddd04
{
"ver": "1.0.1",
"uuid": "1771ba43-a616-4736-a403-39e6520b233b",
"isSubpackage": false,
"subpackageName": "",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "3b3ebca6-d33a-4209-b60c-f7f105350da6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 48,
"height": 101,
"platformSettings": {},
"subMetas": {
"backhook": {
"ver": "1.0.4",
"uuid": "1bb3ecd0-b47e-4aca-8ecb-6b66165f9d2b",
"rawTextureUuid": "3b3ebca6-d33a-4209-b60c-f7f105350da6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 48,
"height": 101,
"rawWidth": 48,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "81c547f9-22b2-45ac-adf6-87c33048fba3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 24,
"height": 24,
"platformSettings": {},
"subMetas": {
"ball": {
"ver": "1.0.4",
"uuid": "553b68f9-1469-4449-b231-7b9cdbb64127",
"rawTextureUuid": "81c547f9-22b2-45ac-adf6-87c33048fba3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 24,
"height": 24,
"rawWidth": 24,
"rawHeight": 24,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "7b56d927-1c44-4c67-946b-ad4c32376d3f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 180,
"height": 179,
"platformSettings": {},
"subMetas": {
"blackidlerwheel": {
"ver": "1.0.4",
"uuid": "a49296b4-0245-4b53-b2cf-d8679eb2f79a",
"rawTextureUuid": "7b56d927-1c44-4c67-946b-ad4c32376d3f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 180,
"height": 179,
"rawWidth": 180,
"rawHeight": 179,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "ea90507e-9530-4498-a896-10dba73484a6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 112,
"height": 137,
"platformSettings": {},
"subMetas": {
"blueballoon": {
"ver": "1.0.4",
"uuid": "3e97285c-b42f-4bf2-9f17-2c5e3b8606c3",
"rawTextureUuid": "ea90507e-9530-4498-a896-10dba73484a6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 112,
"height": 137,
"rawWidth": 112,
"rawHeight": 137,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "75486670-7f31-4f3d-93ef-304fddc4100e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 18,
"height": 71,
"platformSettings": {},
"subMetas": {
"circleback": {
"ver": "1.0.4",
"uuid": "fee5fba1-49fd-4dd3-a9c7-dbe44203dfbc",
"rawTextureUuid": "75486670-7f31-4f3d-93ef-304fddc4100e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 18,
"height": 71,
"rawWidth": 18,
"rawHeight": 71,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "305be524-f298-4fb7-b874-1e278c9f3c47",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 18,
"height": 71,
"platformSettings": {},
"subMetas": {
"circlefront": {
"ver": "1.0.4",
"uuid": "5d1b707f-cc85-4ce4-a99c-dc05d302c5ef",
"rawTextureUuid": "305be524-f298-4fb7-b874-1e278c9f3c47",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 18,
"height": 71,
"rawWidth": 18,
"rawHeight": 71,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "130be645-2924-4211-9b5f-a3115916d966",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 59,
"height": 50,
"platformSettings": {},
"subMetas": {
"hexagon": {
"ver": "1.0.4",
"uuid": "fb2203d9-102b-4613-9649-13c3d1241ce3",
"rawTextureUuid": "130be645-2924-4211-9b5f-a3115916d966",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 59,
"height": 50,
"rawWidth": 59,
"rawHeight": 50,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "2d4d1824-b153-4d20-9f28-ae0fe0911273",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 111,
"height": 649,
"platformSettings": {},
"subMetas": {
"rope": {
"ver": "1.0.4",
"uuid": "7884c6b0-ce6a-438b-a8db-6755ad7552e7",
"rawTextureUuid": "2d4d1824-b153-4d20-9f28-ae0fe0911273",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 111,
"height": 649,
"rawWidth": 111,
"rawHeight": 649,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "453e1562-85f2-4802-919f-0af43e6bb9b3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 187,
"height": 182,
"platformSettings": {},
"subMetas": {
"stone": {
"ver": "1.0.4",
"uuid": "7806237a-ea95-49fe-9236-b1098e4ef4cb",
"rawTextureUuid": "453e1562-85f2-4802-919f-0af43e6bb9b3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 187,
"height": 182,
"rawWidth": 187,
"rawHeight": 182,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "477296ba-f255-4095-afc7-7f90d6d9ad92",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 48,
"height": 101,
"platformSettings": {},
"subMetas": {
"yellowhook": {
"ver": "1.0.4",
"uuid": "066a0599-8c55-4350-a786-53a041c16819",
"rawTextureUuid": "477296ba-f255-4095-afc7-7f90d6d9ad92",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 48,
"height": 101,
"rawWidth": 48,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.4",
"uuid": "aca79b1e-0912-4a99-8530-fb0b252c8037",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 180,
"height": 179,
"platformSettings": {},
"subMetas": {
"yellowidlerwheel": {
"ver": "1.0.4",
"uuid": "83d8cbfc-a72b-461e-ba23-ddd371a8d2a3",
"rawTextureUuid": "aca79b1e-0912-4a99-8530-fb0b252c8037",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 180,
"height": 179,
"rawWidth": 180,
"rawHeight": 179,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Canvas", "_name": "Canvas",
"_objFlags": 0, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 1 "__id__": 1
}, },
...@@ -78,19 +78,85 @@ ...@@ -78,19 +78,85 @@
"__id__": 7 "__id__": 7
}, },
{ {
"__id__": 14 "__id__": 13
},
{
"__id__": 17
},
{
"__id__": 23
},
{
"__id__": 28
},
{
"__id__": 33
},
{
"__id__": 40
},
{
"__id__": 46
},
{
"__id__": 52
},
{
"__id__": 58
},
{
"__id__": 64
},
{
"__id__": 70
},
{
"__id__": 76
},
{
"__id__": 82
},
{
"__id__": 88
},
{
"__id__": 94
},
{
"__id__": 100
},
{
"__id__": 106
},
{
"__id__": 112
},
{
"__id__": 118
},
{
"__id__": 124
},
{
"__id__": 130
},
{
"__id__": 136
},
{
"__id__": 145
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 19 "__id__": 148
}, },
{ {
"__id__": 20 "__id__": 149
}, },
{ {
"__id__": 21 "__id__": 150
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -180,7 +246,7 @@ ...@@ -180,7 +246,7 @@
"array": [ "array": [
0, 0,
0, 0,
357.72409695043984, 610.006643790664,
0, 0,
0, 0,
0, 0,
...@@ -335,7 +401,7 @@ ...@@ -335,7 +401,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "gear", "_name": "dynamicGear",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -357,9 +423,6 @@ ...@@ -357,9 +423,6 @@
}, },
{ {
"__id__": 12 "__id__": 12
},
{
"__id__": 13
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -385,8 +448,8 @@ ...@@ -385,8 +448,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-85.4, 116.126,
63.222, 411.495,
0, 0,
0, 0,
0, 0,
...@@ -426,10 +489,10 @@ ...@@ -426,10 +489,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "1a32fc76-f0bd-4f66-980f-56929c0ca0b3" "__uuid__": "83d8cbfc-a72b-461e-ba23-ddd371a8d2a3"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -452,7 +515,7 @@ ...@@ -452,7 +515,7 @@
"_enabled": true, "_enabled": true,
"_type": 1, "_type": 1,
"_allowSleep": true, "_allowSleep": true,
"_gravityScale": 1, "_gravityScale": 0,
"_linearDamping": 0, "_linearDamping": 0,
"_angularDamping": 0, "_angularDamping": 0,
"_linearVelocity": { "_linearVelocity": {
...@@ -462,35 +525,12 @@ ...@@ -462,35 +525,12 @@
}, },
"_angularVelocity": 0, "_angularVelocity": 0,
"_fixedRotation": false, "_fixedRotation": false,
"enabledContactListener": false, "enabledContactListener": true,
"bullet": false, "bullet": false,
"awakeOnLoad": true, "awakeOnLoad": true,
"_id": "fc/er1Rl9D2oRl/jtSXWGX" "_id": "fc/er1Rl9D2oRl/jtSXWGX"
}, },
{ {
"__type__": "f8d7b/0hj9IhpmWwu6imtTe",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"target": null,
"_id": "eeittg4eRA+aMGnKaTJury"
},
{
"__type__": "3b6caruSLNAnp8j/pNXOWou",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"label": null,
"text": "hello",
"_id": "f0wrcnc+pIVY/c0/Uf6AXN"
},
{
"__type__": "cc.Button", "__type__": "cc.Button",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
...@@ -571,7 +611,7 @@ ...@@ -571,7 +611,7 @@
"tag": 0, "tag": 0,
"_density": 1, "_density": 1,
"_sensor": false, "_sensor": false,
"_friction": 0.2, "_friction": 1,
"_restitution": 0, "_restitution": 0,
"body": null, "body": null,
"_offset": { "_offset": {
...@@ -724,8 +764,19 @@ ...@@ -724,8 +764,19 @@
"_id": "d0HID9ez1MdIb7PkKP48vV" "_id": "d0HID9ez1MdIb7PkKP48vV"
}, },
{ {
"__type__": "9f879YGuoROFrLJrd9nEcLA",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"target": null,
"_id": "37bS1kudtHJpdggIqY87wD"
},
{
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "gear1", "_name": "staticGear1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -734,16 +785,13 @@ ...@@ -734,16 +785,13 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 15 "__id__": 14
},
{
"__id__": 16
}, },
{ {
"__id__": 17 "__id__": 15
}, },
{ {
"__id__": 18 "__id__": 16
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -769,8 +817,8 @@ ...@@ -769,8 +817,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
181.901, 196.249,
60.046, 45.803,
0, 0,
0, 0,
0, 0,
...@@ -799,7 +847,7 @@ ...@@ -799,7 +847,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 14 "__id__": 13
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -810,10 +858,10 @@ ...@@ -810,10 +858,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "1a32fc76-f0bd-4f66-980f-56929c0ca0b3" "__uuid__": "a49296b4-0245-4b53-b2cf-d8679eb2f79a"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -831,12 +879,12 @@ ...@@ -831,12 +879,12 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 14 "__id__": 13
}, },
"_enabled": true, "_enabled": true,
"_type": 1, "_type": 1,
"_allowSleep": true, "_allowSleep": true,
"_gravityScale": 1, "_gravityScale": 0,
"_linearDamping": 0, "_linearDamping": 0,
"_angularDamping": 0, "_angularDamping": 0,
"_linearVelocity": { "_linearVelocity": {
...@@ -856,7 +904,7 @@ ...@@ -856,7 +904,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 14 "__id__": 13
}, },
"_enabled": true, "_enabled": true,
"tag": 0, "tag": 0,
...@@ -1015,14 +1063,5004 @@ ...@@ -1015,14 +1063,5004 @@
"_id": "f86k+L/d1Aqqi7ptHNUblC" "_id": "f86k+L/d1Aqqi7ptHNUblC"
}, },
{ {
"__type__": "2c6b8qg2xxDYqGamkELYi6D", "__type__": "cc.Node",
"_name": "dynamicGear2",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
},
{
"__id__": 19
},
{
"__id__": 20
},
{
"__id__": 21
},
{
"__id__": 22
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-170.902,
473.654,
0,
0,
0,
0,
1,
5,
5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3blKoLVz1IRr9F9bA78m6M"
},
{
"__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 14 "__id__": 17
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "83d8cbfc-a72b-461e-ba23-ddd371a8d2a3"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dbm8xmj5VEi7Ru3EGkFKEV"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"_type": 1,
"_allowSleep": true,
"_gravityScale": 0,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": true,
"bullet": false,
"awakeOnLoad": true,
"_id": "c07muZZgtIhLCwTGaFPI5n"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
}, },
"_enabled": true, "_enabled": true,
"_id": "9cv0WAoLxHf4IeqEhbbIGf" "_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 17
},
"_id": "f4JiP96rFH2J8IGeFS609V"
},
{
"__type__": "cc.PhysicsPolygonCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"points": [
{
"__type__": "cc.Vec2",
"x": -13.9,
"y": -14.2
},
{
"__type__": "cc.Vec2",
"x": -10.9,
"y": -17.9
},
{
"__type__": "cc.Vec2",
"x": -3.1,
"y": -11.7
},
{
"__type__": "cc.Vec2",
"x": 2.5,
"y": -12.1
},
{
"__type__": "cc.Vec2",
"x": 8.5,
"y": -17.2
},
{
"__type__": "cc.Vec2",
"x": 11.9,
"y": -14.8
},
{
"__type__": "cc.Vec2",
"x": 7.8,
"y": -9.7
},
{
"__type__": "cc.Vec2",
"x": 10.8,
"y": -5.5
},
{
"__type__": "cc.Vec2",
"x": 19.8,
"y": -7.1
},
{
"__type__": "cc.Vec2",
"x": 20.8,
"y": -2.8
},
{
"__type__": "cc.Vec2",
"x": 11.9,
"y": 0.3
},
{
"__type__": "cc.Vec2",
"x": 11.2,
"y": 4.3
},
{
"__type__": "cc.Vec2",
"x": 18,
"y": 10.7
},
{
"__type__": "cc.Vec2",
"x": 15.8,
"y": 14.2
},
{
"__type__": "cc.Vec2",
"x": 7.9,
"y": 9.3
},
{
"__type__": "cc.Vec2",
"x": 2.4,
"y": 12.3
},
{
"__type__": "cc.Vec2",
"x": 1.8,
"y": 18.8
},
{
"__type__": "cc.Vec2",
"x": -2,
"y": 18.8
},
{
"__type__": "cc.Vec2",
"x": -3.4,
"y": 12.4
},
{
"__type__": "cc.Vec2",
"x": -8.2,
"y": 10.1
},
{
"__type__": "cc.Vec2",
"x": -14.4,
"y": 14.4
},
{
"__type__": "cc.Vec2",
"x": -16.8,
"y": 11
},
{
"__type__": "cc.Vec2",
"x": -12.1,
"y": 5.9
},
{
"__type__": "cc.Vec2",
"x": -12.1,
"y": 0.7
},
{
"__type__": "cc.Vec2",
"x": -20.9,
"y": -0.1
},
{
"__type__": "cc.Vec2",
"x": -20.4,
"y": -4.3
},
{
"__type__": "cc.Vec2",
"x": -11.6,
"y": -4.6
},
{
"__type__": "cc.Vec2",
"x": -8.8,
"y": -8.5
}
],
"_id": "29GJK8y0hMx4mZZhkH+J0z"
},
{
"__type__": "9f879YGuoROFrLJrd9nEcLA",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"target": null,
"_id": "16D4xhCDBPZ5vZpQJqDCvQ"
},
{
"__type__": "cc.Node",
"_name": "staticGear2",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 24
},
{
"__id__": 25
},
{
"__id__": 26
},
{
"__id__": 27
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
37.184,
-65.525,
0,
0,
0,
0,
1,
5,
5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "cbO9W9uiZLno2rmBlJSafk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a49296b4-0245-4b53-b2cf-d8679eb2f79a"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5aw9RPVdREKKOUrkvYpWn8"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_type": 1,
"_allowSleep": true,
"_gravityScale": 0,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": true,
"bullet": false,
"awakeOnLoad": true,
"_id": "0acC0Y7/dIDJyVVmCGFQnC"
},
{
"__type__": "cc.PhysicsPolygonCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"points": [
{
"__type__": "cc.Vec2",
"x": -13.9,
"y": -14.2
},
{
"__type__": "cc.Vec2",
"x": -10.9,
"y": -17.9
},
{
"__type__": "cc.Vec2",
"x": -3.1,
"y": -11.7
},
{
"__type__": "cc.Vec2",
"x": 2.5,
"y": -12.1
},
{
"__type__": "cc.Vec2",
"x": 8.5,
"y": -17.2
},
{
"__type__": "cc.Vec2",
"x": 11.9,
"y": -14.8
},
{
"__type__": "cc.Vec2",
"x": 7.8,
"y": -9.7
},
{
"__type__": "cc.Vec2",
"x": 10.8,
"y": -5.5
},
{
"__type__": "cc.Vec2",
"x": 19.8,
"y": -7.1
},
{
"__type__": "cc.Vec2",
"x": 20.8,
"y": -2.8
},
{
"__type__": "cc.Vec2",
"x": 11.9,
"y": 0.3
},
{
"__type__": "cc.Vec2",
"x": 11.2,
"y": 4.3
},
{
"__type__": "cc.Vec2",
"x": 18,
"y": 10.7
},
{
"__type__": "cc.Vec2",
"x": 15.8,
"y": 14.2
},
{
"__type__": "cc.Vec2",
"x": 7.9,
"y": 9.3
},
{
"__type__": "cc.Vec2",
"x": 2.4,
"y": 12.3
},
{
"__type__": "cc.Vec2",
"x": 1.8,
"y": 18.8
},
{
"__type__": "cc.Vec2",
"x": -2,
"y": 18.8
},
{
"__type__": "cc.Vec2",
"x": -3.4,
"y": 12.4
},
{
"__type__": "cc.Vec2",
"x": -8.2,
"y": 10.1
},
{
"__type__": "cc.Vec2",
"x": -14.4,
"y": 14.4
},
{
"__type__": "cc.Vec2",
"x": -16.8,
"y": 11
},
{
"__type__": "cc.Vec2",
"x": -12.1,
"y": 5.9
},
{
"__type__": "cc.Vec2",
"x": -12.1,
"y": 0.7
},
{
"__type__": "cc.Vec2",
"x": -20.9,
"y": -0.1
},
{
"__type__": "cc.Vec2",
"x": -20.4,
"y": -4.3
},
{
"__type__": "cc.Vec2",
"x": -11.6,
"y": -4.6
},
{
"__type__": "cc.Vec2",
"x": -8.8,
"y": -8.5
}
],
"_id": "a8vVtofPNJ96eXNdHqBz3C"
},
{
"__type__": "554acE3G1pCNrN4/0aHxvon",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_id": "f1yMyd4RJEWYKqpqa+UGXO"
},
{
"__type__": "cc.Node",
"_name": "rope",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
},
{
"__id__": 30
},
{
"__id__": 31
},
{
"__id__": 32
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-257.597,
-230.243,
0,
0,
0,
0,
1,
5,
5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "63KGu4tbhMCoOTYBxnA55d"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7884c6b0-ce6a-438b-a8db-6755ad7552e7"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "40CtcnNJVCE7HOc9hlShm5"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_type": 1,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": true,
"bullet": false,
"awakeOnLoad": true,
"_id": "06rww2j4FHqoS/goE0ZQGq"
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 1.5,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 20,
"height": 100
},
"_id": "8bqNLX7ONBwIW7wgnZJo/Q"
},
{
"__type__": "0a49by9EpRC1KDzTww1GyH5",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"label": null,
"text": "hello",
"_id": "2cDPXaikdLd7Xu6zG3d32p"
},
{
"__type__": "cc.Node",
"_name": "hook",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
},
{
"__id__": 35
},
{
"__id__": 36
},
{
"__id__": 37
},
{
"__id__": 38
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
59.516,
-24.694,
0,
0,
0,
1,
6.123233995736766e-17,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 180
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b2eIjVWoxPhoxLhuZQBsTi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fb2203d9-102b-4613-9649-13c3d1241ce3"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "25hq4F8edOGpDti9FKB1rt"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_type": 1,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "20atELsyRLwqOEEEPzuu9O"
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0.1,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": -25
},
"_size": {
"__type__": "cc.Size",
"width": 48,
"height": 50
},
"_id": "e4iKtw25xIBK6jWX3TL0V3"
},
{
"__type__": "138e05azUZEh5L5Sma9nRG7",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"label": null,
"text": "hello",
"_id": "a7LuEyw79BAYxThj2PaotL"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 39
},
"collideConnected": false,
"_distance": 10,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "4bgRRgub9LnakI9xokRJuy"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "ae2u1xofNImrWr1yUngxDF"
},
{
"__type__": "cc.Node",
"_name": "ball2",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
},
{
"__id__": 39
},
{
"__id__": 42
},
{
"__id__": 43
},
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-37.795,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "023VBOYcpEtZzYFXwaHqdr"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cbQJKhBrJEOIH3xbl/twJM"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"tag": 0,
"_density": 500,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "25eDW+sG1BI6sMAZL+VX1E"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 35
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "86ARI7W8hM+YGmNARbvM26"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 45
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "8044VQgrtO7Yp7uIoPC3XB"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "01qWkBazhIH5z/Jx4jwH46"
},
{
"__type__": "cc.Node",
"_name": "ball3",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
},
{
"__id__": 45
},
{
"__id__": 48
},
{
"__id__": 49
},
{
"__id__": 50
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-61.628,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b4t/noCqVO45sOlNn51rpD"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "77rbLMSBtFh5/BCOPaKOQR"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"tag": 0,
"_density": 450,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "62AZno3r5LRJ4EYwkL3QVf"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 39
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "67hh+r0GFCWJveRlVl+Hl0"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 51
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "7874kTiBZO1ov5g4+f1oxc"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "20aBBmA+tNNL64G80/BulW"
},
{
"__type__": "cc.Node",
"_name": "ball4",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 53
},
{
"__id__": 51
},
{
"__id__": 54
},
{
"__id__": 55
},
{
"__id__": 56
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-89.891,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "50ZqDfANVGyYHZQshEV+NZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "24oVwd3yxBw78GJyn1UKfC"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"tag": 0,
"_density": 400,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "36TYdJ3+5OwYoSApj9ljYp"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 45
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "cb9x5B771JGaB80LTGNuFY"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 57
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "77SQgYvmhBhokOti6F2C3V"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "47Cfw7uN9CFpc88DKmU8bT"
},
{
"__type__": "cc.Node",
"_name": "ball5",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 59
},
{
"__id__": 57
},
{
"__id__": 60
},
{
"__id__": 61
},
{
"__id__": 62
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-114.11,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "0fNVQ9UR5P55VLrLShN8KX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9dm4sbZmhA/5+O1cNTuFxe"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"tag": 0,
"_density": 350,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "849fSHO/FOfKD85tfKwAF+"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 51
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "00baW+MaNHJ5ZBAhix1WDP"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 63
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "62PrO9rGxCT4W2E0UOFNKx"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "5dB/3KPr5OEJpims6pepFX"
},
{
"__type__": "cc.Node",
"_name": "ball6",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
},
{
"__id__": 63
},
{
"__id__": 66
},
{
"__id__": 67
},
{
"__id__": 68
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-139.891,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "24tt7adoJMVbq1pgUEIOJG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3144Rx/k9FZ7wvl0AFSpI3"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"tag": 0,
"_density": 300,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "ba/EFJgW1KB52ZJ57ZN+3T"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 57
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "05AETVZSxJ06Yk7L9WemzO"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 69
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "e2J+iehEhOu4S5h0d0/haE"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "8fI4vwuMhA/oodzHPu0cEY"
},
{
"__type__": "cc.Node",
"_name": "ball7",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
},
{
"__id__": 69
},
{
"__id__": 72
},
{
"__id__": 73
},
{
"__id__": 74
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-166.454,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "1ft2AjiyFBT4MW+q1hviqG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f65TpL0XZO5IcM6a1w8X2Y"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"tag": 0,
"_density": 250,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "fbQny1BMBGdZd48yNj/2HT"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 63
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "d9maj7BMlNwYRSW03K6+LU"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 75
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "81+DiCXBhLZLj3U7jcx8BX"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "aa9wt/ZkpLI6k/sPjrpdhT"
},
{
"__type__": "cc.Node",
"_name": "ball8",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 77
},
{
"__id__": 75
},
{
"__id__": 78
},
{
"__id__": 79
},
{
"__id__": 80
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-196.922,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "aaxOiu2dJJGL03mgWo+l8Y"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3aWFYkOJFFAokJKRdbjv8T"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"tag": 0,
"_density": 200,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "a66xQqeoFAA7RACMvkR6dg"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 69
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "efnw6OK7BOO6JzH8Dm63Vu"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 81
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "b0Urbl5EZMupX934lsdTFB"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "08oJImbeRNT4QF6NiQ2ZlB"
},
{
"__type__": "cc.Node",
"_name": "ball9",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
},
{
"__id__": 81
},
{
"__id__": 84
},
{
"__id__": 85
},
{
"__id__": 86
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-230.516,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7dXqWRMc9O9JKTv+6ELkYP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "04jMq2IYxBaZBZCdQK9VLH"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"tag": 0,
"_density": 150,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "cb3qC0pB9OMaXxcjIm7OU6"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 75
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "aee4XnGTVLq627TSE4kqP4"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 87
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "5azyHpH8NHia9lGJfmxdgS"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "94/A5u3s9C8qwfADNkrEpg"
},
{
"__type__": "cc.Node",
"_name": "ball10",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 89
},
{
"__id__": 87
},
{
"__id__": 90
},
{
"__id__": 91
},
{
"__id__": 92
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-258.641,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "caHdmxg7FM76f4hA6X4V9H"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "afCz7sC1JAp6GLGjtrshuB"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"tag": 0,
"_density": 100,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "c2SCInOKNCQZy4+6K1bI36"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 81
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "33JPgdMkdNzK/LMX/+Z+vn"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 93
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "f9uaeA0/RFWac+sudNEc2D"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "27HstAC/ZOoavzBx3HzPLt"
},
{
"__type__": "cc.Node",
"_name": "ball11",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 95
},
{
"__id__": 93
},
{
"__id__": 96
},
{
"__id__": 97
},
{
"__id__": 98
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-284.422,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4fjykQbjtBNoLV4460Vi7C"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e4LnS91EFDPaa5XlFSCdqk"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"tag": 0,
"_density": 100,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "fctuHCMGdNIKL8QP/E+Rl6"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 87
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "6chLxfINlIP5f1z31Bv3GU"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 99
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "79W1bQw2ZHMJuQrTjQmFk/"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "bbUPRvcx5LR4seeHEO1g3R"
},
{
"__type__": "cc.Node",
"_name": "ball12",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 101
},
{
"__id__": 99
},
{
"__id__": 102
},
{
"__id__": 103
},
{
"__id__": 104
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-312.547,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c25tSXdN1Ox7uUcUXl246G"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "76F4zNKFVLu7NYZAuZheDA"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"tag": 0,
"_density": 100,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "06078ocFdCuYI4H/cWYslE"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 93
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "93LtfzNSpEZo8EDRwcyWc+"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 105
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "66oQA7UepHDoATaAf8E+aV"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "1c6eMvrl9Kz4u+mZANSunb"
},
{
"__type__": "cc.Node",
"_name": "ball13",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
},
{
"__id__": 105
},
{
"__id__": 108
},
{
"__id__": 109
},
{
"__id__": 110
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-341.454,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "33A9cVSm1MvIcjuUdpIh41"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "20HZ7KcQBP6Y+0r9DIiInY"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"tag": 0,
"_density": 100,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "ffrWRqyuBJ/KaaGqf87ISf"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 99
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "2bMnsH+g1Ok6EKIFpZtiSX"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 111
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "e0WI+SDwhD1LVrr/naPBx6"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "3a+ccps85LkqavCQ+2Giw9"
},
{
"__type__": "cc.Node",
"_name": "ball14",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 113
},
{
"__id__": 111
},
{
"__id__": 114
},
{
"__id__": 115
},
{
"__id__": 116
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-369.579,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "fdwDxYij1G4YI/fJDzaJES"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "eeGxwznIFCUqJp69oTBw7n"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
},
"_enabled": true,
"tag": 0,
"_density": 100,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "56MSKzIhtPL4BNnljSZJTP"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 105
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "20qbJIMmVGYrVd291aUegd"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 117
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "c57pLOKuFPro6fUTX39TQ2"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "8fDZxlXClGEL1fFBF5RlV1"
},
{
"__type__": "cc.Node",
"_name": "ball15",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 119
},
{
"__id__": 117
},
{
"__id__": 120
},
{
"__id__": 121
},
{
"__id__": 122
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-396.141,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6aKWDPThFOdJxad4Y+hHb7"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c4XuEbx8RBHbt2D/OHMoKr"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"tag": 0,
"_density": 100,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "39LgRV4XFM9pfOeYkhduHw"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 111
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "53WHHcO1JAkoJ9nGKiDd40"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 123
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "126EaTKmVNqK0Bfkkcu5JC"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "21xyQwg95CvrV55IVIRIg0"
},
{
"__type__": "cc.Node",
"_name": "ball16",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 125
},
{
"__id__": 123
},
{
"__id__": 126
},
{
"__id__": 127
},
{
"__id__": 128
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-424.266,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "67lalJW5JH27iDvzdnnnE7"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "553b68f9-1469-4449-b231-7b9cdbb64127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "20fX6ylSZF+K+8cTM/BbWY"
},
{
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"tag": 0,
"_density": 100,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": "e2hSPuTgZB17FMMDM5q8vo"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 117
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "7ffA1qwNtN7okVURxD4EdX"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 129
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "3fYZSs5YBMPbZxzp/ZseXq"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "94p+WVMx9G/IpwYzoKEB38"
},
{
"__type__": "cc.Node",
"_name": "backhook",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 131
},
{
"__id__": 129
},
{
"__id__": 132
},
{
"__id__": 133
},
{
"__id__": 134
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 48,
"height": 101
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-484.587,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d2Jnf+fqREta8RjSBTf0AZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1bb3ecd0-b47e-4aca-8ecb-6b66165f9d2b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "31n4e5G4JAObvDL5U4BE0f"
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"tag": 0,
"_density": 100,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": -25
},
"_size": {
"__type__": "cc.Size",
"width": 48,
"height": 50
},
"_id": "5dZEOX3FFE6rt4PWgPiOpN"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 123
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "b0TGCuicVLTbwRHBnOoqQw"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 135
},
"collideConnected": false,
"_distance": 20,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "2a6gThQEdHcpFKwHveXHGg"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 10,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": true,
"bullet": false,
"awakeOnLoad": true,
"_id": "69mFL/usVJBJUqhOErrtcd"
},
{
"__type__": "cc.Node",
"_name": "stone",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 137
},
{
"__id__": 139
},
{
"__id__": 141
}
],
"_active": true,
"_components": [
{
"__id__": 143
},
{
"__id__": 135
},
{
"__id__": 144
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
53.783,
-582.469,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3896rgyh9DnbtqdaM8H1Bl"
},
{
"__type__": "cc.Node",
"_name": "circleback",
"_objFlags": 0,
"_parent": {
"__id__": 136
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 138
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 18,
"height": 71
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-9.536,
88.093,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a89/YQaKZPKrru0DXwrFfp"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 137
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fee5fba1-49fd-4dd3-a9c7-dbe44203dfbc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a0A6jq/ZFJ0LX/U4560+1d"
},
{
"__type__": "cc.Node",
"_name": "stone",
"_objFlags": 0,
"_parent": {
"__id__": 136
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 140
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 187,
"height": 182
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a5PB5mxLVFq5pRqUdNRYfv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7806237a-ea95-49fe-9236-b1098e4ef4cb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c7KU4jUipOhphsmjalQxrt"
},
{
"__type__": "cc.Node",
"_name": "circlefront",
"_objFlags": 0,
"_parent": {
"__id__": 136
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 142
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 18,
"height": 71
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
7.614,
88.093,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f6M9ygOHFBHIy9s70uBPtk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5d1b707f-cc85-4ce4-a99c-dc05d302c5ef"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a4XXZoOeJAEYPKNnxorqbG"
},
{
"__type__": "cc.PhysicsPolygonCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"points": [
{
"__type__": "cc.Vec2",
"x": -62.6,
"y": -57.8
},
{
"__type__": "cc.Vec2",
"x": -42.1,
"y": -73.3
},
{
"__type__": "cc.Vec2",
"x": -22.3,
"y": -84.6
},
{
"__type__": "cc.Vec2",
"x": 13.8,
"y": -90
},
{
"__type__": "cc.Vec2",
"x": 36.1,
"y": -77.8
},
{
"__type__": "cc.Vec2",
"x": 85.9,
"y": -38.9
},
{
"__type__": "cc.Vec2",
"x": 92.6,
"y": -7.1
},
{
"__type__": "cc.Vec2",
"x": 83.7,
"y": 29.5
},
{
"__type__": "cc.Vec2",
"x": 72,
"y": 47.1
},
{
"__type__": "cc.Vec2",
"x": 58.6,
"y": 59.4
},
{
"__type__": "cc.Vec2",
"x": 31.7,
"y": 74
},
{
"__type__": "cc.Vec2",
"x": 18.2,
"y": 80.6
},
{
"__type__": "cc.Vec2",
"x": 7.2,
"y": 86.2
},
{
"__type__": "cc.Vec2",
"x": -0.9,
"y": 90.4
},
{
"__type__": "cc.Vec2",
"x": -8.3,
"y": 90.6
},
{
"__type__": "cc.Vec2",
"x": -19.5,
"y": 88.6
},
{
"__type__": "cc.Vec2",
"x": -73.4,
"y": 72.6
},
{
"__type__": "cc.Vec2",
"x": -91.3,
"y": 10.5
},
{
"__type__": "cc.Vec2",
"x": -93.1,
"y": -18.1
}
],
"_id": "3fuVo+hJxOr5UiMUoS1NmK"
},
{
"__type__": "cc.DistanceJoint",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_enabled": true,
"anchor": {
"__type__": "cc.Vec2",
"x": 7,
"y": 100.9
},
"connectedAnchor": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"connectedBody": {
"__id__": 129
},
"collideConnected": false,
"_distance": 25,
"_frequency": 0,
"_dampingRatio": 0,
"_id": "a7U17AdBpG7rJ9lIUQaqvW"
},
{
"__type__": "cc.Node",
"_name": "ground",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 146
},
{
"__id__": 147
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-615.334,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "81sY7SB7lGpb1wGH2jM0dO"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
},
"_enabled": true,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "e9E4srpidDe7smio0ZeH50"
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 720,
"height": 50
},
"_id": "0dUjQc4KtEx5GtEnSOCoGd"
}, },
{ {
"__type__": "cc.Canvas", "__type__": "cc.Canvas",
...@@ -1069,13 +6107,13 @@ ...@@ -1069,13 +6107,13 @@
"_id": "29zXboiXFBKoIV4PQ2liTe" "_id": "29zXboiXFBKoIV4PQ2liTe"
}, },
{ {
"__type__": "f69d1tXlplDb5zzCXRfk+k+", "__type__": "1a6bcOcZghGVogtysviFCX0",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 2 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"_id": "57dqsHQipKZ5YKT5d0lC8D" "_id": "b7A2Gcz/NJGq/BS/JnRfAs"
} }
] ]
\ No newline at end of file
...@@ -16,44 +16,96 @@ export default class NewClass extends cc.Component { ...@@ -16,44 +16,96 @@ export default class NewClass extends cc.Component {
rigidBody: cc.RigidBody; rigidBody: cc.RigidBody;
motor: cc.MotorJoint; motor: cc.MotorJoint;
collider: cc.PhysicsPolygonCollider; collider: cc.PhysicsPolygonCollider;
startPoint: cc.Vec2;
// LIFE-CYCLE CALLBACKS: // LIFE-CYCLE CALLBACKS:
onPreSolve(contact, selfCollider, otherCollider) {
// console.error(otherCollider.node.name);
// if (otherCollider && otherCollider.node.getComponent(cc.MotorJoint)) {
// // this.rigidBody.awake = false;
// console.error(selfCollider.name);
// otherCollider.node.addComponent(cc.MotorJoint);
// const motor = otherCollider.node.getComponent(cc.MotorJoint);
// motor.connectedBody = this.node;
// motor.maxTorque = -200;
// }
// const motorJoint =this.node.getComponent(cc.MotorJoint);
// motorJoint.connectedBody = otherCollider.node;
// console.error(motorJoint.connectedBody.name);
if (otherCollider.node.name.includes('staticGear')) {
this.rigidBody.angularVelocity = - otherCollider.node.getComponent(cc.RigidBody).angularVelocity;
}
}
onLoad () { onPostSolve(contact, selfCollider, otherCollider) {
this.rigidBody.angularVelocity = 0;
}
onLoad () {
this.initEvent();
this.rigidBody = this.node.getComponent(cc.RigidBody); this.rigidBody = this.node.getComponent(cc.RigidBody);
// this.motor.connectedBody
this.collider =this.node.getComponent(cc.PhysicsPolygonCollider);
const collisionManager = cc.director.getCollisionManager();
collisionManager.enabled = true;
} }
onEnable() { onEnable() {
clientEvent.on('move', this.move, this); clientEvent.on('move', this.move, this);
clientEvent.on('moveEnd', this.moveEnd, this);
} }
move(dir) {
console.error('move'); initEvent() {
this.node.position = dir; this.node.on(cc.Node.EventType.TOUCH_START, this._touchStartEvent, this);
this.node.on(cc.Node.EventType.TOUCH_MOVE, this._touchMoveEvent, this);
this.node.on(cc.Node.EventType.TOUCH_END, this._touchEndEvent, this);
this.node.on(cc.Node.EventType.TOUCH_CANCEL, this._touchCancelEvent, this);
}
_touchStartEvent(event: cc.Event.EventTouch) {
this.startPoint = event.getStartLocation();
} }
_touchMoveEvent(event: cc.Event.EventTouch) {
// this.points.push(event.getLocation());
// if (this.points.length > 20) {
// this.points.shift();
// }
// const averagePoint = new cc.Vec2(0, 0);
// this.points.forEach((point) => {
// averagePoint.x += point.x;
// averagePoint.y += point.y;
// })
// averagePoint.multiplyScalar(1 / this.points.length);
// const delta = new cc.Vec2(event.getLocation().x - averagePoint.x, event.getLocation().y - averagePoint.y);
// let dir = delta;
let dir = cc.v2(event.getLocation().x - this.startPoint.x, event.getLocation().y - this.startPoint.y);
// clientEvent.dispatchEvent('move', dir);
this.move(dir);
}
onCollsionEnter(other, self) { _touchEndEvent(event: cc.Event.EventTouch) {
console.error('on collision enter'); // this.points = [];
// clientEvent.dispatchEvent('moveEnd');
} }
onCollisionStay(other, self) { _touchCancelEvent(event: cc.Event.EventTouch) {
console.error('on collision stay'); // clientEvent.dispatchEvent('moveEnd');
this.moveEnd();
} }
onCollisionExit(other, self) { move(dir) {
console.error('on collision exit'); console.error('move');
this.node.position = dir;
// this.rigidBody.awake = true;
cc.director.getPhysicsManager().enabled = false;
} }
moveEnd() {
console.error('moveEnd');
cc.director.getPhysicsManager().enabled = true;
}
start () { start () {
} }
update (dt) { update (dt) {
// this.rigidBody.angularVelocity = 200;
} }
} }
{
"ver": "1.0.8",
"uuid": "9f879606-ba84-4e16-b2c9-addf6711c2c0",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const {ccclass, property} = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
startPoint: any;
rigidBody: any;
// LIFE-CYCLE CALLBACKS:
onPreSolve(contact, selfCollider, otherCollider) {
// console.error(otherCollider.node.name);
// if (otherCollider && otherCollider.node.getComponent(cc.MotorJoint)) {
// // this.rigidBody.awake = false;
// console.error(selfCollider.name);
// otherCollider.node.addComponent(cc.MotorJoint);
// const motor = otherCollider.node.getComponent(cc.MotorJoint);
// motor.connectedBody = this.node;
// motor.maxTorque = -200;
// }
// const motorJoint =this.node.getComponent(cc.MotorJoint);
// motorJoint.connectedBody = otherCollider.node;
// console.error(motorJoint.connectedBody.name);
if (otherCollider.node.name.includes('staticGear')) {
this.rigidBody.angularVelocity = - otherCollider.node.getComponent(cc.RigidBody).angularVelocity;
}
}
onPostSolve(contact, selfCollider, otherCollider) {
this.rigidBody.angularVelocity = 0;
}
onLoad () {
this.rigidBody = this.node.getComponent(cc.RigidBody);
this.initEvent();
}
initEvent() {
this.node.on(cc.Node.EventType.TOUCH_START, this._touchStartEvent, this);
this.node.on(cc.Node.EventType.TOUCH_MOVE, this._touchMoveEvent, this);
this.node.on(cc.Node.EventType.TOUCH_END, this._touchEndEvent, this);
this.node.on(cc.Node.EventType.TOUCH_CANCEL, this._touchCancelEvent, this);
}
_touchStartEvent(event: cc.Event.EventTouch) {
this.startPoint = event.getStartLocation();
}
_touchMoveEvent(event: cc.Event.EventTouch) {
// this.points.push(event.getLocation());
// if (this.points.length > 20) {
// this.points.shift();
// }
// const averagePoint = new cc.Vec2(0, 0);
// this.points.forEach((point) => {
// averagePoint.x += point.x;
// averagePoint.y += point.y;
// })
// averagePoint.multiplyScalar(1 / this.points.length);
// const delta = new cc.Vec2(event.getLocation().x - averagePoint.x, event.getLocation().y - averagePoint.y);
// let dir = delta;
let dir = cc.v2(event.getLocation().x - this.startPoint.x, event.getLocation().y - this.startPoint.y);
// clientEvent.dispatchEvent('move', dir);
this.move(dir);
}
_touchEndEvent(event: cc.Event.EventTouch) {
// this.points = [];
// clientEvent.dispatchEvent('moveEnd');
}
_touchCancelEvent(event: cc.Event.EventTouch) {
// clientEvent.dispatchEvent('moveEnd');
this.moveEnd();
}
move(dir) {
console.error('move');
this.node.position = dir;
// this.rigidBody.awake = true;
// cc.director.getPhysicsManager().enabled = false;
}
moveEnd() {
console.error('moveEnd');
// cc.director.getPhysicsManager().enabled = true;
}
start () {
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "138e0e5a-cd46-4487-92f9-4a66bd9d11bb",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
...@@ -30,6 +30,7 @@ export default class NewClass extends cc.Component { ...@@ -30,6 +30,7 @@ export default class NewClass extends cc.Component {
this.node.on(cc.Node.EventType.TOUCH_START, this._touchStartEvent, this); this.node.on(cc.Node.EventType.TOUCH_START, this._touchStartEvent, this);
this.node.on(cc.Node.EventType.TOUCH_MOVE, this._touchMoveEvent, this); this.node.on(cc.Node.EventType.TOUCH_MOVE, this._touchMoveEvent, this);
this.node.on(cc.Node.EventType.TOUCH_END, this._touchEndEvent, this); this.node.on(cc.Node.EventType.TOUCH_END, this._touchEndEvent, this);
this.node.on(cc.Node.EventType.TOUCH_CANCEL, this._touchCancelEvent, this);
} }
_touchStartEvent(event: cc.Event.EventTouch) { _touchStartEvent(event: cc.Event.EventTouch) {
this.startPoint = event.getStartLocation(); this.startPoint = event.getStartLocation();
...@@ -48,11 +49,17 @@ export default class NewClass extends cc.Component { ...@@ -48,11 +49,17 @@ export default class NewClass extends cc.Component {
// const delta = new cc.Vec2(event.getLocation().x - averagePoint.x, event.getLocation().y - averagePoint.y); // const delta = new cc.Vec2(event.getLocation().x - averagePoint.x, event.getLocation().y - averagePoint.y);
// let dir = delta; // let dir = delta;
let dir = cc.v2( event.getLocation().x - this.startPoint.x, event.getLocation().y - this.startPoint.y); let dir = cc.v2(event.getLocation().x - this.startPoint.x, event.getLocation().y - this.startPoint.y);
clientEvent.dispatchEvent('move', dir); clientEvent.dispatchEvent('move', dir);
} }
_touchEndEvent(event: cc.Event.EventTouch) { _touchEndEvent(event: cc.Event.EventTouch) {
this.points = []; this.points = [];
// clientEvent.dispatchEvent('moveEnd');
}
_touchCancelEvent(event: cc.Event.EventTouch) {
clientEvent.dispatchEvent('moveEnd');
} }
start () { start () {
......
...@@ -20,7 +20,7 @@ export default class NewClass extends cc.Component { ...@@ -20,7 +20,7 @@ export default class NewClass extends cc.Component {
onLoad () { onLoad () {
cc.director.getPhysicsManager().enabled = true; cc.director.getPhysicsManager().enabled = true;
// cc.director.getPhysicsManager().gravity = cc.v2(0,0); // cc.director.getPhysicsManager().debugDrawFlags = cc.PhysicsManager.DrawBits.e_aabbBit ||cc.PhysicsManager.DrawBits.e_pairBit;
} }
start () { start () {
......
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "f69d1b57-9699-436f-9cf3-09745f93e93e", "uuid": "1a6bc39c-6608-4656-882d-cacbe21425f4",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const {ccclass, property} = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
rigidBody: cc.RigidBody;
// LIFE-CYCLE CALLBACKS:
onPreSolve(contact, selfCollider, otherCollider) {
// console.error(otherCollider.node.name);
// if (otherCollider && otherCollider.node.getComponent(cc.MotorJoint)) {
// // this.rigidBody.awake = false;
// console.error(selfCollider.name);
// otherCollider.node.addComponent(cc.MotorJoint);
// const motor = otherCollider.node.getComponent(cc.MotorJoint);
// motor.connectedBody = this.node;
// motor.maxTorque = -200;
// }
// const motorJoint =this.node.getComponent(cc.MotorJoint);
// motorJoint.connectedBody = otherCollider.node;
// console.error(motorJoint.connectedBody.name);
this.rigidBody.linearVelocity = cc.v2(0, otherCollider.node.getComponent(cc.RigidBody).angularVelocity * 3);
}
onPostSolve(contact, selfCollider, otherCollider) {
this.rigidBody.linearVelocity = cc.v2(0, 0);
}
onLoad () {
this.rigidBody = this.node.getComponent(cc.RigidBody);
}
start () {
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "0a49bcbd-1294-42d4-a0f3-4f0c351b21f9",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
...@@ -17,10 +17,34 @@ export default class NewClass extends cc.Component { ...@@ -17,10 +17,34 @@ export default class NewClass extends cc.Component {
onLoad () { onLoad () {
this.rigidBody = this.node.getComponent(cc.RigidBody); this.rigidBody = this.node.getComponent(cc.RigidBody);
this.rigidBody.angularVelocity = 100;
// this.motor.connectedBody // this.motor.connectedBody
this.collider =this.node.getComponent(cc.PhysicsPolygonCollider); // this.collider =this.node.getComponent(cc.PhysicsPolygonCollider);
const collisionManager = cc.director.getCollisionManager(); // const collisionManager = cc.director.getCollisionManager();
collisionManager.enabled = true; // collisionManager.enabled = true;
}
onPreSolve(contact, selfCollider, otherCollider) {
// console.error(otherCollider.node.name);
// if (otherCollider && otherCollider.node.getComponent(cc.MotorJoint)) {
// // this.rigidBody.awake = false;
// console.error(selfCollider.name);
// otherCollider.node.addComponent(cc.MotorJoint);
// const motor = otherCollider.node.getComponent(cc.MotorJoint);
// motor.connectedBody = this.node;
// motor.maxTorque = -200;
// }
// const motorJoint =this.node.getComponent(cc.MotorJoint);
// motorJoint.connectedBody = otherCollider.node;
// console.error(motorJoint.connectedBody.name);
this.rigidBody.linearVelocity =cc.v2(0,0);
if (otherCollider.node.name.includes('dynamicGear')) {
this.rigidBody.angularVelocity = - 200 //otherCollider.node.getComponent(cc.RigidBody).angularVelocity;
}
}
onPostSolve(contact, selfCollider, otherCollider) {
this.rigidBody.angularVelocity = 0;
} }
start () { start () {
...@@ -28,6 +52,6 @@ export default class NewClass extends cc.Component { ...@@ -28,6 +52,6 @@ export default class NewClass extends cc.Component {
} }
update (dt) { update (dt) {
this.rigidBody.angularVelocity = 200; // this.rigidBody.angularVelocity = 200;
} }
} }
{
"ver": "1.0.8",
"uuid": "554ac137-1b5a-4236-b378-ff4687c6fa27",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const {ccclass, property} = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
// LIFE-CYCLE CALLBACKS:
// onLoad () {}
start () {
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "52b3c557-d3a4-44e2-9487-5d31c5d33000",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
...@@ -13671,6 +13671,16 @@ declare namespace cc { ...@@ -13671,6 +13671,16 @@ declare namespace cc {
/** !#en Representation of 2D vectors and points. /** !#en Representation of 2D vectors and points.
!#zh 表示 2D 向量和坐标 */ !#zh 表示 2D 向量和坐标 */
export class Vec2 extends ValueType { export class Vec2 extends ValueType {
push(arg0: Vec2) {
throw new Error("Method not implemented.");
}
length: number;
shift() {
throw new Error("Method not implemented.");
}
forEach(arg0: (point: any) => void) {
throw new Error("Method not implemented.");
}
/** /**
!#en Returns the length of this vector. !#en Returns the length of this vector.
!#zh 返回该向量的长度。 !#zh 返回该向量的长度。
...@@ -19298,6 +19308,7 @@ declare namespace cc { ...@@ -19298,6 +19308,7 @@ declare namespace cc {
e_aabbBit = 0, e_aabbBit = 0,
e_jointBit = 0, e_jointBit = 0,
e_shapeBit = 0, e_shapeBit = 0,
e_pairBit
} }
} }
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 sign in to comment