mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-08 14:48:40 +08:00
404 lines
7.3 KiB
Plaintext
404 lines
7.3 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.SceneAsset",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_rawFiles": null,
|
|
"scene": {
|
|
"__id__": 1
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.Scene",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [
|
|
{
|
|
"__id__": 2
|
|
}
|
|
],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [],
|
|
"_prefab": null,
|
|
"_id": "2d2f792f-a40c-49bb-a189-ed176a246e49",
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_cascadeOpacityEnabled": true,
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 0,
|
|
"height": 0
|
|
},
|
|
"_localZOrder": 0,
|
|
"_globalZOrder": 0,
|
|
"_opacityModifyRGB": false,
|
|
"groupIndex": 0,
|
|
"autoReleaseAssets": false
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Canvas",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [
|
|
{
|
|
"__id__": 3
|
|
},
|
|
{
|
|
"__id__": 6
|
|
},
|
|
{
|
|
"__id__": 8
|
|
}
|
|
],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 10
|
|
},
|
|
{
|
|
"__id__": 11
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_id": "a286bbGknJLZpRpxROV6M94",
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 252,
|
|
"g": 252,
|
|
"b": 252,
|
|
"a": 255
|
|
},
|
|
"_cascadeOpacityEnabled": true,
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 960,
|
|
"height": 640
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_scaleX": 1,
|
|
"_scaleY": 1,
|
|
"_position": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 480,
|
|
"y": 320
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_localZOrder": 0,
|
|
"_globalZOrder": 0,
|
|
"_opacityModifyRGB": false,
|
|
"groupIndex": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "background",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 4
|
|
},
|
|
{
|
|
"__id__": 5
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_id": "e2e0crkOLxGrpMxpbC4iQg1",
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 27,
|
|
"g": 38,
|
|
"b": 46,
|
|
"a": 255
|
|
},
|
|
"_cascadeOpacityEnabled": true,
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 960,
|
|
"height": 640
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_scaleX": 1,
|
|
"_scaleY": 1,
|
|
"_position": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_localZOrder": 0,
|
|
"_globalZOrder": 0,
|
|
"_opacityModifyRGB": false,
|
|
"groupIndex": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Widget",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 3
|
|
},
|
|
"_enabled": true,
|
|
"isAlignOnce": true,
|
|
"_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
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 3
|
|
},
|
|
"_enabled": true,
|
|
"_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,
|
|
"_srcBlendFactor": 770,
|
|
"_dstBlendFactor": 771,
|
|
"_atlas": null
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "cocos",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 7
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_id": "c4f30YOS65G64U2TwufdJ+2",
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_cascadeOpacityEnabled": true,
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 195,
|
|
"height": 270
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_scaleX": 1,
|
|
"_scaleY": 1,
|
|
"_position": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 50
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_localZOrder": 0,
|
|
"_globalZOrder": 0,
|
|
"_opacityModifyRGB": false,
|
|
"groupIndex": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 6
|
|
},
|
|
"_enabled": true,
|
|
"_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,
|
|
"_srcBlendFactor": 770,
|
|
"_dstBlendFactor": 771,
|
|
"_atlas": null
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "label",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 9
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_id": "31f1bH7V69Ajr1iXhluMpTB",
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_cascadeOpacityEnabled": true,
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 147,
|
|
"height": 60
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_scaleX": 1,
|
|
"_scaleY": 1,
|
|
"_position": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": -180
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_localZOrder": 0,
|
|
"_globalZOrder": 0,
|
|
"_opacityModifyRGB": false,
|
|
"groupIndex": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Label",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 8
|
|
},
|
|
"_enabled": true,
|
|
"_useOriginalSize": false,
|
|
"_actualFontSize": 40,
|
|
"_fontSize": 60,
|
|
"_lineHeight": 60,
|
|
"_enableWrapText": true,
|
|
"_N$file": null,
|
|
"_isSystemFontUsed": true,
|
|
"_spacingX": 0,
|
|
"_N$string": "Label",
|
|
"_N$horizontalAlign": 1,
|
|
"_N$verticalAlign": 1,
|
|
"_N$fontFamily": "Arial",
|
|
"_N$overflow": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Canvas",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_designResolution": {
|
|
"__type__": "cc.Size",
|
|
"width": 960,
|
|
"height": 640
|
|
},
|
|
"_fitWidth": false,
|
|
"_fitHeight": true
|
|
},
|
|
{
|
|
"__type__": "280c3rsZJJKnZ9RqbALVwtK",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"label": {
|
|
"__id__": 9
|
|
},
|
|
"prefabAlert": null,
|
|
"text": "Hello, World!"
|
|
}
|
|
] |