mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-09 15:18:40 +08:00
625 lines
11 KiB
Plaintext
625 lines
11 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
|
|
},
|
|
{
|
|
"__id__": 10
|
|
}
|
|
],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 16
|
|
},
|
|
{
|
|
"__id__": 17
|
|
}
|
|
],
|
|
"_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": 1280,
|
|
"height": 720
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_scaleX": 1,
|
|
"_scaleY": 1,
|
|
"_position": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 640,
|
|
"y": 360
|
|
},
|
|
"_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": 1280,
|
|
"height": 720
|
|
},
|
|
"_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.Node",
|
|
"_name": "Notice",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [
|
|
{
|
|
"__id__": 11
|
|
},
|
|
{
|
|
"__id__": 13
|
|
}
|
|
],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 15
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_id": "48CVKP245Ic7pRpAyp7kPj",
|
|
"_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": 0,
|
|
"height": 0
|
|
},
|
|
"_rotationX": 0,
|
|
"_rotationY": 0,
|
|
"_scaleX": 1,
|
|
"_scaleY": 1,
|
|
"_position": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 218
|
|
},
|
|
"_skewX": 0,
|
|
"_skewY": 0,
|
|
"_localZOrder": 0,
|
|
"_globalZOrder": 0,
|
|
"_opacityModifyRGB": false,
|
|
"groupIndex": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "bg",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 10
|
|
},
|
|
"_children": [],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 12
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_id": "77ZcS+W3tJ0bpJn2U0wbby",
|
|
"_opacity": 200,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"_cascadeOpacityEnabled": true,
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 1280,
|
|
"height": 30
|
|
},
|
|
"_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.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 11
|
|
},
|
|
"_enabled": true,
|
|
"_spriteFrame": {
|
|
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
|
|
},
|
|
"_type": 0,
|
|
"_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": "RichText",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 10
|
|
},
|
|
"_children": [],
|
|
"_tag": -1,
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 14
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_id": "93FOTYDXpAL5vdAcpCk7x2",
|
|
"_opacity": 255,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_cascadeOpacityEnabled": true,
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0.5
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 240,
|
|
"height": 50
|
|
},
|
|
"_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.RichText",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 13
|
|
},
|
|
"_enabled": true,
|
|
"_N$string": "<color=#00ff00>Rich</c>aasssssa<color=#0fffff>Text</color>",
|
|
"_N$horizontalAlign": 0,
|
|
"_N$fontSize": 30,
|
|
"_N$font": null,
|
|
"_N$maxWidth": 0,
|
|
"_N$lineHeight": 50,
|
|
"_N$imageAtlas": null,
|
|
"_N$handleTouchEvent": true
|
|
},
|
|
{
|
|
"__type__": "8e40b8fCghL+4n6YL9rkZb6",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 10
|
|
},
|
|
"_enabled": true,
|
|
"richTextInfo": {
|
|
"__id__": 14
|
|
},
|
|
"speed": 150
|
|
},
|
|
{
|
|
"__type__": "cc.Canvas",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_designResolution": {
|
|
"__type__": "cc.Size",
|
|
"width": 1280,
|
|
"height": 720
|
|
},
|
|
"_fitWidth": true,
|
|
"_fitHeight": false
|
|
},
|
|
{
|
|
"__type__": "280c3rsZJJKnZ9RqbALVwtK",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"label": {
|
|
"__id__": 9
|
|
},
|
|
"text": "Hello, World!"
|
|
}
|
|
] |