mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-07 22:27:22 +08:00
651 lines
11 KiB
Plaintext
651 lines
11 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.SceneAsset",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"scene": {
|
|
"__id__": 1
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.Scene",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [
|
|
{
|
|
"__id__": 2
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_level": 0,
|
|
"_components": [],
|
|
"_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,
|
|
"y": 0
|
|
},
|
|
"_scale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0.27669923305511473,
|
|
"y": 0.27669923305511473,
|
|
"z": 1
|
|
},
|
|
"_quat": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_zIndex": 0,
|
|
"groupIndex": 0,
|
|
"autoReleaseAssets": false,
|
|
"_id": "2d2f792f-a40c-49bb-a189-ed176a246e49"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Canvas",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [
|
|
{
|
|
"__id__": 3
|
|
},
|
|
{
|
|
"__id__": 5
|
|
},
|
|
{
|
|
"__id__": 8
|
|
},
|
|
{
|
|
"__id__": 11
|
|
},
|
|
{
|
|
"__id__": 13
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_level": 0,
|
|
"_components": [
|
|
{
|
|
"__id__": 15
|
|
},
|
|
{
|
|
"__id__": 16
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 252,
|
|
"g": 252,
|
|
"b": 252,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 960,
|
|
"height": 640
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_position": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 480,
|
|
"y": 320,
|
|
"z": 0
|
|
},
|
|
"_scale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_quat": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_zIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "a286bbGknJLZpRpxROV6M94"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Main Camera",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 1,
|
|
"_components": [
|
|
{
|
|
"__id__": 4
|
|
}
|
|
],
|
|
"_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
|
|
},
|
|
"_position": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_scale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_quat": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_zIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "bajsC4KotFLZ6XLFLKnycL"
|
|
},
|
|
{
|
|
"__type__": "cc.Camera",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 3
|
|
},
|
|
"_enabled": true,
|
|
"_cullingMask": 4294967295,
|
|
"_clearFlags": 7,
|
|
"_backgroundColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"_depth": -1,
|
|
"_zoomRatio": 1,
|
|
"_targetTexture": null,
|
|
"_id": "c7r5+B15dD56dUBiNj+0KH"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "background",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 0,
|
|
"_components": [
|
|
{
|
|
"__id__": 6
|
|
},
|
|
{
|
|
"__id__": 7
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 27,
|
|
"g": 38,
|
|
"b": 46,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 960,
|
|
"height": 640
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_position": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_scale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_quat": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_zIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "e2e0crkOLxGrpMxpbC4iQg1"
|
|
},
|
|
{
|
|
"__type__": "cc.Widget",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 5
|
|
},
|
|
"_enabled": true,
|
|
"alignMode": 1,
|
|
"_target": null,
|
|
"_alignFlags": 45,
|
|
"_left": 0,
|
|
"_right": 0,
|
|
"_top": 0,
|
|
"_bottom": 0,
|
|
"_verticalCenter": 0,
|
|
"_horizontalCenter": 0,
|
|
"_isAbsLeft": true,
|
|
"_isAbsRight": true,
|
|
"_isAbsTop": true,
|
|
"_isAbsBottom": true,
|
|
"_isAbsHorizontalCenter": true,
|
|
"_isAbsVerticalCenter": true,
|
|
"_originalWidth": 200,
|
|
"_originalHeight": 150,
|
|
"_id": "86+yud7pFDSrM+lsxByQvE"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 5
|
|
},
|
|
"_enabled": true,
|
|
"_srcBlendFactor": 770,
|
|
"_dstBlendFactor": 771,
|
|
"_spriteFrame": {
|
|
"__uuid__": "410fb916-8721-4663-bab8-34397391ace7"
|
|
},
|
|
"_type": 1,
|
|
"_sizeMode": 0,
|
|
"_fillType": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_state": 0,
|
|
"_atlas": null,
|
|
"_id": "1bi08CbSBHsZSXfV2t6eKB"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "cocosAnim",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 1,
|
|
"_components": [
|
|
{
|
|
"__id__": 9
|
|
},
|
|
{
|
|
"__id__": 10
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 195,
|
|
"height": 270
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_position": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 50,
|
|
"z": 0
|
|
},
|
|
"_scale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_quat": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_zIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "452BqycKdLQYklex6B2eue"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 8
|
|
},
|
|
"_enabled": true,
|
|
"_srcBlendFactor": 770,
|
|
"_dstBlendFactor": 771,
|
|
"_spriteFrame": {
|
|
"__uuid__": "31bc895a-c003-4566-a9f3-2e54ae1c17dc"
|
|
},
|
|
"_type": 0,
|
|
"_sizeMode": 1,
|
|
"_fillType": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_state": 0,
|
|
"_atlas": null,
|
|
"_id": "c7kv2GuQ9JTbB/mfH1J0HN"
|
|
},
|
|
{
|
|
"__type__": "1abcdKKezlJpqCcfavZRu/c",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 8
|
|
},
|
|
"_enabled": true,
|
|
"isPlay": true,
|
|
"_id": "053MP5x4ZJYpd2dbXWJolX"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "cocos",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 0,
|
|
"_components": [
|
|
{
|
|
"__id__": 12
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 195,
|
|
"height": 270
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_position": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 50,
|
|
"z": 0
|
|
},
|
|
"_scale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_quat": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_zIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "c4f30YOS65G64U2TwufdJ+2"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 11
|
|
},
|
|
"_enabled": true,
|
|
"_srcBlendFactor": 770,
|
|
"_dstBlendFactor": 771,
|
|
"_spriteFrame": {
|
|
"__uuid__": "31bc895a-c003-4566-a9f3-2e54ae1c17dc"
|
|
},
|
|
"_type": 0,
|
|
"_sizeMode": 1,
|
|
"_fillType": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_state": 0,
|
|
"_atlas": null,
|
|
"_id": "42SM+92GZAXYsjLj89MLM+"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "label",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 0,
|
|
"_components": [
|
|
{
|
|
"__id__": 14
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 146.81,
|
|
"height": 60
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_position": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": -180,
|
|
"z": 0
|
|
},
|
|
"_scale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_quat": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_zIndex": 0,
|
|
"groupIndex": 0,
|
|
"_id": "31f1bH7V69Ajr1iXhluMpTB"
|
|
},
|
|
{
|
|
"__type__": "cc.Label",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 13
|
|
},
|
|
"_enabled": true,
|
|
"_srcBlendFactor": 1,
|
|
"_dstBlendFactor": 771,
|
|
"_useOriginalSize": false,
|
|
"_string": "Label",
|
|
"_N$string": "Label",
|
|
"_fontSize": 60,
|
|
"_lineHeight": 60,
|
|
"_enableWrapText": true,
|
|
"_N$file": null,
|
|
"_isSystemFontUsed": true,
|
|
"_spacingX": 0,
|
|
"_N$horizontalAlign": 1,
|
|
"_N$verticalAlign": 1,
|
|
"_N$fontFamily": "Arial",
|
|
"_N$overflow": 0,
|
|
"_id": "74saCdhnNHjbyDsdd1bTTt"
|
|
},
|
|
{
|
|
"__type__": "cc.Canvas",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_designResolution": {
|
|
"__type__": "cc.Size",
|
|
"width": 960,
|
|
"height": 640
|
|
},
|
|
"_fitWidth": false,
|
|
"_fitHeight": true,
|
|
"_id": "6f5cteKmlPh6NGUsUqxlFR"
|
|
},
|
|
{
|
|
"__type__": "280c3rsZJJKnZ9RqbALVwtK",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"label": {
|
|
"__id__": 14
|
|
},
|
|
"text": "Hello, World!",
|
|
"_id": "dcGJ+cSA5D7qNtScKfLjJJ"
|
|
}
|
|
] |