Commit 1b520c6e authored by haiyoucuv's avatar haiyoucuv

init

parent 05fee1ee
......@@ -20,13 +20,13 @@
"__id__": 2
},
{
"__id__": 43
"__id__": 53
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 109
"__id__": 119
},
"_lpos": {
"__type__": "cc.Vec3",
......@@ -57,7 +57,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 113
"__id__": 123
},
"_id": "53947ca7-3484-4b53-800d-509405063d68"
},
......@@ -80,25 +80,28 @@
"__id__": 24
},
{
"__id__": 27
"__id__": 34
},
{
"__id__": 29
"__id__": 37
},
{
"__id__": 39
}
],
"_active": true,
"_components": [
{
"__id__": 105
"__id__": 115
},
{
"__id__": 106
"__id__": 116
},
{
"__id__": 107
"__id__": 117
},
{
"__id__": 108
"__id__": 118
}
],
"_prefab": null,
......@@ -190,7 +193,7 @@
"_priority": 40000,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 807.8851351351351,
"_orthoHeight": 505.24444444444447,
"_near": 0,
"_far": 2000,
"_color": {
......@@ -912,6 +915,136 @@
"_atlas": null,
"_id": "4bRyNFPpJGVa0DJhYHS84j"
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_prefab": {
"__id__": 25
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 24
},
"asset": {
"__uuid__": "a5f2b7c2-a3e8-4830-ba7a-97aa26c34486",
"__expectedType__": "cc.Prefab"
},
"fileId": "95QVeGhHxFHYdTtrbtkAQN",
"instance": {
"__id__": 26
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "b1Nq3XUIFD0JT4XKEiC2kl",
"prefabRootNode": null,
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 30
},
{
"__id__": 31
},
{
"__id__": 32
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_name"
],
"value": "道具"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"95QVeGhHxFHYdTtrbtkAQN"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 33
},
"propertyPath": [
"playOnLoad"
],
"value": true
},
{
"__type__": "cc.TargetInfo",
"localID": [
"41IFKRClFAq4STk7UDKwB9"
]
},
{
"__type__": "cc.Node",
"_name": "foodNode",
......@@ -924,10 +1057,10 @@
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 35
},
{
"__id__": 26
"__id__": 36
}
],
"_prefab": null,
......@@ -966,14 +1099,14 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 24
"__id__": 34
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -988,7 +1121,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 24
"__id__": 34
},
"_enabled": true,
"__prefab": null,
......@@ -1212,7 +1345,7 @@
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 38
}
],
"_prefab": null,
......@@ -1251,7 +1384,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 27
"__id__": 37
},
"_enabled": true,
"__prefab": null,
......@@ -1277,16 +1410,16 @@
},
"_children": [
{
"__id__": 30
"__id__": 40
}
],
"_active": true,
"_components": [
{
"__id__": 39
"__id__": 49
},
{
"__id__": 40
"__id__": 50
}
],
"_prefab": null,
......@@ -1325,26 +1458,26 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 29
"__id__": 39
},
"_children": [
{
"__id__": 31
"__id__": 41
}
],
"_active": true,
"_components": [
{
"__id__": 35
"__id__": 45
},
{
"__id__": 36
"__id__": 46
},
{
"__id__": 37
"__id__": 47
},
{
"__id__": 38
"__id__": 48
}
],
"_prefab": null,
......@@ -1383,19 +1516,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 30
"__id__": 40
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
"__id__": 42
},
{
"__id__": 33
"__id__": 43
},
{
"__id__": 34
"__id__": 44
}
],
"_prefab": null,
......@@ -1434,7 +1567,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
"__id__": 41
},
"_enabled": true,
"__prefab": null,
......@@ -1456,7 +1589,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
"__id__": 41
},
"_enabled": true,
"__prefab": null,
......@@ -1484,7 +1617,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
"__id__": 41
},
"_enabled": true,
"__prefab": null,
......@@ -1508,7 +1641,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
"__id__": 40
},
"_enabled": true,
"__prefab": null,
......@@ -1530,7 +1663,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
"__id__": 40
},
"_enabled": true,
"__prefab": null,
......@@ -1566,7 +1699,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
"__id__": 40
},
"_enabled": true,
"__prefab": null,
......@@ -1594,7 +1727,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
"__id__": 40
},
"_enabled": true,
"__prefab": null,
......@@ -1618,7 +1751,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 39
},
"_enabled": true,
"__prefab": null,
......@@ -1640,22 +1773,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 39
},
"_enabled": true,
"__prefab": null,
"head": {
"__id__": 30
"__id__": 40
},
"bodyPrefab": {
"__uuid__": "8c4f22c7-20c7-4868-88ea-dedb8004999f",
"__expectedType__": "cc.Prefab"
},
"joystick": {
"__id__": 41
"__id__": 51
},
"fastBtn": {
"__id__": 53
"__id__": 63
},
"_id": "2dUcPvKs9AvZqQZfZoDIZT"
},
......@@ -1665,15 +1798,15 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
"__id__": 52
},
"_enabled": true,
"__prefab": null,
"handle": {
"__id__": 99
"__id__": 109
},
"bg": {
"__id__": 103
"__id__": 113
},
"normalSp": {
"__uuid__": "7f413237-4b73-4bae-bca7-7ab9e9742ebc@f9941",
......@@ -1691,26 +1824,26 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 43
"__id__": 53
},
"_children": [
{
"__id__": 99
"__id__": 109
}
],
"_active": true,
"_components": [
{
"__id__": 102
"__id__": 112
},
{
"__id__": 103
"__id__": 113
},
{
"__id__": 41
"__id__": 51
},
{
"__id__": 104
"__id__": 114
}
],
"_prefab": null,
......@@ -1753,37 +1886,37 @@
},
"_children": [
{
"__id__": 44
"__id__": 54
},
{
"__id__": 46
"__id__": 56
},
{
"__id__": 50
"__id__": 60
},
{
"__id__": 42
"__id__": 52
},
{
"__id__": 56
"__id__": 66
},
{
"__id__": 77
"__id__": 87
},
{
"__id__": 89
"__id__": 99
}
],
"_active": true,
"_components": [
{
"__id__": 96
"__id__": 106
},
{
"__id__": 97
"__id__": 107
},
{
"__id__": 98
"__id__": 108
}
],
"_prefab": null,
......@@ -1822,13 +1955,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 43
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 55
}
],
"_prefab": null,
......@@ -1867,7 +2000,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 44
"__id__": 54
},
"_enabled": true,
"__prefab": null,
......@@ -1875,7 +2008,7 @@
"_priority": 50000,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 807.8851351351351,
"_orthoHeight": 505.24444444444447,
"_near": 1,
"_far": 2000,
"_color": {
......@@ -1913,19 +2046,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 43
"__id__": 53
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 47
"__id__": 57
},
{
"__id__": 48
"__id__": 58
},
{
"__id__": 49
"__id__": 59
}
],
"_prefab": null,
......@@ -1964,7 +2097,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 46
"__id__": 56
},
"_enabled": true,
"__prefab": null,
......@@ -1986,7 +2119,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 46
"__id__": 56
},
"_enabled": true,
"__prefab": null,
......@@ -2025,7 +2158,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 46
"__id__": 56
},
"_enabled": true,
"__prefab": null,
......@@ -2055,25 +2188,25 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 43
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
"__id__": 61
},
{
"__id__": 52
"__id__": 62
},
{
"__id__": 53
"__id__": 63
},
{
"__id__": 54
"__id__": 64
},
{
"__id__": 55
"__id__": 65
}
],
"_prefab": null,
......@@ -2112,7 +2245,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 60
},
"_enabled": true,
"__prefab": null,
......@@ -2134,7 +2267,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 60
},
"_enabled": true,
"__prefab": null,
......@@ -2173,12 +2306,12 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 60
},
"_enabled": true,
"__prefab": null,
"sp": {
"__id__": 52
"__id__": 62
},
"_id": "cbuYoeJJBN/Z/dZ6F3l5A5"
},
......@@ -2188,7 +2321,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 60
},
"_enabled": true,
"__prefab": null,
......@@ -2250,7 +2383,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 60
},
"_enabled": true,
"__prefab": null,
......@@ -2280,26 +2413,26 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 43
"__id__": 53
},
"_children": [
{
"__id__": 57
"__id__": 67
},
{
"__id__": 60
"__id__": 70
}
],
"_active": true,
"_components": [
{
"__id__": 74
"__id__": 84
},
{
"__id__": 75
"__id__": 85
},
{
"__id__": 76
"__id__": 86
}
],
"_prefab": null,
......@@ -2338,16 +2471,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 56
"__id__": 66
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 68
},
{
"__id__": 59
"__id__": 69
}
],
"_prefab": null,
......@@ -2386,7 +2519,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 57
"__id__": 67
},
"_enabled": true,
"__prefab": null,
......@@ -2408,7 +2541,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 57
"__id__": 67
},
"_enabled": true,
"__prefab": null,
......@@ -2473,20 +2606,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 56
"__id__": 66
},
"_children": [
{
"__id__": 61
"__id__": 71
},
{
"__id__": 70
"__id__": 80
}
],
"_active": true,
"_components": [
{
"__id__": 73
"__id__": 83
}
],
"_prefab": null,
......@@ -2525,23 +2658,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 60
"__id__": 70
},
"_children": [
{
"__id__": 62
"__id__": 72
},
{
"__id__": 65
"__id__": 75
}
],
"_active": true,
"_components": [
{
"__id__": 68
"__id__": 78
},
{
"__id__": 69
"__id__": 79
}
],
"_prefab": null,
......@@ -2580,16 +2713,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 61
"__id__": 71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
"__id__": 73
},
{
"__id__": 64
"__id__": 74
}
],
"_prefab": null,
......@@ -2628,7 +2761,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 62
"__id__": 72
},
"_enabled": true,
"__prefab": null,
......@@ -2650,7 +2783,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 62
"__id__": 72
},
"_enabled": true,
"__prefab": null,
......@@ -2715,16 +2848,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 61
"__id__": 71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
"__id__": 76
},
{
"__id__": 67
"__id__": 77
}
],
"_prefab": null,
......@@ -2763,7 +2896,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 65
"__id__": 75
},
"_enabled": true,
"__prefab": null,
......@@ -2785,7 +2918,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 65
"__id__": 75
},
"_enabled": true,
"__prefab": null,
......@@ -2850,7 +2983,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 61
"__id__": 71
},
"_enabled": true,
"__prefab": null,
......@@ -2872,7 +3005,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 61
"__id__": 71
},
"_enabled": true,
"__prefab": null,
......@@ -2904,16 +3037,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 60
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
"__id__": 81
},
{
"__id__": 72
"__id__": 82
}
],
"_prefab": null,
......@@ -2952,7 +3085,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
"__id__": 80
},
"_enabled": true,
"__prefab": null,
......@@ -2974,7 +3107,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
"__id__": 80
},
"_enabled": true,
"__prefab": null,
......@@ -3039,7 +3172,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
"__id__": 70
},
"_enabled": true,
"__prefab": null,
......@@ -3061,7 +3194,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 56
"__id__": 66
},
"_enabled": true,
"__prefab": null,
......@@ -3083,7 +3216,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 56
"__id__": 66
},
"_enabled": true,
"__prefab": null,
......@@ -3113,7 +3246,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 56
"__id__": 66
},
"_enabled": true,
"__prefab": null,
......@@ -3145,23 +3278,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 43
"__id__": 53
},
"_children": [
{
"__id__": 78
"__id__": 88
}
],
"_active": true,
"_components": [
{
"__id__": 86
"__id__": 96
},
{
"__id__": 87
"__id__": 97
},
{
"__id__": 88
"__id__": 98
}
],
"_prefab": null,
......@@ -3198,17 +3331,17 @@
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 77
"__id__": 87
},
"_prefab": {
"__id__": 79
"__id__": 89
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 78
"__id__": 88
},
"asset": {
"__uuid__": "279fb523-a195-4d19-9e7c-1a05f1af2c6b",
......@@ -3216,7 +3349,7 @@
},
"fileId": "49A5rcXXVEt7bJwMc/vvkp",
"instance": {
"__id__": 80
"__id__": 90
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
......@@ -3229,16 +3362,16 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 81
"__id__": 91
},
{
"__id__": 83
"__id__": 93
},
{
"__id__": 84
"__id__": 94
},
{
"__id__": 85
"__id__": 95
}
],
"removedComponents": []
......@@ -3246,7 +3379,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 82
"__id__": 92
},
"propertyPath": [
"_name"
......@@ -3262,7 +3395,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 82
"__id__": 92
},
"propertyPath": [
"_lpos"
......@@ -3277,7 +3410,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 82
"__id__": 92
},
"propertyPath": [
"_lrot"
......@@ -3293,7 +3426,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 82
"__id__": 92
},
"propertyPath": [
"_euler"
......@@ -3311,7 +3444,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 77
"__id__": 87
},
"_enabled": true,
"__prefab": null,
......@@ -3333,7 +3466,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 77
"__id__": 87
},
"_enabled": true,
"__prefab": null,
......@@ -3363,7 +3496,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 77
"__id__": 87
},
"_enabled": true,
"__prefab": null,
......@@ -3376,7 +3509,7 @@
"__expectedType__": "cc.Prefab"
},
"selfNode": {
"__id__": 78
"__id__": 88
},
"_id": "d17UmC1cFCiY8DxwBXpbec"
},
......@@ -3386,23 +3519,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 43
"__id__": 53
},
"_children": [
{
"__id__": 90
"__id__": 100
}
],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 103
},
{
"__id__": 94
"__id__": 104
},
{
"__id__": 95
"__id__": 105
}
],
"_prefab": null,
......@@ -3441,16 +3574,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 89
"__id__": 99
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 91
"__id__": 101
},
{
"__id__": 92
"__id__": 102
}
],
"_prefab": null,
......@@ -3489,7 +3622,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 90
"__id__": 100
},
"_enabled": true,
"__prefab": null,
......@@ -3511,7 +3644,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 90
"__id__": 100
},
"_enabled": true,
"__prefab": null,
......@@ -3576,7 +3709,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 89
"__id__": 99
},
"_enabled": true,
"__prefab": null,
......@@ -3598,7 +3731,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 89
"__id__": 99
},
"_enabled": true,
"__prefab": null,
......@@ -3637,7 +3770,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 89
"__id__": 99
},
"_enabled": true,
"__prefab": null,
......@@ -3667,7 +3800,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
"__id__": 53
},
"_enabled": true,
"__prefab": null,
......@@ -3689,12 +3822,12 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
"__id__": 53
},
"_enabled": true,
"__prefab": null,
"_cameraComponent": {
"__id__": 45
"__id__": 55
},
"_alignCanvasWithScreen": true,
"_id": "34wxp/0vpKH4Wcp1ieFQOS"
......@@ -3705,7 +3838,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
"__id__": 53
},
"_enabled": true,
"__prefab": null,
......@@ -3735,16 +3868,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 42
"__id__": 52
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 100
"__id__": 110
},
{
"__id__": 101
"__id__": 111
}
],
"_prefab": null,
......@@ -3783,7 +3916,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 99
"__id__": 109
},
"_enabled": true,
"__prefab": null,
......@@ -3805,7 +3938,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 99
"__id__": 109
},
"_enabled": true,
"__prefab": null,
......@@ -3844,7 +3977,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
"__id__": 52
},
"_enabled": true,
"__prefab": null,
......@@ -3866,7 +3999,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
"__id__": 52
},
"_enabled": true,
"__prefab": null,
......@@ -3905,7 +4038,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
"__id__": 52
},
"_enabled": true,
"__prefab": null,
......@@ -4014,34 +4147,34 @@
"maxFood": 300,
"maxAnimal": 20,
"joystick": {
"__id__": 41
"__id__": 51
},
"fastBtn": {
"__id__": 53
"__id__": 63
},
"uiBg": {
"__id__": 5
},
"player": {
"__id__": 40
"__id__": 50
},
"fondManger": {
"__id__": 26
"__id__": 36
},
"animalNode": {
"__id__": 27
"__id__": 37
},
"camera": {
"__id__": 4
},
"killTxt": {
"__id__": 59
"__id__": 69
},
"lengthTxt": {
"__id__": 67
"__id__": 77
},
"luckyNum": {
"__id__": 92
"__id__": 102
},
"_id": "212vDeP7dNBZXi0fJjPuCy"
},
......@@ -4053,31 +4186,34 @@
"instance": null,
"targetOverrides": [
{
"__id__": 110
"__id__": 120
}
],
"nestedPrefabInstanceRoots": [
{
"__id__": 78
"__id__": 24
},
{
"__id__": 88
}
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 29
"__id__": 39
},
"sourceInfo": {
"__id__": 111
"__id__": 121
},
"propertyPath": [
"head"
],
"target": {
"__id__": 29
"__id__": 39
},
"targetInfo": {
"__id__": 112
"__id__": 122
}
},
{
......@@ -4095,28 +4231,28 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 114
"__id__": 124
},
"shadows": {
"__id__": 115
"__id__": 125
},
"_skybox": {
"__id__": 116
"__id__": 126
},
"fog": {
"__id__": 117
"__id__": 127
},
"octree": {
"__id__": 118
"__id__": 128
},
"skin": {
"__id__": 119
"__id__": 129
},
"lightProbeInfo": {
"__id__": 120
"__id__": 130
},
"postSettings": {
"__id__": 121
"__id__": 131
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
......
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "bc72d45d-c389-4d16-9dc8-70421fb2f9c6",
"files": [],
"subMetas": {},
"userData": {}
}
[
{
"__type__": "cc.AnimationClip",
"_name": "道具光",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 30,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 3,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 11
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"eulerAngles"
]
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 4
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
3
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"broken": null
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
3
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"broken": null
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 8
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
3
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"broken": null
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -360,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 10
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]
\ No newline at end of file
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "e25622d3-ea85-4e16-8e94-1f1a839fbe1b",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "道具光"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "91e706a3-2b72-4aae-9409-b4ae87570f9f",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "91e706a3-2b72-4aae-9409-b4ae87570f9f@6c48a",
"displayName": "光",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "91e706a3-2b72-4aae-9409-b4ae87570f9f",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "91e706a3-2b72-4aae-9409-b4ae87570f9f@f9941",
"displayName": "光",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 192,
"height": 191,
"rawWidth": 192,
"rawHeight": 191,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-96,
-95.5,
0,
96,
-95.5,
0,
-96,
95.5,
0,
96,
95.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
191,
192,
191,
0,
0,
192,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-96,
-95.5,
0
],
"maxPos": [
96,
95.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "91e706a3-2b72-4aae-9409-b4ae87570f9f@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "91e706a3-2b72-4aae-9409-b4ae87570f9f@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "986f5ef8-b353-4dd9-90bd-ed5b536ee6a2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "986f5ef8-b353-4dd9-90bd-ed5b536ee6a2@6c48a",
"displayName": "福袋",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "986f5ef8-b353-4dd9-90bd-ed5b536ee6a2",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "986f5ef8-b353-4dd9-90bd-ed5b536ee6a2@f9941",
"displayName": "福袋",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 59,
"rawWidth": 61,
"rawHeight": 59,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-30.5,
-29.5,
0,
30.5,
-29.5,
0,
-30.5,
29.5,
0,
30.5,
29.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
59,
61,
59,
0,
0,
61,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-30.5,
-29.5,
0
],
"maxPos": [
30.5,
29.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "986f5ef8-b353-4dd9-90bd-ed5b536ee6a2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "986f5ef8-b353-4dd9-90bd-ed5b536ee6a2@6c48a"
}
}
[
{
"__type__": "cc.Prefab",
"_name": "道具",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "道具",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 10
}
],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 18
},
{
"__id__": 20
}
],
"_prefab": {
"__id__": 22
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "光",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 192,
"height": 191
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "66StAJqXFCaJ2ej3HlfBoS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "91e706a3-2b72-4aae-9409-b4ae87570f9f@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "90C/3naUdLTpUo0dap3pqi"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "e25622d3-ea85-4e16-8e94-1f1a839fbe1b",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "e25622d3-ea85-4e16-8e94-1f1a839fbe1b",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "41IFKRClFAq4STk7UDKwB9"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "64wwZ9uZZBB5gCQrFUdt98",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "图",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 13
}
],
"_prefab": {
"__id__": 15
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 61,
"height": 59
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5e6yk1hnhLtZvIiPTH+S/y"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "986f5ef8-b353-4dd9-90bd-ed5b536ee6a2@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "87+475Oh1E5JZyBvCWovfH"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b5udWGGdZFkr37lglnfJcy",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bdBolABn1LK44IChBt7j2O"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"enabledContactListener": true,
"bullet": false,
"awakeOnLoad": true,
"_group": 32,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6cxO6EcOZGIY2Mutu8PTpJ"
},
{
"__type__": "cc.CircleCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"tag": 0,
"_group": 32,
"_density": 1,
"_sensor": true,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 30,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d4nguP1hRPj6hmP9ugayLT"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "95QVeGhHxFHYdTtrbtkAQN",
"instance": null,
"targetOverrides": null
}
]
\ No newline at end of file
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "a5f2b7c2-a3e8-4830-ba7a-97aa26c34486",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "道具"
}
}
......@@ -25,6 +25,8 @@ const aiNick = [
"温凉少女",
"蹲街守寂寞",
"暮凉",
"还有醋v",
"奋斗的吗喽",
"甜崽",
"寄居人",
"書冩時光",
......
......@@ -173,7 +173,7 @@ export class Snake extends Component {
}
onBeginEye(selfCollider: Collider2D, otherCollider: Collider2D) {
if (otherCollider.group === PhysicsGroup["Prop"]) {
if (otherCollider.group === PhysicsGroup["Food"]) {
const foodType = otherCollider.tag;
// 食物吃掉的动画
......
......@@ -19,7 +19,7 @@
},
{
"index": 2,
"name": "Prop"
"name": "Food"
},
{
"index": 3,
......@@ -28,15 +28,19 @@
{
"index": 4,
"name": "Body"
},
{
"index": 5,
"name": "Prop"
}
],
"collisionMatrix": {
"0": 0,
"1": 20,
"1": 52,
"2": 10,
"3": 84,
"3": 116,
"4": 42,
"5": 80,
"5": 90,
"6": 40
},
"maxSubSteps": 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment