Commit d3444fb7 authored by Tt's avatar Tt

临时缓存

parent 74729a1b
File added
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"ver": "1.2.9",
"uuid": "2d2f792f-a40c-49bb-a189-ed176a246e49",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "7091890a-4097-4c74-b388-e0be538f9c1c",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -79,18 +79,39 @@
},
{
"__id__": 14
},
{
"__id__": 24
},
{
"__id__": 29
},
{
"__id__": 47
},
{
"__id__": 53
},
{
"__id__": 65
},
{
"__id__": 70
},
{
"__id__": 83
}
],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 97
},
{
"__id__": 25
"__id__": 98
},
{
"__id__": 26
"__id__": 99
}
],
"_prefab": null,
......@@ -104,8 +125,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
"width": 1920,
"height": 1200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -116,8 +137,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
360,
960,
600,
0,
0,
0,
......@@ -247,7 +268,7 @@
"__id__": 2
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 6
......@@ -348,7 +369,7 @@
"__id__": 11
}
],
"_active": true,
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
......@@ -571,7 +592,7 @@
"__id__": 7
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 12
......@@ -1247,17 +1268,3469 @@
"_id": "dey05oKrBIspvsDa6pOIQz"
},
{
"__type__": "cc.Canvas",
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 512,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 25
},
{
"__id__": 27
}
],
"_active": true,
"_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.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": "a1VVlPF2NGXL7vsIhMZ8g/"
},
{
"__type__": "cc.Node",
"_name": "bg_sky",
"_objFlags": 0,
"_parent": {
"__id__": 24
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 26
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 303
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
451.244,
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": "3dNToTJGZDRYkqIlohs0IJ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"__id__": 25
},
"_enabled": true,
"_designResolution": {
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "80bed556-6ebb-4ba4-836d-3999c5e5d885"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "59jsE/2HNKRKxDPpInzYTC"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 24
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
"width": 1920,
"height": 1015
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-68.631,
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": "bbH/J/bqdGsbKxgu3Dm2QI"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e2da8ec4-531e-45d7-bd29-3ee230af890b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "66xA9hK81FNLN8c3dhG1u6"
},
{
"__type__": "cc.Node",
"_name": "dong",
"_objFlags": 512,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 30
},
{
"__id__": 32
},
{
"__id__": 34
},
{
"__id__": 36
},
{
"__id__": 38
},
{
"__id__": 40
},
{
"__id__": 42
},
{
"__id__": 44
}
],
"_active": true,
"_components": [
{
"__id__": 46
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1700,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-235.512,
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": "15oFqGn1xHHa88OVOgLezw"
},
{
"__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 390,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-645,
164,
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": "c4x7KDdoRJZZrNLx2veSr+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2a5avIjCNM76VrnJz94iD9"
},
{
"__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 33
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 390,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-215,
164,
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": "840oRmdatPFaRlwgedF+r0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "76GziZD/tBlrlgU9hMwfA0"
},
{
"__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 390,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
215,
164,
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": "fedkotwq5Fs4L9nHgeQEvM"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e7ExOgQMNEcqhMCUo0LGvk"
},
{
"__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 37
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 390,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
645,
164,
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": "5e5wyHoz1PD46ijWJFR0Ib"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "72LCozIyROy5Mb1ZMIac1q"
},
{
"__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 39
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 390,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-645,
-118,
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": "98D57aMc9Luo71iFH3lCYz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8bR9ZvoEdAvZIOyu0iRujp"
},
{
"__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 390,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-215,
-118,
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": "f9vFLImvROradDFpicFHvY"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0erBMzlCVA97xmeVBgL4NI"
},
{
"__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 390,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
215,
-118,
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": "3a29KuXoJO4ajAT0PwoOjS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "01MaHIwTNCZZpTEj81+9UM"
},
{
"__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 390,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
645,
-118,
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": "59g+nHi6FPYLvzcgra6P5U"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cfpGDPFa9Pb6sHHfLAA69d"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 1700,
"height": 500
},
"_resize": 0,
"_N$layoutType": 3,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 10,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 40,
"_N$spacingY": 110,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "35TV5JaYtPbK5YRQjGx9JO"
},
{
"__type__": "cc.Node",
"_name": "player",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 48
},
{
"__id__": 50
}
],
"_active": true,
"_components": [
{
"__id__": 52
}
],
"_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": [
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": "02CyzjaBFI15Pbpd/XUL/v"
},
{
"__type__": "cc.Node",
"_name": "icon_player",
"_objFlags": 0,
"_parent": {
"__id__": 47
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 152,
"height": 181
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-440.099,
371.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": "81+QTQnj9ExqAFuJuhGWId"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "98a8f6f7-52b0-4481-b704-09dc8e69bbf7"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "60uIoSfERDxoFSRv/mzrXL"
},
{
"__type__": "cc.Node",
"_name": "icon_robot",
"_objFlags": 0,
"_parent": {
"__id__": 47
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 152,
"height": 186
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
440.098,
366.352,
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": "5bRai8kWpD3pMv44hhO9w4"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ba9bf0a8-fc1f-4652-985c-ae2119250d84"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ea9H05TupJbJsfokHc+ReV"
},
{
"__type__": "32f0cXvwnlAO58ohUBSECCO",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
},
"_enabled": true,
"label": null,
"text": "hello",
"_id": "8cGNzSnQJDrbQD2Xvb+Ypu"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 54
}
],
"_active": true,
"_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.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-213.767,
-13.41,
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": "1a5JnBckRH2L5hZ9NGB+d6"
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [
{
"__id__": 55
}
],
"_active": true,
"_components": [
{
"__id__": 64
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 500,
"height": 600
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-20.789,
-175.292,
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": "2dr0f8fMxBM4m3kTlLR3Wr"
},
{
"__type__": "cc.Node",
"_name": "penguin",
"_objFlags": 0,
"_parent": {
"__id__": 54
},
"_children": [
{
"__id__": 56
},
{
"__id__": 58
},
{
"__id__": 60
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 246,
"height": 303
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
7.137,
190,
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": "24T0+iuAhIrJqWuGNcf3pw"
},
{
"__type__": "cc.Node",
"_name": "penguin_1",
"_objFlags": 0,
"_parent": {
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 246,
"height": 303
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
7,
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": "caV2JV0TpBPK088v5GUToS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d64cd0b7-b981-4a2e-a4c5-ce3c52619341"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "92QwkZoZNJWL1yycJsa5Th"
},
{
"__type__": "cc.Node",
"_name": "penguin_2",
"_objFlags": 0,
"_parent": {
"__id__": 55
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 59
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 246,
"height": 303
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
7,
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": "5cz9lkjk5Cm4J5ZVrImYUL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5d71a2ff-8187-4c87-9d40-34b239e80d17"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b9A+KwxCZOjJMwZ2eTqLBf"
},
{
"__type__": "cc.Node",
"_name": "panel_text",
"_objFlags": 0,
"_parent": {
"__id__": 55
},
"_children": [
{
"__id__": 61
}
],
"_active": false,
"_components": [
{
"__id__": 63
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 408,
"height": 166
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
4.758,
206.965,
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": "fcWTnvXlpM7oEihu6f8+2q"
},
{
"__type__": "cc.Node",
"_name": "txt",
"_objFlags": 0,
"_parent": {
"__id__": 60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 62
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 169,
"g": 47,
"b": 20,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 256.83,
"height": 88.2
},
"_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": "7686Bdc8xLgrhbLre60U60"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Chicago",
"_N$string": "Chicago",
"_fontSize": 70,
"_lineHeight": 70,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "637CcvrQtIPaG47kB8pCxs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8da735ac-825b-4d96-b4b0-746d382cd6e9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d0IFVHCohFP5g61P5nrCr+"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": {
"__uuid__": "74c130a7-9070-4c38-b03f-911a544d7f70"
},
"_type": 2,
"_segments": 64,
"_N$alphaThreshold": 0.7,
"_N$inverted": true,
"_id": "aehoJUOQ1EMaWUwBTLQr0H"
},
{
"__type__": "cc.Node",
"_name": "state",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 66
},
{
"__id__": 68
}
],
"_active": false,
"_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.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": "3d0jeHm11DwIecdyjf/wXQ"
},
{
"__type__": "cc.Node",
"_name": "bg_win",
"_objFlags": 0,
"_parent": {
"__id__": 65
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 67
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 815,
"height": 488
},
"_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": "79/wXIVQVJEID2Yi/ByRpl"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8f8e4cd4-c466-499a-9023-271f42183c12"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "abiUNrStVK+IBvkbX8xHCw"
},
{
"__type__": "cc.Node",
"_name": "bg_lose",
"_objFlags": 0,
"_parent": {
"__id__": 65
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 803,
"height": 333
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-35.684,
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": "ce4Y4pY85KUKWAjBbBybik"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "357d7709-3cd4-4703-baca-7f203782aaf4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "703cZpxW1EIYeyGivhgzmw"
},
{
"__type__": "cc.Node",
"_name": "speak",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 71
},
{
"__id__": 73
},
{
"__id__": 75
},
{
"__id__": 77
},
{
"__id__": 79
}
],
"_active": false,
"_components": [
{
"__id__": 81
},
{
"__id__": 82
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 0
},
"_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": "c6kif1eORMRIzswFETLsHo"
},
{
"__type__": "cc.Node",
"_name": "speak_ske",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 275,
"height": 278
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-73.747,
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": "77tsSo4M1NqbtQJXLiBh3p"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "04cff8f1-e53f-4032-bb59-80407080002d#406ba179-253d-4e03-93a6-63b0ff356d78",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "04cff8f1-e53f-4032-bb59-80407080002d"
},
"_N$dragonAtlasAsset": {
"__uuid__": "406ba179-253d-4e03-93a6-63b0ff356d78"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "42UoOOcyZMoI0w7UEzafZs"
},
{
"__type__": "cc.Node",
"_name": "btn_audio_stop",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 322,
"height": 213
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1.305,
-370.342,
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": "b6ayiDepNJe46c4lsN4G+m"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e2644176-bb57-453e-908b-12dd1ef1537b"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "13E+VKhNpAPLn17M5JJS+x"
},
{
"__type__": "cc.Node",
"_name": "btn_audio_start",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 322,
"height": 213
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1.305,
-370.342,
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": "d6GEAgLDBP0oJfz0ggzUEX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0aed4651-9ad4-4ce6-8674-241c5ebe7d92"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6codYZEEFIa6UeVIKImAAH"
},
{
"__type__": "cc.Node",
"_name": "bg_goodjob",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 815,
"height": 488
},
"_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": "b7yx6vBd5GbotL4/RAUwsL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e8ad4ddd-daec-4f21-b263-6cdbb1e74daa"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "09WjVvr6BNarMzOc2bPc11"
},
{
"__type__": "cc.Node",
"_name": "bg_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 80
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 803,
"height": 333
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-40.442,
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": "bbH6g12jtBsa6fCrEikNvD"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "78034a20-5384-4325-a8da-65037fa231c8"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7aq5HfXnFGyoHD7rsB/a27"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 1920,
"_originalHeight": 0,
"_id": "26ycSS1r9LC6uhSk5GRPst"
},
{
"__type__": "33705ydyx5Lkoj/0Ven15z4",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"label": null,
"text": "hello",
"_id": "a0QxSOOfRAoq9mY6LsTDR1"
},
{
"__type__": "cc.Node",
"_name": "start",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 84
},
{
"__id__": 87
},
{
"__id__": 90
},
{
"__id__": 93
}
],
"_active": false,
"_components": [
{
"__id__": 95
},
{
"__id__": 96
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1200
},
"_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": "bciJZwgN9McL3SW6uDD3ur"
},
{
"__type__": "cc.Node",
"_name": "panel_gray",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
},
{
"__id__": 86
}
],
"_prefab": null,
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 5500,
"height": 5500
},
"_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": "94g2oQF8RFU4gQYnpj/+kX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_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,
"_atlas": null,
"_id": "1eqQv9cwhIG5uSVdoTklf8"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_id": "62GJ00ACNO+oRV9v3v/AoP"
},
{
"__type__": "cc.Node",
"_name": "bg_vs",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 88
},
{
"__id__": 89
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 415
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
17.912,
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": "6c5UXVY7BE14qx43Is/d60"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "15931dc2-2400-4794-9b4b-629eb9087922"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b0Snkarl1N8JsD232dqD1Z"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 1920,
"_originalHeight": 0,
"_id": "87cDNwoMlEjaMmYIyRRnKh"
},
{
"__type__": "cc.Node",
"_name": "btn_restart",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": false,
"_components": [
{
"__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": 568,
"height": 361
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
7.492,
42.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": "ecxZsv1wVOmKOH7RD0nKWs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "cab90ff2-4873-44a5-807d-d024c2b15d10"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f4B4bc1cRK6r/aX5uOfPra"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
},
"_enabled": true,
"_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__": 90
},
"_id": "c3xMGcQ7tMQbslVP/3vxhi"
},
{
"__type__": "cc.Node",
"_name": "btn_start",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 94
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 568,
"height": 361
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
7.567,
43.583,
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": "54LjD8yitPIJiyyU+++gVn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1ef15b6f-5b61-41fd-bd98-1053b236e38b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7dYzDpAcRG9JFwyw9r6gqW"
},
{
"__type__": "13dcbpvyHZOHKj1s6BUfMsR",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_enabled": true,
"label": null,
"text": "hello",
"_id": "8dnGyEHlNHdq1T5QVoLE/I"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 1920,
"_originalHeight": 0,
"_id": "ccof2xF85OJ4c4MEZyNrWj"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1920,
"height": 1200
},
"_fitWidth": true,
"_fitHeight": true,
......
import { asyncDelay, onHomeworkFinish } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
import pg from "./pg";
import map from "./map";
import {
showFireworks,
} from '../script/utils';
const { ccclass, property } = cc._decorator;
const CELLTYPE = {
SPEAK: 1,
MOVE_ADD: 2,
ROLL_AGAIN: 3,
DELAY_TIME: 4,
JUMP_ROLL: 5,
WIN: 100,
}
@ccclass
export default class SceneComponent extends MyCocosSceneComponent {
export default class NewClass extends MyCocosSceneComponent {
addPreloadImage() {
this.log("test addPreloadImage")
// TODO 根据自己的配置预加载图片资源
this._imageResList.push({ url: this.data.pic_url });
this._imageResList.push({ url: this.data.pic_url_2 });
this.data && this._imageResList.push({ url: this.data.pic_url });
this.data && this._imageResList.push({ url: this.data.pic_url_2 });
}
addPreloadAudio() {
this.log("test addPreloadAudio")
// TODO 根据自己的配置预加载音频资源
this._audioResList.push({ url: this.data.audio_url });
this.data && this._audioResList.push({ url: this.data.audio_url });
}
addPreloadAnima() {
this.log("test addPreloadAnima")
}
onLoadEnd() {
this.log("test onLoadEnd")
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
this.initData();
this.initView();
this.initListener();
this.initEvent();
}
protected onDestroy(): void {
cc.Tween.stopAll();
this.unscheduleAllCallbacks();
pg.event.off("game_start")
pg.event.off("speak_success");
pg.event.off("speak_fail");
}
_cantouch = null;
initData() {
this.log("test initData")
// 所有全局变量 默认都是null
this._cantouch = true;
}
initView() {
this.initBg();
this.initPic();
this.initBtn();
this.initIcon();
this.log("test initView")
this.initTouzi();
this.initChess();
}
initEvent() {
this.log("test initEvent")
pg.event.on("game_start", () => { this.onGameStart() })
initBg() {
const bgNode = cc.find('Canvas/bg');
bgNode.scale = this._mapScaleMax;
pg.event.on("speak_success", () => { this.onSpeakScueess() });
pg.event.on("speak_fail", () => { this.onSpeakFail() });
}
pic1 = null;
pic2 = null;
initPic() {
const canvas = cc.find('Canvas');
const maxW = canvas.width * 0.7;
this.getSprNodeByUrl(this.data.pic_url, (sprNode) => {
const picNode1 = sprNode;
picNode1.scale = maxW / picNode1.width;
picNode1.baseX = picNode1.x;
canvas.addChild(picNode1);
this.pic1 = picNode1;
const labelNode = new cc.Node();
labelNode.color = cc.Color.YELLOW;
const label = labelNode.addComponent(cc.Label);
label.string = this.data.text;
label.fontSize = 60;
label.lineHeight = 60;
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent('cc.Label').font;
picNode1.addChild(labelNode);
});
this.getSprNodeByUrl(this.data.pic_url_2, (sprNode) => {
const picNode2 = sprNode;
picNode2.scale = maxW / picNode2.width;
canvas.addChild(picNode2);
picNode2.x = canvas.width;
picNode2.baseX = picNode2.x;
this.pic2 = picNode2;
const labelNode = new cc.Node();
const label = labelNode.addComponent(cc.RichText);
const size = 60
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent(cc.Label).font;
label.string = `<outline color=#751e00 width=4><size=${size}><color=#ffffff>${this.data.text}</color></size></outline>`
label.lineHeight = size;
picNode2.addChild(labelNode);
});
//-----------------------------流程------------------------------
private playerPoint: number;//
private robotPoint: number;//
private turnRobot: boolean;//当前是谁操作
private robotLevel: number;
onGameStart() {
this.log("test onGameStart")
this.playerPoint = 0;
this.robotPoint = 0;
this.turnRobot = Math.random() < 0.5;
let rand = Math.random();
if (rand < 0.3) {
this.robotLevel = 0;//0 1 2 三个级别 0 最高
} else if (rand < 0.6) {
this.robotLevel = 1;//0 1 2 三个级别 0 最高
} else {
this.robotLevel = 2;//0 1 2 三个级别 0 最高
}
this.initChess();
this.scheduleOnce(this.startTouzi, 2.1);
}
onSpeakScueess() {
//执行后续的动作。
this.turnNext();
}
onSpeakFail() {
//回退到最后一个位置
let cell = map[this.playerPoint];
this.jumpChess(cell, this.lastPointId).then(() => {
initIcon() {
const iconNode = this.getSprNode('icon');
iconNode.zIndex = 5;
iconNode.anchorX = 1;
iconNode.anchorY = 1;
iconNode.parent = cc.find('Canvas');
iconNode.x = iconNode.parent.width / 2 - 10;
iconNode.y = iconNode.parent.height / 2 - 10;
iconNode.on(cc.Node.EventType.TOUCH_START, () => {
this.playAudioByUrl(this.data.audio_url);
this.turnNext();
})
}
curPage = null;
initBtn() {
this.curPage = 0;
const bottomPart = cc.find('Canvas/bottomPart');
bottomPart.zIndex = 5; // 提高层级
bottomPart.x = bottomPart.parent.width / 2;
bottomPart.y = -bottomPart.parent.height / 2;
const leftBtnNode = bottomPart.getChildByName('btn_left');
//节点中添加了button组件 则可以添加click事件监听
leftBtnNode.on('click', () => {
if (!this._cantouch) {
return;
turnNext() {
this.turnRobot = !this.turnRobot;
this.startTouzi();
}
if (this.curPage == 0) {
return;
//-----------------------------CHESS-------------------------------
private chessPlayer: cc.Node;
private chessRobot: cc.Node;
initChess() {
//初始化棋子
this.chessPlayer = pg.view.find(this, "chess/chess_player");
this.chessRobot = pg.view.find(this, "chess/chess_robot");
let point = map[0];
this.chessPlayer.x = Number(point.yellow_x);
this.chessPlayer.y = Number(point.yellow_y);
this.chessRobot.x = Number(point.blue_x);
this.chessRobot.y = Number(point.blue_y);
}
this.curPage = 0
this.leftMove();
this.playLocalAudio('btn');
getMovePoints(now, runNum) {
let points = [];
for (let i = now; i <= now + runNum; i++) {
let point = map[i];
if (!point) break;
points.push(point);
}
return points;
}
moveChess(runNum) {
return new Promise((resolve, reject) => {
this.runNum = runNum;
if (this.turnRobot) {
let points = this.getMovePoints(this.robotPoint, runNum);
console.log(points);
this.chessRobot.getComponent("chess").run(points).then(() => {
this.robotPoint += (points.length - 1);
resolve('');
})
} else {
let points = this.getMovePoints(this.playerPoint, runNum);
console.log(points);
this.chessPlayer.getComponent("chess").run(points).then(() => {
this.playerPoint += (points.length - 1);
resolve('');
})
const rightBtnNode = bottomPart.getChildByName('btn_right');
//节点中添加了button组件 则可以添加click事件监听
rightBtnNode.on('click', () => {
if (!this._cantouch) {
return;
}
if (this.curPage == 1) {
return;
});
}
this.curPage = 1
this.rightMove();
// 游戏结束时需要调用这个方法通知系统作业完成
onHomeworkFinish();
this.playLocalAudio('btn');
jumpChess(cell, jumpId) {
return new Promise((resolve, reject) => {
let jumpCell = map[jumpId - 1];
let points = [cell, jumpCell];
if (this.turnRobot) {
this.chessRobot.getComponent("chess").run(points).then(() => {
this.robotPoint = Number(jumpCell.id) - 1;
resolve('');
})
} else {
this.chessPlayer.getComponent("chess").run(points).then(() => {
this.playerPoint = Number(jumpCell.id) - 1;
resolve('');
})
}
leftMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
});
}
private runNum: number;
checkCell() {
if (this.turnRobot) {
let cell = map[this.robotPoint];
let val = cell.value;
let type = Number(cell.type);
switch (type) {
case CELLTYPE.MOVE_ADD:
this.moveChess(Number(val)).then(() => {
this.checkCell();
})
.start();
break;
case CELLTYPE.ROLL_AGAIN:
this.turnRobot = !this.turnRobot;
this.turnNext();
break;
case CELLTYPE.JUMP_ROLL:
this.jumpChess(cell, Number(val)).then(() => {
this.checkCell();
})
break;
case CELLTYPE.WIN:
this.gameOver();
break;
default:
this.turnNext();
break;
}
rightMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX - len }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX - len }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
return
}
this.scheduleOnce(() => {
let cell = map[this.playerPoint];
let val = cell.value;
let type = Number(cell.type);
switch (type) {
case CELLTYPE.SPEAK:
pg.event.emit("speak_open", cell)
break;
case CELLTYPE.DELAY_TIME:
this.scheduleOnce(this.turnNext, 5);
break;
case CELLTYPE.MOVE_ADD:
this.moveChess(Number(val)).then(() => {
this.checkCell();
})
break;
case CELLTYPE.ROLL_AGAIN:
this.turnRobot = !this.turnRobot;
this.turnNext();
break;
case CELLTYPE.JUMP_ROLL:
this.jumpChess(cell, Number(val)).then(() => {
this.checkCell();
})
.start();
break;
case CELLTYPE.WIN:
this.gameOver();
break;
default:
this.turnNext();
break;
}
// update (dt) {},
initListener() {
}, 0.1)
}
//-----------------------------TOUZI-------------------------------
initTouzi() {
let touzi_ani = pg.view.find(this, "touzi_ani");
let btn_stop = pg.view.find(touzi_ani, "btn_stop");
pg.view.touchOn(btn_stop, this.onTouchStop, this);
}
onTouchStop() {
if (this.turnRobot) return;
this.stopTouzi();
}
lastPointId: number;
stopTouzi() {
pg.audio.stopAudio(this.touziAudio);
let touzi_ani = pg.view.find(this, "touzi_ani");
let icon = pg.view.find(touzi_ani, "icon");
let touzi = icon.getComponent("touzi");
let hand = pg.view.find(touzi_ani, "hand");
let btn_stop = pg.view.find(touzi_ani, "btn_stop");
pg.view.visible(btn_stop, false);
this.lastPointId = this.playerPoint + 1;
let runNum = 1;
let rand = Math.random();
if (this.turnRobot) {
//确认当前机器人是哪个级别,然后再对应级别进行抽奖
runNum = 1 + Math.floor(rand * (6 - (this.robotLevel * 1.3)));
} else {
runNum = 1 + Math.floor(rand * 6);
}
pg.view.visible(hand, false);
this.unschedule(this.handVisible);
touzi.stopAni(runNum).then(() => {
pg.view.visible(touzi_ani, false);
pg.event.emit("player_point_update", { isRobot: this.turnRobot, num: runNum });
this.moveChess(runNum).then(() => {
this.checkCell();
})
})
}
private touziAudio: number;
startTouzi() {
this.log("test startTouzi")
let touzi_ani = pg.view.find(this, "touzi_ani");
let icon = pg.view.find(touzi_ani, "icon");
let touzi = icon.getComponent("touzi");
let hand = pg.view.find(touzi_ani, "hand");
let btn_stop = pg.view.find(touzi_ani, "btn_stop");
pg.view.visible(touzi_ani, true);
touzi.startAni();
if (this.turnRobot) {
this.scheduleOnce(this.stopTouzi, 1);
} else {
pg.view.visible(btn_stop, true);
this.scheduleOnce(this.handVisible, 5);
}
pg.hw.playLocalAudio("touzi", true).then((id: number) => {
this.touziAudio = id;
})
}
handVisible() {
let touzi_ani = pg.view.find(this, "touzi_ani");
let hand = pg.view.find(touzi_ani, "hand");
pg.view.visible(hand, true);
}
//----------------------------OVER-------------------
gameOver() {
let state = pg.view.find(this, "state");
let bg_win = pg.view.find(state, "bg_win");
let bg_lose = pg.view.find(state, "bg_lose");
pg.view.visible(state, true);
if (this.playerPoint > this.robotPoint) {
pg.view.visible(bg_win, true);
pg.view.visible(bg_lose, false);
this.showFireFlower();
// pg.hw.playLocalAudio("flower");
} else {
pg.view.visible(bg_win, false);
pg.view.visible(bg_lose, true);
}
this.scheduleOnce(() => {
pg.view.visible(bg_win, false);
pg.view.visible(bg_lose, false);
pg.event.emit("game_over");
}, 5)
// onHomeworkFinish最后需要添加作业完成
onHomeworkFinish();
}
//-----------------------------TOOL-------------------------------
showFireFlower() {
return new Promise((resolve, reject) => {
this.playLocalAudio("flower")
showFireworks(
this.node,
pg.view.find(this, 'RibbonNodeBase').children,
cc.v2(0, -600), cc.v2(0, 1000), 200, 200
);
showFireworks(
this.node,
pg.view.find(this, 'RibbonNodeBase').children,
cc.v2(-600, -600), cc.v2(200, 1000), 200, 200
);
showFireworks(
this.node,
pg.view.find(this, 'RibbonNodeBase').children,
cc.v2(600, -600), cc.v2(-200, 1000), 200, 200
);
setTimeout(() => {
resolve('');
}, 1500);
});
}
playLocalAudio(audioName) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
......
// 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;
import pg from "./pg";
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
// LIFE-CYCLE CALLBACKS:
private count = 0;
onLoad() {
this.count = 0;
}
update(dt) {
this.count++;
// if (this.count >= 30) this.count = 0;
this.updateItems();
}
updateItems() {
}
}
{
"ver": "1.0.8",
"uuid": "764039ec-62e7-416b-a01b-1f8dd451a870",
"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
import movement from "./movements";
const { ccclass, property } = cc._decorator;
interface Point {
id: string;
blue_x: string;
blue_y: string;
yellow_x: string;
yellow_y: string;
}
@ccclass
export default class NewClass extends cc.Component {
@property
isRobot: boolean = false;
// LIFE-CYCLE CALLBACKS:
onLoad() {
}
protected onDestroy(): void {
cc.Tween.stopAll();
this.unscheduleAllCallbacks();
}
private lastPoints: Array<Point>;
run(points: Array<Point>) {
return new Promise((resolve, reject) => {
this.lastPoints = points;
let posArray = this.getPos(points);
let point0 = posArray.shift();
this.node.x = point0.x;
this.node.y = point0.y;
let movementList = []
for (let i = 0; i < posArray.length; i++) {
let pos = posArray[i];
movementList.push({
id: i,
time: 0.4,
x: pos.x,
y: pos.y,
audionode: "star"
})
}
movement.loadTween(this.node, movementList).then(() => {
resolve('');
})
});
}
getPos(points: Array<Point>) {
let posArray = points.map(li => {
let pos: any = {
x: this.isRobot ? li.blue_x : li.yellow_x,
y: this.isRobot ? li.blue_y : li.yellow_y
}
pos.x = Number(pos.x);
pos.y = Number(pos.y);
return pos;
});
return posArray;
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "00040df5-e4c9-4c8d-9fea-65b709873399",
"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';
// LIFE-CYCLE CALLBACKS:
private aning;
onLoad() {
this.aning = false;
}
protected onDestroy(): void {
cc.Tween.stopAll();
this.unscheduleAllCallbacks();
}
showAni() {
if (this.aning) return;
if (this.node && this.node.active) {
this.node.x += 400;
this.node.y -= 200;
this.aning = true;
cc.tween(this.node).by(0.3, { x: -400, y: 200 }).delay(1.5).call(() => {
this.aning = false;
this.showAni();
}).start();
}
}
update(dt) {
this.showAni();
}
}
{
"ver": "1.0.8",
"uuid": "df113ecd-ad74-4af4-8f8c-80c104abeefd",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
export default [
{ "id": "1", "yellow_x": "-480", "yellow_y": "70", "blue_x": "-345", "blue_y": "70", "type": "0", "value": "0" }, { "id": "2", "yellow_x": "-480", "yellow_y": "290", "blue_x": "-345", "blue_y": "135", "type": "1", "value": "blackboard" }, { "id": "3", "yellow_x": "-270", "yellow_y": "290", "blue_x": "-270", "blue_y": "135", "type": "1", "value": "window" }, { "id": "4", "yellow_x": "-130", "yellow_y": "290", "blue_x": "-130", "blue_y": "135", "type": "1", "value": "door" }, { "id": "5", "yellow_x": "-10", "yellow_y": "290", "blue_x": "-10", "blue_y": "135", "type": "2", "value": "2" }, { "id": "6", "yellow_x": "150", "yellow_y": "290", "blue_x": "150", "blue_y": "135", "type": "1", "value": "window" }, { "id": "7", "yellow_x": "300", "yellow_y": "290", "blue_x": "300", "blue_y": "135", "type": "5", "value": "14" }, { "id": "8", "yellow_x": "500", "yellow_y": "290", "blue_x": "370", "blue_y": "135", "type": "1", "value": "door" }, { "id": "9", "yellow_x": "500", "yellow_y": "70", "blue_x": "370", "blue_y": "70", "type": "3", "value": "1" }, { "id": "10", "yellow_x": "500", "yellow_y": "-70", "blue_x": "370", "blue_y": "-70", "type": "1", "value": "door" }, { "id": "11", "yellow_x": "500", "yellow_y": "-280", "blue_x": "370", "blue_y": "-125", "type": "1", "value": "blackboard" }, { "id": "12", "yellow_x": "290", "yellow_y": "-280", "blue_x": "290", "blue_y": "-125", "type": "1", "value": "window" }, { "id": "13", "yellow_x": "150", "yellow_y": "-280", "blue_x": "150", "blue_y": "-125", "type": "2", "value": "3" }, { "id": "14", "yellow_x": "10", "yellow_y": "-280", "blue_x": "10", "blue_y": "-125", "type": "1", "value": "blackboard" }, { "id": "15", "yellow_x": "-130", "yellow_y": "-280", "blue_x": "-130", "blue_y": "-125", "type": "2", "value": "1" }, { "id": "16", "yellow_x": "-270", "yellow_y": "-280", "blue_x": "-270", "blue_y": "-125", "type": "1", "value": "window" }, { "id": "17", "yellow_x": "-410", "yellow_y": "-280", "blue_x": "-410", "blue_y": "-125", "type": "4", "value": "5" }, { "id": "18", "yellow_x": "-550", "yellow_y": "-280", "blue_x": "-550", "blue_y": "-125", "type": "1", "value": "door" }, { "id": "19", "yellow_x": "-775", "yellow_y": "-280", "blue_x": "-600", "blue_y": "-125", "type": "1", "value": "blackboard" }, { "id": "20", "yellow_x": "-775", "yellow_y": "-55", "blue_x": "-600", "blue_y": "-55", "type": "1", "value": "window" }, { "id": "21", "yellow_x": "-775", "yellow_y": "80", "blue_x": "-600", "blue_y": "80", "type": "4", "value": "5" }, { "id": "22", "yellow_x": "-775", "yellow_y": "220", "blue_x": "-600", "blue_y": "220", "type": "2", "value": "3" }, { "id": "23", "yellow_x": "-775", "yellow_y": "365", "blue_x": "-600", "blue_y": "365", "type": "1", "value": "door" }, { "id": "24", "yellow_x": "-775", "yellow_y": "550", "blue_x": "-600", "blue_y": "420", "type": "2", "value": "5" }, { "id": "25", "yellow_x": "-550", "yellow_y": "550", "blue_x": "-550", "blue_y": "420", "type": "1", "value": "window" }, { "id": "26", "yellow_x": "-410", "yellow_y": "550", "blue_x": "-410", "blue_y": "420", "type": "4", "value": "5" }, { "id": "27", "yellow_x": "-270", "yellow_y": "550", "blue_x": "-270", "blue_y": "420", "type": "2", "value": "2" }, { "id": "28", "yellow_x": "-130", "yellow_y": "550", "blue_x": "-130", "blue_y": "420", "type": "1", "value": "door" }, { "id": "29", "yellow_x": "10", "yellow_y": "550", "blue_x": "10", "blue_y": "420", "type": "1", "value": "blackboard" }, { "id": "30", "yellow_x": "150", "yellow_y": "550", "blue_x": "150", "blue_y": "420", "type": "3", "value": "1" }, { "id": "31", "yellow_x": "290", "yellow_y": "550", "blue_x": "290", "blue_y": "420", "type": "1", "value": "window" }, { "id": "32", "yellow_x": "430", "yellow_y": "550", "blue_x": "430", "blue_y": "420", "type": "2", "value": "1" }, { "id": "33", "yellow_x": "570", "yellow_y": "550", "blue_x": "570", "blue_y": "420", "type": "4", "value": "5" }, { "id": "34", "yellow_x": "790", "yellow_y": "550", "blue_x": "630", "blue_y": "420", "type": "1", "value": "blackboard" }, { "id": "35", "yellow_x": "790", "yellow_y": "360", "blue_x": "630", "blue_y": "360", "type": "1", "value": "door" }, { "id": "36", "yellow_x": "790", "yellow_y": "215", "blue_x": "630", "blue_y": "215", "type": "2", "value": "3" }, { "id": "37", "yellow_x": "790", "yellow_y": "70", "blue_x": "630", "blue_y": "70", "type": "5", "value": "43" }, { "id": "38", "yellow_x": "790", "yellow_y": "-75", "blue_x": "630", "blue_y": "-75", "type": "3", "value": "1" }, { "id": "39", "yellow_x": "790", "yellow_y": "-220", "blue_x": "630", "blue_y": "-220", "type": "1", "value": "window" }, { "id": "40", "yellow_x": "790", "yellow_y": "-365", "blue_x": "630", "blue_y": "-365", "type": "2", "value": "1" }, { "id": "41", "yellow_x": "790", "yellow_y": "-550", "blue_x": "630", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "42", "yellow_x": "570", "yellow_y": "-550", "blue_x": "570", "blue_y": "-405", "type": "1", "value": "window" }, { "id": "43", "yellow_x": "430", "yellow_y": "-550", "blue_x": "430", "blue_y": "-405", "type": "2", "value": "2" }, { "id": "44", "yellow_x": "290", "yellow_y": "-550", "blue_x": "290", "blue_y": "-405", "type": "1", "value": "door" }, { "id": "45", "yellow_x": "150", "yellow_y": "-550", "blue_x": "150", "blue_y": "-405", "type": "4", "value": "5" }, { "id": "46", "yellow_x": "10", "yellow_y": "-550", "blue_x": "10", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "47", "yellow_x": "-130", "yellow_y": "-550", "blue_x": "-130", "blue_y": "-405", "type": "1", "value": "window" }, { "id": "48", "yellow_x": "-270", "yellow_y": "-550", "blue_x": "-270", "blue_y": "-405", "type": "1", "value": "door" }, { "id": "49", "yellow_x": "-410", "yellow_y": "-550", "blue_x": "-410", "blue_y": "-405", "type": "2", "value": "2" }, { "id": "50", "yellow_x": "-550", "yellow_y": "-550", "blue_x": "-550", "blue_y": "-405", "type": "1", "value": "blackboard" },
{ "id": "51", "yellow_x": "-690", "yellow_y": "-490", "blue_x": "-690", "blue_y": "-490", "type": "100", "value": "0" }
]
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "7370c8bc-0e6d-4db0-84b1-3d09cb494848",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import pg from './pg'
// [
// {
// "id": 1,
// "time": 3,
// "delay": true
// },
// {
// "id": 2,
// "time": 3,
// "x": -445,
// "y": 193
// },
// {
// "id": 3,
// "time": 3,
// "delay": 0.2
// },
// {
// "id": 4,
// "time": 0,
// "aniname" : "normal"
// },
// {
// "id": 5,
// "time": 1,
// "delay": true
// },
// {
// "id": 6,
// "time": 0,
// "aniname" : "wrong"
// },
// {
// "id": 7,
// "time": 0,
// "audionode" : "sahua"
// }
// ]
class Movement {
loadTween(node, movementList) {
return new Promise((resolve, reject) => {
let tween = cc.tween(node);
movementList.forEach(moment => {
if (moment.delay) this.loadDelay(tween, moment.time);
// if (moment.aniname) this.loadDBArmature(tween, moment);
if (moment.audionode) this.loadAudio(node, tween, moment);
this.loadCCNode(tween, moment);
});
tween.call(() => {
setTimeout(() => { resolve(''); }, 0);
})
tween.start();
});
}
//延迟处
private loadDelay(tween, time) {
tween.delay(time)
}
//拓展cc.node对应的属性处理
private loadCCNode(tween, moment) {
let obj: any = {};
if (moment.delay) return;//有等待不执行其他操作
if (moment.x && moment.x != "" && moment.y && moment.y != "") {
obj.position = cc.v2(moment.x, moment.y);
}
tween.to(moment.time, obj)
}
private loadDBArmature(tween, moment) {
// tween.delay(0)
// tween.call(() => {
// pg.animation.playDragonBone(this.node, moment.aniname);
// })
}
private loadAudio(node, tween, moment) {
tween.delay(0)
tween.call(() => {
let audioNode = node.getChildByName(moment.audionode);
let audioClip = audioNode.getComponent(cc.AudioSource).clip;
cc.audioEngine.play(audioClip, false, 1);
})
}
}
let movement = new Movement();
export default movement;
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "1bc25c74-7629-4b0d-86ce-d0dc86930dab",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
class Emitter {
static instance;
static getInstance() {
if (!Emitter.instance) {
Emitter.instance = new Emitter();
}
return Emitter.instance;
}
_name: any;
_callbacks: any;
constructor(name = "") {
this._name = name;
this._callbacks = {};
return this;
}
on(event, fn) {
if (!this._callbacks[event]) this._callbacks[event] = [];
this._callbacks[event].push(fn);
};
once(event, fn) {
function on() {
this.off(event, on);
fn.apply(this, arguments);
}
on.fn = fn;
this.on(event, on);
};
off(event, fn) {
// all
if (0 == arguments.length) {
this._callbacks = {};
return;
}
// specific event
let callbacks = this._callbacks[event];
if (!callbacks) return;
// remove all handlers
if (1 == arguments.length) {
delete this._callbacks[event];
return;
}
// remove specific handler
let cb;
for (let i = 0; i < callbacks.length; i++) {
cb = callbacks[i];
if (cb === fn || cb.fn === fn) {
callbacks.splice(i, 1);
break;
}
}
return;
}
emit(event, ...args) {
this._callbacks = this._callbacks || {};
// let args = [].slice.call(arguments, 1);
let callbacks = this._callbacks[event];
if (callbacks) {
callbacks = callbacks.slice(0);
for (let i = 0, len = callbacks.length; i < len; ++i) {
callbacks[i].apply(this, args);
}
}
}
listeners(event) {
this._callbacks = this._callbacks || {};
return this._callbacks[event] || [];
};
hasListeners(event) {
return !!this.listeners(event).length;
};
}
let pg = {
logger: {
d: function (str) {
cc.log(str);
return null;
},
i: function (str) {
cc.log(str);
return null;
},
w: function (str) {
cc.warn(str);
return null;
}
},
view: {
//---------------------节点管理------------------------------
//创建节点
createNode() {
let node = new cc.Node();
return node;
},
//添加节点
addChild(item, child, zIndex) {
if (!child) return console.log("addChild error ->请传入子节点");
if (!item) return console.log("addChild error ->请传入父节点");
let node = item.node ? item.node : item;
if (!node) return console.log("addChild error ->请传入父节点");
if (child.parent)
return pg.logger.w("此节点已经有父节点->" + child.name);
if (zIndex >= 0) {
node.addChild(child, zIndex)
} else {
node.addChild(child);
}
return true;
},
//删除子节点
removeChild(item, child) {
if (!item) return pg.logger.w("节点remove失败,传入了错误的item");
let node = item.node ? item.node : item;
if (child.parent && child.parent == node) {
node.removeChild(child);
child.destroy();
}
return true;
},
removeSelf(item) {
if (!item) return pg.logger.w("节点移除失败,传入了错误的item");
let node = item.node ? item.node : item;
node.removeFromParent();
node.destroy();
},
//删除所有子节点
removChildren(item) {
if (!item) return pg.logger.w("节点remove失败,传入了错误的item");
let node = item.node ? item.node : item;
if (!node.parent) return pg.logger.w("节点remove失败,传入了错误的item");
node.removeAllChildren();
return true;
},
//查找节点
find(item, childPath): cc.Node {
if (typeof item == "string") {
childPath = item;
item = null;
}
if (!childPath || childPath == '' || typeof childPath != 'string') return pg.logger.w("findChildByPath error->" + "请传入路径");
let child = null;
if (item) {
let node = item.node ? item.node : item;
if (!node.children || node.children.length == 0) return pg.logger.w("findChild error->" + "找不到此节点,请检查层级路径:" + childPath);
child = cc.find(childPath, node);
} else {
child = cc.find(childPath);
}
if (!child) return pg.logger.w("findChildByPath error->" + "找不到此节点,请检查层级路径:" + childPath);
return child;
},
//--------------------触控事件--------------------------------
//添加监听
touchOn(item, callback, target) {
if (!item) return pg.logger.w("添加按钮响应失败,传入了错误的item");
if (!callback || !target) return pg.logger.w("添加按钮响应失败,传入了空回调");
let node = item.node ? item.node : item;
node.on(cc.Node.EventType.TOUCH_END, callback, target);
return true;
},
//移除监听
touchOff(item, callback, target) {
if (!item) return pg.logger.w("移除按钮响应失败,传入了错误的item");
if (!callback || !target) return pg.logger.w("移除按钮响应失败,传入了空回调");
let node = item.node ? item.node : item;
if (!node || !node.parent) return pg.logger.w("节点已移除");
node.off(cc.Node.EventType.TOUCH_END, callback, target);
return true;
},
//是否允许点击
touchEnable(item, isEnable) {
if (!item) return pg.logger.w("设置按钮响应失败,传入了错误的item");
let node = item.node ? item.node : item;
if (!node) return pg.logger.w("设置按钮响应失败,传入了错误的item");
let btn = node.getComponent(cc.Button);
if (!btn) return pg.logger.w("当前节点没有添加button->" + node.name);
btn.interactable = isEnable;
return true;
},
//-------------------渲染相关---------------------------------
//显示隐藏
visible(item, isVisible) {
if (!item) return pg.logger.w("节点显示失败,传入了错误的item");
let node = item.node ? item.node : item;
if (!node || !node.parent) return pg.logger.w("节点已移除");
node.active = isVisible;
return true;
},
//更换图片
setImg(item, res) {
return new Promise((resolve, reject) => {
if (!item) return pg.logger.w("图片更换失败,传入了错误的item");
if (!res) return pg.logger.w("图片更换失败,传入了错误的res");
pg.load.loadImg(res).then((spriteFrame: cc.SpriteFrame) => {
if (!cc.isValid(item)) return pg.logger.i("节点已销毁");
let node = item.node ? item.node : item;
if (!cc.isValid(node)) return pg.logger.i("节点已销毁");
let component = node.getComponent(cc.Sprite);
let { width, height } = spriteFrame.getRect();
component.spriteFrame = spriteFrame;
resolve({ width, height });
})
})
},
setNetImg(item, res) {
return new Promise((resolve, reject) => {
if (!item) return pg.logger.w("图片更换失败,传入了错误的item");
let node = item.node ? item.node : item;
if (!res) {
if (node) node.active = false;
return pg.logger.w("图片更换失败,传入了错误的res");
}
if (!node) return pg.logger.w("图片更换失败,传入了错误的item");
if (node.net_url == res) return;
let w = node.width;
let h = node.height;
node.active = false;//
pg.load.loadNetImg(res).then((texture: cc.Texture2D) => {
if (!cc.isValid(node)) return pg.logger.i("节点已销毁");
let nw = node.width = texture.width;
let nh = node.height = texture.height;
let component = node.getComponent(cc.Sprite);
let spriteFrame = new cc.SpriteFrame(texture);
component.spriteFrame = spriteFrame;
node.net_url = res;
if (!cc.isValid(node)) return pg.logger.i("节点已销毁");
if (!node) return pg.logger.w("节点已销毁");
node.width = w;
node.height = h;
node.active = true;
resolve({ w: nw, h: nh });
})
})
},
switchMaterial(item, id0 = 0, id1 = 1) {
let material0 = item.getMaterial(id0);
let material1 = item.getMaterial(id1);
item.setMaterial(id0, material1);
item.setMaterial(id1, material0);
},
//更改文字
setString(item, text, count = 0) {
if (!item) return pg.logger.w("节点text失败,传入了错误的item");
if (count > 0) {
let parse_str = function (str, count) {
if (!str) return "";
var segmants = str.split('+');
str = segmants.join('');
var len = 0;
var idx = 0;
for (var i = 0; i < str.length; i++) {
var p = /[^x00-xff]/g;
var a = str.charAt(i);
if (p.test(a)) {
len += 2;
idx++;
}
else {
len += 1;
idx++;
}
if (len >= count * 2)
break;
}
return str.substr(0, idx);
}
text = parse_str(text, count);
}
let node = item.node ? item.node : item;
if (!node) return;
let component = node.getComponent(cc.Label);//组件功能 非node的功能
component.string = text;
return true;
},
//更变颜色
setColor(item, color, outlineWidth = -1) {
if (!item) return pg.logger.w("setColor warn->传入了错误的item");
let RGB = this.colorRgb(color);
if (!RGB || RGB.length == 0) return pg.logger.w("color ->传入了错误的color");
item.color = new cc.Color(RGB[0], RGB[1], RGB[2]);
if (outlineWidth < 0) return;
let LabelOutline = item.getComponent(cc.LabelOutline);
if (!LabelOutline) return pg.logger.w("LabelOutline warn->未添加描边");
LabelOutline.width = outlineWidth;
},
colorRgb(color) {
var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
var sColor = color;
if (sColor && reg.test(sColor)) {
if (sColor.length === 4) {
var sColorNew = "#";
for (var i = 1; i < 4; i += 1) {
sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
}
sColor = sColorNew;
}
//处理六位的颜色值
var sColorChange = [];
for (var i = 1; i < 7; i += 2) {
sColorChange.push(parseInt("0x" + sColor.slice(i, i + 2)));
}
return sColorChange;
} else {
return sColor;
}
},
//-------------------动画播放--------------------------------
playSpineAnimation(item, aniName, loop) {
if (!item || !cc.isValid(item)) return pg.logger.w("动画播放失败,传入了错误的item");
if (!aniName) return pg.logger.w("动画播放失败,传入了错误的aniName");
let node = item.node ? item.node : item;
if (!cc.isValid(node)) return pg.logger.w("节点已销毁");
let skl = node.getComponent(sp.Skeleton);
skl.setAnimation(0, aniName, loop);
return skl;
},
playDBAnimation(item, aniName, loop = -1) {
if (!item || !cc.isValid(item)) return pg.logger.w("动画播放失败,传入了错误的item");
if (!aniName) return pg.logger.w("动画播放失败,传入了错误的aniName");
let node = item.node ? item.node : item;
if (!cc.isValid(node)) return pg.logger.w("节点已销毁");
let skl: dragonBones.ArmatureDisplay = node.getComponent(dragonBones.ArmatureDisplay);
skl.playAnimation(aniName, loop);
return skl;
},
clone(node: cc.Node) {
return cc.instantiate(node)
}
},
load: {
//资源加载
// loadBundle: function (bundleName) {
// return new Promise((resolve, reject) => {
// // let hallBundle = cc.assetManager.getBundle(`hall`);
// // hallBundle.releaseAll();
// // cc.assetManager.removeBundle(hallBundle);
// let bundle = cc.assetManager.getBundle(bundleName);
// if (bundle) return resolve('');
// cc.assetManager.loadBundle(bundleName, (err, bundle) => {
// if (err) return cc.error(err);
// resolve(bundle);
// });
// });
// },
loadRes: function (res, type, bundleName) {
//此处需要二次封装,新的存在assetbundle
return new Promise((resolve, reject) => {
cc.loader.loadRes(res, type, (err, data) => {
if (err && !data) return resolve(pg.logger.d('loading loadRes error-> ' + res));
resolve(data);
});
})
},
loadImg: function (url) {
return new Promise((resolve, reject) => {
this.loadRes(url, cc.SpriteFrame).then((data) => {
if (!data || data.length == 0) return;
resolve(data);
})
})
},
loadPrefab: function (path = "") {
return new Promise((resolve, reject) => {
let url = "/prefabs/" + path;
this.loadRes(url, cc.Prefab).then((data) => {
if (!data || data.length == 0) return reject();
return resolve(cc.instantiate(data));
})
})
},
loadNetImg: function (url) {
return new Promise((resolve, reject) => {
cc.loader.load({ url }, (err, texture) => {
if (err && !texture) return resolve(pg.logger.w('loading loadRes warn-> ' + texture));
resolve(texture);
});
})
},
},
localStorage: {
//本地存储
setItem: function (key, val) {
cc.sys.localStorage.setItem(key, val);
},
getItem: function (key, defVal) {
return cc.sys.localStorage.getItem(key) || defVal;
}
},
http: {
//http访问
send: function (type, url, data, callback) {
return new Promise((resolve) => {
return setTimeout(() => {
return resolve({ status: 200 });
}, 100 + Math.random() * 300);
let xhr = cc.loader.getXMLHttpRequest();
xhr.timeout = 5000;
xhr.responseType = "text";
xhr.open(type, url, true);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.onreadystatechange = () => {
if (xhr.readyState !== 4) return;
if (xhr.status >= 200 && xhr.status < 300) {
try {
let resp = xhr.responseText;
pg.logger.d("resp->" + JSON.stringify(resp));
callback(resp);
resolve(resp);
} catch (e) {
}
}
else {
}
};
xhr.onerror = (e) => {
pg.logger.w("onerror->" + url);
};
xhr.ontimeout = (e) => {
pg.logger.w("ontimeout->" + url);
};
xhr.send(data);
})
}
},
audio: {
stopAudio(audioId) {
if (!audioId) return;
cc.audioEngine.stopEffect(audioId);
}
},
hw: {
playLocalAudio(audioName, loop = false) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, loop);
resolve(id);
})
}
},
event: Emitter.getInstance()
};
export default pg;
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "dcef5d00-e8d0-49a5-81dd-346aec8accfc",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import pg from "./pg";
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
// LIFE-CYCLE CALLBACKS:
private player: cc.Node;
private robot: cc.Node;
onLoad() {
this.player = pg.view.find(this, "player");
this.robot = pg.view.find(this, "robot");
pg.event.on("player_point_update", (data) => {
this.updatePlayer(data.isRobot, data.num);
this.updateRobot(data.isRobot, data.num);
})
}
protected onDestroy(): void {
pg.event.off("player_point_update");
}
updatePlayer(isRobot, num) {
if (!isRobot && num >= 1 && num <= 6) {
let icon_player = pg.view.find(this.player, "icon_player");
let icon_player_dice = pg.view.find(this.player, "icon_player_dice");
pg.view.visible(icon_player, false);
pg.view.visible(icon_player_dice, true);
for (let i = 1; i <= 6; i++) {
let item = pg.view.find(icon_player_dice, "icon_" + i);
pg.view.visible(item, i == num);
}
} else {
let icon_player = pg.view.find(this.player, "icon_player");
let icon_player_dice = pg.view.find(this.player, "icon_player_dice");
pg.view.visible(icon_player, true);
pg.view.visible(icon_player_dice, false);
}
}
updateRobot(isRobot, num) {
if (isRobot && num >= 1 && num <= 6) {
let icon_robot = pg.view.find(this.robot, "icon_robot");
let icon_robot_dice = pg.view.find(this.robot, "icon_robot_dice");
pg.view.visible(icon_robot, false);
pg.view.visible(icon_robot_dice, true);
for (let i = 1; i <= 6; i++) {
let item = pg.view.find(icon_robot_dice, "icon_" + i);
pg.view.visible(item, i == num);
}
} else {
let icon_robot = pg.view.find(this.robot, "icon_robot");
let icon_robot_dice = pg.view.find(this.robot, "icon_robot_dice");
pg.view.visible(icon_robot, true);
pg.view.visible(icon_robot_dice, false);
}
}
start() {
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "32f0c5ef-c279-403b-9f28-85405210208e",
"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
import pg from "./pg";
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
// LIFE-CYCLE CALLBACKS:
private text_tip: cc.Node;
private btn_audio_start: cc.Node;
private btn_audio_stop: cc.Node;
private speak_ske: cc.Node;
private bg_goodjob: cc.Node;
private bg_tryagain: cc.Node;
onLoad() {
this.text_tip = pg.view.find(this, "text_tip");
this.btn_audio_start = pg.view.find(this, "btn_audio_start");
this.btn_audio_stop = pg.view.find(this, "btn_audio_stop");
this.speak_ske = pg.view.find(this, "speak_ske");
this.bg_goodjob = pg.view.find(this, "bg_goodjob");
this.bg_tryagain = pg.view.find(this, "bg_tryagain");
pg.view.visible(this.text_tip, false);
pg.view.visible(this.btn_audio_start, false);
pg.view.visible(this.btn_audio_stop, false);
pg.view.visible(this.speak_ske, false);
pg.view.visible(this.bg_goodjob, false);
pg.view.visible(this.bg_tryagain, false);
pg.view.touchOn(this.btn_audio_start, this.onTouchStart, this);
pg.view.touchOn(this.btn_audio_stop, this.onTouchStop, this);
this.tryCount = 0;
pg.event.on("speak_open", (data) => {
cc.log("speak_open");
this.tryCount = 0;
this.open(data)
})
}
protected onDestroy(): void {
pg.event.off("speak_open");
cc.Tween.stopAll();
this.unscheduleAllCallbacks();
}
private tryCount: number;
private val: string;
open(cell) {
if (cell) {
this.val = cell.value;
}
pg.view.visible(this.text_tip, true);
pg.view.visible(this.btn_audio_start, true);
pg.view.visible(this.btn_audio_stop, false);
pg.view.visible(this.speak_ske, true);
pg.view.visible(this.bg_goodjob, false);
pg.view.visible(this.bg_tryagain, false);
}
close() {
pg.view.visible(this.text_tip, false);
pg.view.visible(this.btn_audio_start, false);
pg.view.visible(this.btn_audio_stop, false);
pg.view.visible(this.speak_ske, false);
pg.view.visible(this.bg_goodjob, false);
pg.view.visible(this.bg_tryagain, false);
}
onTouchStart() {
pg.view.playDBAnimation(this.speak_ske, "newAnimation", 0);
pg.view.visible(this.btn_audio_start, false);
pg.view.visible(this.btn_audio_stop, true);
let win: any = window;
win.courseware && win.courseware.startTest(this.val); //开始录音
}
onTouchStop() {
pg.view.visible(this.btn_audio_start, false);
pg.view.visible(this.btn_audio_stop, false);
let win: any = window;
if (!win.courseware) {
this.scheduleOnce(() => {
let data = {
"dtLastResponse": "2021-09-17 13:36:26:109",
"refText": "I haven't found anything out about him yet.",
"recordId": "6144295213f0a2200000ed93",
"eof": 1,
"result": {
"pronunciation": 25,
"resource_version": "3.1.0",
"fluency": 60,
"rhythm": 90,
"kernel_version": "5.2.4",
"overall": 75,
"integrity": 100,
"duration": "6.779",
"rear_tone": "fall",
"speed": 96,
},
"tokenId": "6144295408558b08dd000001",
"applicationId": "154838659000009e"
};
this.onRealStop(data.result.overall);
}, 0.1)
} else {
win.courseware && win.courseware.stopTest((data: any) => {
data = JSON.parse(data);
this.onRealStop(data.result.overall);
});
}
}
onRealStop(score) {
let db = pg.view.playDBAnimation(this.speak_ske, "newAnimation", 1);
db.once(dragonBones.EventObject.COMPLETE, () => {
pg.view.visible(this.text_tip, false);
pg.view.visible(this.btn_audio_start, false);
pg.view.visible(this.btn_audio_stop, false);
pg.view.visible(this.speak_ske, false);
pg.view.visible(this.bg_goodjob, false);
pg.view.visible(this.bg_tryagain, false);
if (score > 50) {
pg.hw.playLocalAudio("goodjob");
pg.view.visible(this.bg_goodjob, true);
this.scheduleOnce(() => {
this.close();
pg.event.emit("speak_success");
}, 2.5)
} else {
if (this.tryCount >= 1) {
pg.view.visible(this.bg_tryagain, true);
pg.hw.playLocalAudio("tryagain");
this.tryCount++;
//需要处理提供两次机会。重置一次到open状态
this.scheduleOnce(() => {
this.close();
pg.event.emit("speak_fail");
}, 2.5)
} else {
pg.view.visible(this.bg_tryagain, true);
pg.hw.playLocalAudio("tryagain");
this.tryCount++;
this.scheduleOnce(() => {
this.open(null);
}, 2.5)
}
}
})
}
start() {
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "33705c9d-cb1e-4b92-88ff-d157a7d79cf8",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import pg from "./pg";
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
// LIFE-CYCLE CALLBACKS:
onLoad() {
this.initView();
let panel_gray = pg.view.find(this, "panel_gray");
let btn_start = pg.view.find(this, "btn_start");
let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs");
pg.view.touchOn(btn_start, this.onTouchStart, this);
pg.view.touchOn(btn_restart, this.onTouchRestart, this);
pg.event.on("game_over", () => {
this.onGameOver();
})
}
protected onDestroy(): void {
pg.event.off("game_over");
cc.Tween.stopAll();
this.unscheduleAllCallbacks();
}
initView() {
let panel_gray = pg.view.find(this, "panel_gray");
let btn_start = pg.view.find(this, "btn_start");
let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs");
pg.view.visible(panel_gray, true);
pg.view.visible(btn_start, true);
}
onTouchStart() {
pg.hw.playLocalAudio("vs");
let panel_gray = pg.view.find(this, "panel_gray");
let btn_start = pg.view.find(this, "btn_start");
let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs");
pg.view.visible(panel_gray, true);
pg.view.visible(btn_start, false);
pg.view.visible(bg_vs, true);
if (bg_vs) {
bg_vs.y = 1000;
cc.tween(bg_vs).to(0.2, { y: 0 }).start();
}
pg.event.emit("game_start");
this.scheduleOnce(() => {
pg.view.visible(bg_vs, false);
pg.view.visible(panel_gray, false);
}, 2)
}
onTouchRestart() {
pg.hw.playLocalAudio("vs");
let panel_gray = pg.view.find(this, "panel_gray");
let btn_start = pg.view.find(this, "btn_start");
let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs");
pg.view.visible(panel_gray, true);
pg.view.visible(btn_start, false);
pg.view.visible(btn_restart, false);
pg.view.visible(bg_vs, true);
this.scheduleOnce(() => {
pg.view.visible(bg_vs, false);
pg.view.visible(panel_gray, false);
pg.view.visible(btn_restart, false);
pg.event.emit("game_start");
}, 2)
}
onGameOver() {
let panel_gray = pg.view.find(this, "panel_gray");
let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs");
pg.view.visible(panel_gray, true);
pg.view.visible(btn_restart, true);
}
update(dt) { }
}
{
"ver": "1.0.8",
"uuid": "13dcba6f-c876-4e1c-a8f5-b3a0547ccb11",
"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
import pg from "./pg";
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
// LIFE-CYCLE CALLBACKS:
private bg_1: cc.Node;
private bg_2: cc.Node;
private bg_3: cc.Node;
private bg_4: cc.Node;
private bg_5: cc.Node;
private bg_6: cc.Node;
private bg_dice1: cc.Node;
private bg_dice2: cc.Node;
private bg_dice3: cc.Node;
private bg_dice4: cc.Node;
private bg_dice5: cc.Node;
private bg_dice6: cc.Node;
onLoad() {
this.bg_1 = pg.view.find(this, "bg_1");
this.bg_2 = pg.view.find(this, "bg_2");
this.bg_3 = pg.view.find(this, "bg_3");
this.bg_4 = pg.view.find(this, "bg_4");
this.bg_5 = pg.view.find(this, "bg_5");
this.bg_6 = pg.view.find(this, "bg_6");
this.bg_dice1 = pg.view.find(this, "bg_dice1");
this.bg_dice2 = pg.view.find(this, "bg_dice2");
this.bg_dice3 = pg.view.find(this, "bg_dice3");
this.bg_dice4 = pg.view.find(this, "bg_dice4");
this.bg_dice5 = pg.view.find(this, "bg_dice5");
this.bg_dice6 = pg.view.find(this, "bg_dice6");
}
protected onDestroy(): void {
cc.Tween.stopAll();
this.unscheduleAllCallbacks();
}
private playing: boolean;
private num: number;
startAni() {
this.playing = true;
this.num = null;
}
stopAni(number) {
return new Promise((resolve, reject) => {
this.num = number;
this.playing = false;
this.scheduleOnce(() => {
resolve('');
}, 1.5)
});
}
start() {
}
updatePoint(number) {
if (!number) return;
if (this.num) {
for (let i = 1; i <= 6; i++) {
pg.view.visible(this[`bg_${i}`], false)
}
for (let i = 1; i <= 6; i++) {
pg.view.visible(this[`bg_dice${i}`], i == number)
}
} else {
for (let i = 1; i <= 6; i++) {
pg.view.visible(this[`bg_${i}`], i == number)
}
for (let i = 1; i <= 6; i++) {
pg.view.visible(this[`bg_dice${i}`], false)
}
}
}
update(dt) {
if (!this.node || !this.node.active) return;
if (this.playing) {
let i = Math.floor(Math.random() * 6) + 1;
this.updatePoint(i);
} else {
this.updatePoint(this.num);
}
}
}
{
"ver": "1.0.8",
"uuid": "96a89d6c-d01a-480c-8b3b-38cf93279c5c",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
export function getPosByAngle(angle, len) {
const radian = angle * Math.PI / 180;
const x = Math.sin(radian) * len;
const y = Math.cos(radian) * len;
return { x, y };
}
export function getAngleByPos(px, py, mx, my) {
const x = Math.abs(px - mx);
const y = Math.abs(py - my);
const z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
const cos = y / z;
const radina = Math.acos(cos); // 用反三角函数求弧度
let angle = Math.floor(180 / (Math.PI / radina) * 100) / 100; // 将弧度转换成角度
if (mx > px && my > py) {// 鼠标在第四象限
angle = 180 - angle;
}
if (mx === px && my > py) {// 鼠标在y轴负方向上
angle = 180;
}
if (mx > px && my === py) {// 鼠标在x轴正方向上
angle = 90;
}
if (mx < px && my > py) {// 鼠标在第三象限
angle = 180 + angle;
}
if (mx < px && my === py) {// 鼠标在x轴负方向
angle = 270;
}
if (mx < px && my < py) {// 鼠标在第二象限
angle = 360 - angle;
}
// console.log('angle: ', angle);
return angle;
}
export function exchangeNodePos(baseNode, targetNode) {
return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)));
}
export function RandomInt(a, b = 0) {
let max = Math.max(a, b);
let min = Math.min(a, b);
return Math.floor(Math.random() * (max - min) + min);
}
export function randomSortByArr(arr) {
const newArr = [];
const tmpArr = arr.concat();
while (tmpArr.length > 0) {
const randomIndex = Math.floor(tmpArr.length * Math.random());
newArr.push(tmpArr[randomIndex]);
tmpArr.splice(randomIndex, 1);
}
return newArr;
}
export async function asyncTweenTo(node, duration, obj, ease = undefined) {
return new Promise((resolve, reject) => {
cc.tween(node)
.to(duration, obj, ease)
.call(() => {
resolve();
})
.start();
});
}
export async function asyncTweenBy(node, duration, obj, ease = undefined) {
return new Promise((resolve, reject) => {
cc.tween(node)
.by(duration, obj, ease)
.call(() => {
resolve();
})
.start();
});
}
export async function asyncPlayDragonBoneAnimation(node, animationName, time = 1, onFrameEvent) {
return new Promise((resolve, reject) => {
node.getComponent(dragonBones.ArmatureDisplay)
.once(dragonBones.EventObject.COMPLETE, () => {
resolve();
});
node.getComponent(dragonBones.ArmatureDisplay)
.on(dragonBones.EventObject.FRAME_EVENT, ({ name }) => {
if (onFrameEvent && typeof (onFrameEvent) == 'function') {
onFrameEvent(name);
}
});
node.getComponent(dragonBones.ArmatureDisplay)
.playAnimation(animationName, time);
});
}
export async function asyncPlayEffectByUrl(url, loop = false) {
return new Promise((resolve, reject) => {
cc.assetManager.loadRemote(url, (err, clip) => {
console.log(clip);
cc.audioEngine.playEffect(clip, loop);
resolve();
});
});
}
export async function jelly(node) {
return new Promise((resolve, reject) => {
cc.tween(node)
.to(0.1, { scaleX: 0.9, scaleY: 1.1 })
.to(0.1, { scaleX: 1.1, scaleY: 0.9 })
.to(0.1, { scaleX: 1, scaleY: 1 })
.call(resolve)
.start();
});
}
export async function asyncDelay(time) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve();
}, time * 1000);
})
}
export async function showFireworks(baseNode, nodeList, pos = cc.v2(0, 0), side = cc.v2(0, 100), range = 50, number = 100) {
new Array(number).fill(' ').forEach(async (_, i) => {
let rabbonNode = new cc.Node();
rabbonNode.parent = baseNode;
rabbonNode.x = pos.x;
rabbonNode.y = pos.y;
rabbonNode.angle = 60 * Math.random() - 30;
let node = cc.instantiate(nodeList[RandomInt(nodeList.length)]);
node.parent = rabbonNode;
node.active = true;
node.x = 0;
node.y = 0;
node.angle = 0;
const rate = Math.random();
const angle = Math.PI * (Math.random() * 2 - 1);
await asyncTweenBy(rabbonNode, 0.3, {
x: side.x * rate + Math.cos(angle) * range * rate,
y: side.y * rate + Math.sin(angle) * range * rate
}, {
easing: 'quadIn'
});
cc.tween(rabbonNode)
.by(8, { y: -2000 })
.start();
rabbonFall(rabbonNode);
await asyncDelay(Math.random());
cc.tween(node)
.by(0.15, { x: -10, angle: -10 })
.by(0.3, { x: 20, angle: 20 })
.by(0.15, { x: -10, angle: -10 })
.union()
.repeatForever()
.start();
cc.tween(rabbonNode)
.delay(5)
.to(0.3, { opacity: 0 })
.call(() => {
node.stopAllActions();
node.active = false;
node.parent = null;
node = null;
})
.start();
});
}
async function rabbonFall(node) {
const time = 1 + Math.random();
const offsetX = RandomInt(-200, 200) * time;
await asyncTweenBy(node, time, { x: offsetX, angle: offsetX * 60 / 200 });
rabbonFall(node);
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "776ac76b-ef29-4210-a477-c181c1af1d59",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8eaf41ce-c520-4978-9834-076f20f33646",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1200,
"platformSettings": {},
"subMetas": {
"bg_bg": {
"ver": "1.0.4",
"uuid": "976960db-8ac1-41c2-9050-602f6d791e48",
"rawTextureUuid": "8eaf41ce-c520-4978-9834-076f20f33646",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 1200,
"rawWidth": 1920,
"rawHeight": 1200,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a24228a4-5f1a-4939-bcf3-6ed7a22ac702",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 350,
"height": 351,
"platformSettings": {},
"subMetas": {
"bg_dice-bg": {
"ver": "1.0.4",
"uuid": "3a2ea461-1506-4faf-a852-08c87aac2891",
"rawTextureUuid": "a24228a4-5f1a-4939-bcf3-6ed7a22ac702",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 350,
"height": 351,
"rawWidth": 350,
"rawHeight": 351,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "089991e2-2988-47bb-b19b-a9d55aa3238c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_dice1": {
"ver": "1.0.4",
"uuid": "19da5c20-7e1f-42fb-8edb-898b7371262f",
"rawTextureUuid": "089991e2-2988-47bb-b19b-a9d55aa3238c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 10,
"trimY": 0,
"width": 274,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "198f1af1-4c97-44cb-be66-2125c1befda5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_dice2": {
"ver": "1.0.4",
"uuid": "ffca7c76-c97f-432a-81d2-469a7a93b538",
"rawTextureUuid": "198f1af1-4c97-44cb-be66-2125c1befda5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 10,
"trimY": 0,
"width": 274,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "dffa3ad6-498e-47ab-a26a-637602de0cb1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_dice3": {
"ver": "1.0.4",
"uuid": "07b2bd9f-b54e-42a5-83d8-04af1f4ebd05",
"rawTextureUuid": "dffa3ad6-498e-47ab-a26a-637602de0cb1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 10,
"trimY": 0,
"width": 274,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "71a3bb87-ab83-401c-b66c-62cf6bbfb156",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_dice4": {
"ver": "1.0.4",
"uuid": "da8e0460-6364-4726-8780-04f18035c161",
"rawTextureUuid": "71a3bb87-ab83-401c-b66c-62cf6bbfb156",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 10,
"trimY": 0,
"width": 274,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "26725ce3-2944-4b84-947a-a6bcf5d9f8cf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_dice5": {
"ver": "1.0.4",
"uuid": "8b7e7021-b368-4800-b96c-ec8258abbc9d",
"rawTextureUuid": "26725ce3-2944-4b84-947a-a6bcf5d9f8cf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 10,
"trimY": 0,
"width": 274,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7dc894f6-7957-4a33-9c3a-19a4cb1ec7c3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_dice6": {
"ver": "1.0.4",
"uuid": "fa4fb3d5-cb81-4fe1-8b6f-abd13f4176ff",
"rawTextureUuid": "7dc894f6-7957-4a33-9c3a-19a4cb1ec7c3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 10,
"trimY": 0,
"width": 274,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e3cc9c70-7b1c-4ba2-b6ff-9034f4c785fb",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 815,
"height": 488,
"platformSettings": {},
"subMetas": {
"bg_goodjob": {
"ver": "1.0.4",
"uuid": "cdcc23e2-2871-4058-9cc0-c4214b80ebcd",
"rawTextureUuid": "e3cc9c70-7b1c-4ba2-b6ff-9034f4c785fb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 815,
"height": 488,
"rawWidth": 815,
"rawHeight": 488,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "513e3122-5a37-4002-a76a-55eeeeb4378b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 803,
"height": 333,
"platformSettings": {},
"subMetas": {
"bg_lose": {
"ver": "1.0.4",
"uuid": "615c6080-6d29-49cb-8604-18c096288d0b",
"rawTextureUuid": "513e3122-5a37-4002-a76a-55eeeeb4378b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 803,
"height": 333,
"rawWidth": 803,
"rawHeight": 333,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f9165c7c-8da4-4091-93ad-7a36a9226516",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1200,
"platformSettings": {},
"subMetas": {
"bg_map": {
"ver": "1.0.4",
"uuid": "a24ec5cf-6862-4cb7-adfd-e1077cf939ae",
"rawTextureUuid": "f9165c7c-8da4-4091-93ad-7a36a9226516",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -34,
"offsetY": -8,
"trimX": 120,
"trimY": 40,
"width": 1612,
"height": 1136,
"rawWidth": 1920,
"rawHeight": 1200,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8624a6de-7a80-42e3-ad98-715901d5d93c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 803,
"height": 333,
"platformSettings": {},
"subMetas": {
"bg_tryagain": {
"ver": "1.0.4",
"uuid": "3a265934-0558-4845-909a-a7c0558dc098",
"rawTextureUuid": "8624a6de-7a80-42e3-ad98-715901d5d93c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 803,
"height": 333,
"rawWidth": 803,
"rawHeight": 333,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e004b7f1-de80-4fa6-9a3d-9d70c3f0e573",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 415,
"platformSettings": {},
"subMetas": {
"bg_vs": {
"ver": "1.0.4",
"uuid": "15931dc2-2400-4794-9b4b-629eb9087922",
"rawTextureUuid": "e004b7f1-de80-4fa6-9a3d-9d70c3f0e573",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 415,
"rawWidth": 1920,
"rawHeight": 415,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "aa105812-67ac-454a-bdbc-6fe1574c5999",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 815,
"height": 488,
"platformSettings": {},
"subMetas": {
"bg_win": {
"ver": "1.0.4",
"uuid": "677e271f-5c8c-407a-b434-6c13aa1ab8d0",
"rawTextureUuid": "aa105812-67ac-454a-bdbc-6fe1574c5999",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 815,
"height": 488,
"rawWidth": 815,
"rawHeight": 488,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "24cd8beb-9777-4e9e-a4a3-51c542e5f617",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 229,
"height": 145,
"platformSettings": {},
"subMetas": {
"btn_audio-start": {
"ver": "1.0.4",
"uuid": "fa42d46c-df55-42c9-a024-f7aa098f83ba",
"rawTextureUuid": "24cd8beb-9777-4e9e-a4a3-51c542e5f617",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 229,
"height": 145,
"rawWidth": 229,
"rawHeight": 145,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "28867559-08bc-438c-9877-9c02191b3ea5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 229,
"height": 145,
"platformSettings": {},
"subMetas": {
"btn_audio-stop": {
"ver": "1.0.4",
"uuid": "b9c72757-521a-44ca-a9bd-83ca4980cc97",
"rawTextureUuid": "28867559-08bc-438c-9877-9c02191b3ea5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 229,
"height": 145,
"rawWidth": 229,
"rawHeight": 145,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d4701b0d-100a-49ba-bed2-40c0b71e6406",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 336,
"height": 154,
"platformSettings": {},
"subMetas": {
"btn_dice-stop": {
"ver": "1.0.4",
"uuid": "12abcfb6-a56a-4b91-9398-bf9e97b3eb09",
"rawTextureUuid": "d4701b0d-100a-49ba-bed2-40c0b71e6406",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 336,
"height": 154,
"rawWidth": 336,
"rawHeight": 154,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9901bf44-bc64-4b2e-9661-dce2b912e751",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 485,
"height": 243,
"platformSettings": {},
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "2534f01e-9d4d-4f96-9974-0b6b8c10f5bb",
"rawTextureUuid": "9901bf44-bc64-4b2e-9661-dce2b912e751",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 485,
"height": 243,
"rawWidth": 485,
"rawHeight": 243,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3ea9570e-91ee-4bae-b4c3-fe9941eb2fdb",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 112,
"height": 119,
"platformSettings": {},
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "b12234bf-e10f-4079-834b-7a0fde951393",
"rawTextureUuid": "3ea9570e-91ee-4bae-b4c3-fe9941eb2fdb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 112,
"height": 119,
"rawWidth": 112,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5238aeb1-9a41-4933-931f-df9e13297720",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 485,
"height": 243,
"platformSettings": {},
"subMetas": {
"btn_start": {
"ver": "1.0.4",
"uuid": "af364807-6c17-45d5-b6c5-f7f6ae29e830",
"rawTextureUuid": "5238aeb1-9a41-4933-931f-df9e13297720",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 39,
"trimY": 0,
"width": 407,
"height": 243,
"rawWidth": 485,
"rawHeight": 243,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "7cedac60-ba18-4fa0-bc89-c1c454f9e05a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"name":"speak","version":"5.5","frameRate":24,"armature":[{"name":"Armature","animation":[{"name":"newAnimation","frame":[],"ik":[],"duration":18,"slot":[{"name":"椭圆_11","colorFrame":[{"tweenEasing":0,"duration":18},{"duration":0,"color":{"aM":0}}],"displayFrame":[]},{"name":"椭圆_11_拷贝","colorFrame":[{"tweenEasing":0,"duration":18},{"duration":0,"color":{"aM":12}}],"displayFrame":[]},{"name":"组_1","colorFrame":[],"displayFrame":[]}],"bone":[{"name":"root","rotateFrame":[],"scaleFrame":[],"translateFrame":[]},{"name":"big","rotateFrame":[],"scaleFrame":[{"duration":18,"tweenEasing":0},{"duration":0,"x":1.7,"y":1.7}],"translateFrame":[]},{"name":"small","rotateFrame":[],"scaleFrame":[{"duration":18,"tweenEasing":0},{"duration":0,"x":1.7,"y":1.7}],"translateFrame":[]}],"playTimes":0,"ffd":[]}],"slot":[{"name":"椭圆_11","color":{},"parent":"big"},{"name":"椭圆_11_拷贝","color":{},"z":1,"parent":"small"},{"name":"组_1","color":{},"z":2,"parent":"root"}],"skin":[{"name":"","slot":[{"name":"椭圆_11","display":[{"name":"提示/椭圆_11","transform":{"x":1,"y":-0.5,"skX":-90,"skY":-90},"type":"image","path":"提示/椭圆_11"}]},{"name":"椭圆_11_拷贝","display":[{"name":"提示/椭圆_11_拷贝","transform":{"skX":180,"skY":180},"type":"image","path":"提示/椭圆_11_拷贝"}]},{"name":"组_1","display":[{"name":"提示/组_1","transform":{"x":1,"y":5.5},"type":"image","path":"提示/组_1"}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"ik":[],"frameRate":24,"bone":[{"name":"root","transform":{}},{"name":"big","transform":{"x":-0.5,"y":-1,"skX":90,"skY":90},"parent":"root"},{"name":"small","transform":{"skX":180,"skY":180},"parent":"root"}],"type":"Armature","aabb":{"x":-137.5,"height":278,"y":-139,"width":275}}],"isGlobal":0}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "2d206cd0-cb89-49dd-883f-d1fcfde71db2",
"subMetas": {}
}
\ No newline at end of file
{"name":"speak","SubTexture":[{"name":"提示/椭圆_11","x":1,"height":278,"y":1,"width":275},{"name":"提示/椭圆_11_拷贝","x":1,"height":225,"y":281,"width":222},{"name":"提示/组_1","x":225,"height":184,"y":281,"width":124}],"imagePath":"speak_tex.png","height":512,"width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "30ea8b2d-195a-4771-9473-8473e978e6ac",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ae3457cd-6bd2-4ead-b3e0-8e99a3d65046",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 512,
"platformSettings": {},
"subMetas": {
"speak_tex": {
"ver": "1.0.4",
"uuid": "93e42244-6774-461d-86b4-42e7545feb17",
"rawTextureUuid": "ae3457cd-6bd2-4ead-b3e0-8e99a3d65046",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -81,
"offsetY": 2.5,
"trimX": 1,
"trimY": 1,
"width": 348,
"height": 505,
"rawWidth": 512,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "f21339cc-58b6-47bd-b701-7d5cab49ec53",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7a305826-0fed-4051-9f16-5542637cc8da",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 36,
"height": 24,
"platformSettings": {},
"subMetas": {
"bg_sahua": {
"ver": "1.0.4",
"uuid": "95a1b983-981a-4b0a-854c-7cc38cd2f9d6",
"rawTextureUuid": "7a305826-0fed-4051-9f16-5542637cc8da",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 36,
"height": 24,
"rawWidth": 36,
"rawHeight": 24,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "cdb6e85a-bed4-4ba5-8447-34a13ff7b316",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "655f5267-8e80-4ae3-bbe7-8f503999db11",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1080,
"platformSettings": {},
"subMetas": {
"bg": {
"ver": "1.0.4",
"uuid": "e2da8ec4-531e-45d7-bd29-3ee230af890b",
"rawTextureUuid": "655f5267-8e80-4ae3-bbe7-8f503999db11",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -32.5,
"trimX": 0,
"trimY": 65,
"width": 1920,
"height": 1015,
"rawWidth": 1920,
"rawHeight": 1080,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a4e7c97e-69b3-4443-9704-b886720a294a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 54,
"height": 36,
"platformSettings": {},
"subMetas": {
"bg_sahua": {
"ver": "1.0.4",
"uuid": "d02065db-a52c-4eff-a8da-fb88535b8454",
"rawTextureUuid": "a4e7c97e-69b3-4443-9704-b886720a294a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 54,
"height": 36,
"rawWidth": 54,
"rawHeight": 36,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "94a8b8b7-cfe8-41d7-bad4-1b27c7396aaa",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 303,
"platformSettings": {},
"subMetas": {
"bg_sky": {
"ver": "1.0.4",
"uuid": "80bed556-6ebb-4ba4-836d-3999c5e5d885",
"rawTextureUuid": "94a8b8b7-cfe8-41d7-bad4-1b27c7396aaa",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 303,
"rawWidth": 1920,
"rawHeight": 303,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9d8fead3-ade8-4a77-bb0d-ff5cb25c06ca",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 568,
"height": 361,
"platformSettings": {},
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "cab90ff2-4873-44a5-807d-d024c2b15d10",
"rawTextureUuid": "9d8fead3-ade8-4a77-bb0d-ff5cb25c06ca",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 568,
"height": 361,
"rawWidth": 568,
"rawHeight": 361,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0344cff4-f2aa-4c7f-9a10-f9d33fa2b4ae",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 568,
"height": 361,
"platformSettings": {},
"subMetas": {
"btn_start": {
"ver": "1.0.4",
"uuid": "1ef15b6f-5b61-41fd-bd98-1053b236e38b",
"rawTextureUuid": "0344cff4-f2aa-4c7f-9a10-f9d33fa2b4ae",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 568,
"height": 361,
"rawWidth": 568,
"rawHeight": 361,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3b5c248a-19b8-458c-ba81-3582ea46df4d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 390,
"height": 726,
"platformSettings": {},
"subMetas": {
"hole_1": {
"ver": "1.0.4",
"uuid": "619dcb0c-ce40-4ae2-84a4-d30955955adb",
"rawTextureUuid": "3b5c248a-19b8-458c-ba81-3582ea46df4d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 119,
"trimX": 0,
"trimY": 158,
"width": 390,
"height": 172,
"rawWidth": 390,
"rawHeight": 726,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9933e3b2-503b-4689-84b1-344c076183dd",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 390,
"height": 726,
"platformSettings": {},
"subMetas": {
"hole_2": {
"ver": "1.0.4",
"uuid": "74c130a7-9070-4c38-b03f-911a544d7f70",
"rawTextureUuid": "9933e3b2-503b-4689-84b1-344c076183dd",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -113,
"trimX": 0,
"trimY": 226,
"width": 390,
"height": 500,
"rawWidth": 390,
"rawHeight": 726,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "db3c84ea-2407-48ad-a44e-4b2c374fe3b5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 417,
"height": 412,
"platformSettings": {},
"subMetas": {
"icon_bigstar": {
"ver": "1.0.4",
"uuid": "6c3e42bd-69e6-4af8-9465-7c185101c120",
"rawTextureUuid": "db3c84ea-2407-48ad-a44e-4b2c374fe3b5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 417,
"height": 412,
"rawWidth": 417,
"rawHeight": 412,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b5a9bc37-0b71-45b0-bdff-28a61f530382",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 408,
"height": 259,
"platformSettings": {},
"subMetas": {
"panel_pic": {
"ver": "1.0.4",
"uuid": "dd263c72-8c89-474d-9a04-e5649f7a40d0",
"rawTextureUuid": "b5a9bc37-0b71-45b0-bdff-28a61f530382",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 0,
"trimX": 14,
"trimY": 0,
"width": 378,
"height": 259,
"rawWidth": 408,
"rawHeight": 259,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "990965e1-7974-41af-bd9d-7e8ed2a4a356",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 408,
"height": 166,
"platformSettings": {},
"subMetas": {
"panel_text": {
"ver": "1.0.4",
"uuid": "8da735ac-825b-4d96-b4b0-746d382cd6e9",
"rawTextureUuid": "990965e1-7974-41af-bd9d-7e8ed2a4a356",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 408,
"height": 166,
"rawWidth": 408,
"rawHeight": 166,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "beb0eefc-aab3-4365-949b-279d48128f8f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 390,
"height": 726,
"platformSettings": {},
"subMetas": {
"penguin1": {
"ver": "1.0.4",
"uuid": "0d62b8ce-b972-44ef-92e2-f7793738a334",
"rawTextureUuid": "beb0eefc-aab3-4365-949b-279d48128f8f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 4,
"offsetY": 194.5,
"trimX": 76,
"trimY": 17,
"width": 246,
"height": 303,
"rawWidth": 390,
"rawHeight": 726,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "1a541317-6f04-4b00-9c8a-cfcd2c5a1090",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 390,
"height": 726,
"platformSettings": {},
"subMetas": {
"penguin_1": {
"ver": "1.0.4",
"uuid": "d64cd0b7-b981-4a2e-a4c5-ce3c52619341",
"rawTextureUuid": "1a541317-6f04-4b00-9c8a-cfcd2c5a1090",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 4,
"offsetY": 194.5,
"trimX": 76,
"trimY": 17,
"width": 246,
"height": 303,
"rawWidth": 390,
"rawHeight": 726,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "349df3b2-d151-4d76-80d3-3f1643c885b6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 390,
"height": 726,
"platformSettings": {},
"subMetas": {
"penguin_1_wrong": {
"ver": "1.0.4",
"uuid": "36f884b5-75de-499b-bdeb-3dd1264a788f",
"rawTextureUuid": "349df3b2-d151-4d76-80d3-3f1643c885b6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -23,
"offsetY": 203,
"trimX": 22,
"trimY": 0,
"width": 300,
"height": 320,
"rawWidth": 390,
"rawHeight": 726,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f00f610d-293f-463e-946a-767fd052e2bc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 390,
"height": 726,
"platformSettings": {},
"subMetas": {
"penguin_2": {
"ver": "1.0.4",
"uuid": "5d71a2ff-8187-4c87-9d40-34b239e80d17",
"rawTextureUuid": "f00f610d-293f-463e-946a-767fd052e2bc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 4,
"offsetY": 194.5,
"trimX": 76,
"trimY": 17,
"width": 246,
"height": 303,
"rawWidth": 390,
"rawHeight": 726,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "407f0315-0a8b-4f4b-96ba-27db31183fd6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 390,
"height": 726,
"platformSettings": {},
"subMetas": {
"penguin_2_wrong": {
"ver": "1.0.4",
"uuid": "b2322cf6-f27d-4de9-beb0-c5008ee61d4e",
"rawTextureUuid": "407f0315-0a8b-4f4b-96ba-27db31183fd6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -23,
"offsetY": 203,
"trimX": 22,
"trimY": 0,
"width": 300,
"height": 320,
"rawWidth": 390,
"rawHeight": 726,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cf75968e-47fa-46ba-b840-56f1fac5ef4f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 92,
"height": 103,
"platformSettings": {},
"subMetas": {
"star": {
"ver": "1.0.4",
"uuid": "a232af02-cc12-4ba9-a3b8-f6c927c0850c",
"rawTextureUuid": "cf75968e-47fa-46ba-b840-56f1fac5ef4f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 92,
"height": 103,
"rawWidth": 92,
"rawHeight": 103,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "24a0be0f-08e9-4084-bd96-b8c0e5cd6c70",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 92,
"height": 103,
"platformSettings": {},
"subMetas": {
"star_bg": {
"ver": "1.0.4",
"uuid": "8a22c5d0-80b7-4bd2-9ddb-31eb3cc18927",
"rawTextureUuid": "24a0be0f-08e9-4084-bd96-b8c0e5cd6c70",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0.5,
"trimX": 0,
"trimY": 0,
"width": 92,
"height": 102,
"rawWidth": 92,
"rawHeight": 103,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "aaf5a5a7-c69f-4cb7-95b3-47f8970ac9e3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 97,
"height": 128,
"platformSettings": {},
"subMetas": {
"icon_hand": {
"ver": "1.0.4",
"uuid": "5e05f400-eb8e-4cf5-be5e-6f947bb8e62a",
"rawTextureUuid": "aaf5a5a7-c69f-4cb7-95b3-47f8970ac9e3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 97,
"height": 128,
"rawWidth": 97,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "128e969e-30d7-46cf-9637-8f7d0fd370b6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 102,
"height": 98,
"platformSettings": {},
"subMetas": {
"icon_player": {
"ver": "1.0.4",
"uuid": "0db029a0-481f-495f-86d0-7623c31852e1",
"rawTextureUuid": "128e969e-30d7-46cf-9637-8f7d0fd370b6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 102,
"height": 98,
"rawWidth": 102,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9062e49d-56d0-4c2b-a751-c5780e631ece",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 102,
"height": 98,
"platformSettings": {},
"subMetas": {
"icon_robot": {
"ver": "1.0.4",
"uuid": "8fd1141d-5fc0-4efd-a014-42f7e03e6ad5",
"rawTextureUuid": "9062e49d-56d0-4c2b-a751-c5780e631ece",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 102,
"height": 98,
"rawWidth": 102,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e605f490-89a0-4d3a-95cc-5c75e4736c3a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "dae95692-679d-4e79-b1ab-8ee963342820",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 815,
"height": 488,
"platformSettings": {},
"subMetas": {
"bg_goodjob": {
"ver": "1.0.4",
"uuid": "e8ad4ddd-daec-4f21-b263-6cdbb1e74daa",
"rawTextureUuid": "dae95692-679d-4e79-b1ab-8ee963342820",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 815,
"height": 488,
"rawWidth": 815,
"rawHeight": 488,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "271451ca-e4cc-4b3b-9c3b-0b305d523ae6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 803,
"height": 333,
"platformSettings": {},
"subMetas": {
"bg_lose": {
"ver": "1.0.4",
"uuid": "357d7709-3cd4-4703-baca-7f203782aaf4",
"rawTextureUuid": "271451ca-e4cc-4b3b-9c3b-0b305d523ae6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 803,
"height": 333,
"rawWidth": 803,
"rawHeight": 333,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "09c3f385-a78c-49af-9f87-94912cd60406",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 803,
"height": 333,
"platformSettings": {},
"subMetas": {
"bg_tryagain": {
"ver": "1.0.4",
"uuid": "78034a20-5384-4325-a8da-65037fa231c8",
"rawTextureUuid": "09c3f385-a78c-49af-9f87-94912cd60406",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 803,
"height": 333,
"rawWidth": 803,
"rawHeight": 333,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6ead3b40-a094-4ef0-aa86-977b70b317ca",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 415,
"platformSettings": {},
"subMetas": {
"bg_vs": {
"ver": "1.0.4",
"uuid": "9e7a4db9-4d92-488c-96b8-40c640bcf7f2",
"rawTextureUuid": "6ead3b40-a094-4ef0-aa86-977b70b317ca",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 415,
"rawWidth": 1920,
"rawHeight": 415,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "81395b49-0ec1-4130-adc0-92d1d51ac338",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 815,
"height": 488,
"platformSettings": {},
"subMetas": {
"bg_win": {
"ver": "1.0.4",
"uuid": "8f8e4cd4-c466-499a-9023-271f42183c12",
"rawTextureUuid": "81395b49-0ec1-4130-adc0-92d1d51ac338",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 815,
"height": 488,
"rawWidth": 815,
"rawHeight": 488,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "002e89f2-5c81-48d9-bc79-ce99aad886f2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 230,
"height": 144,
"platformSettings": {},
"subMetas": {
"btn_record-start": {
"ver": "1.0.4",
"uuid": "0aed4651-9ad4-4ce6-8674-241c5ebe7d92",
"rawTextureUuid": "002e89f2-5c81-48d9-bc79-ce99aad886f2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 230,
"height": 144,
"rawWidth": 230,
"rawHeight": 144,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2153a776-d30f-42cb-806d-c909e28c7dc7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 230,
"height": 144,
"platformSettings": {},
"subMetas": {
"btn_record-stop": {
"ver": "1.0.4",
"uuid": "e2644176-bb57-453e-908b-12dd1ef1537b",
"rawTextureUuid": "2153a776-d30f-42cb-806d-c909e28c7dc7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 230,
"height": 144,
"rawWidth": 230,
"rawHeight": 144,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5db4d435-c8d3-40ba-8e59-40dbaa1797c4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 112,
"height": 119,
"platformSettings": {},
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "d2746857-b28d-4125-9718-15ee5797c385",
"rawTextureUuid": "5db4d435-c8d3-40ba-8e59-40dbaa1797c4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 112,
"height": 119,
"rawWidth": 112,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a4581a5b-c3b7-477f-8470-ea906dc361c6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 203,
"platformSettings": {},
"subMetas": {
"icon_player-dice": {
"ver": "1.0.4",
"uuid": "09aa0535-ed60-4711-8c77-b9f758f4ef9a",
"rawTextureUuid": "a4581a5b-c3b7-477f-8470-ea906dc361c6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 152,
"height": 203,
"rawWidth": 152,
"rawHeight": 203,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "1dcc2cdb-84dc-4b75-90a6-11fadcddb995",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 203,
"platformSettings": {},
"subMetas": {
"icon_player": {
"ver": "1.0.4",
"uuid": "98a8f6f7-52b0-4481-b704-09dc8e69bbf7",
"rawTextureUuid": "1dcc2cdb-84dc-4b75-90a6-11fadcddb995",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -11,
"trimX": 0,
"trimY": 22,
"width": 152,
"height": 181,
"rawWidth": 152,
"rawHeight": 203,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5357b2c7-22e9-4264-8e5e-4d4f45985660",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 191,
"platformSettings": {},
"subMetas": {
"icon_robot-dice": {
"ver": "1.0.4",
"uuid": "8a63b2bd-e878-4e14-b6f4-6335456edb7f",
"rawTextureUuid": "5357b2c7-22e9-4264-8e5e-4d4f45985660",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 152,
"height": 191,
"rawWidth": 152,
"rawHeight": 191,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "935d7334-624e-4a28-8afd-3b898a7b3caf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 191,
"platformSettings": {},
"subMetas": {
"icon_robot": {
"ver": "1.0.4",
"uuid": "ba9bf0a8-fc1f-4652-985c-ae2119250d84",
"rawTextureUuid": "935d7334-624e-4a28-8afd-3b898a7b3caf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -2.5,
"trimX": 0,
"trimY": 5,
"width": 152,
"height": 186,
"rawWidth": 152,
"rawHeight": 191,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d96529a1-229d-4fd6-97c1-577e7c50e320",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "9b404917-465f-4278-90fb-c1eace2d89e8",
"downloadMode": 0,
"duration": 2.220417,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d08086e0-9231-4ace-a7fb-b88b36055c9a",
"downloadMode": 0,
"duration": 0.809796,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "9731684b-d8c0-4e2a-acf2-d26150827e60",
"downloadMode": 0,
"duration": 1.906939,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "647922fa-f228-485c-a3a0-d632c43b8820",
"downloadMode": 0,
"duration": 0.130612,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "37650a49-aee3-4152-bdeb-7a8e2ea86b6f",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "97dda2de-75b3-400e-baa2-d6ce064b3370",
"downloadMode": 0,
"duration": 0.182857,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "fd0c5f31-3d26-41d2-b9ed-08902b3dd3a4",
"downloadMode": 0,
"duration": 0.261224,
"subMetas": {}
}
\ No newline at end of file
{"name":"speak","version":"5.5","frameRate":24,"armature":[{"name":"Armature","animation":[{"name":"newAnimation","frame":[],"ik":[],"duration":18,"slot":[{"name":"椭圆_11","colorFrame":[{"tweenEasing":0,"duration":18},{"duration":0,"color":{"aM":0}}],"displayFrame":[]},{"name":"椭圆_11_拷贝","colorFrame":[{"tweenEasing":0,"duration":18},{"duration":0,"color":{"aM":12}}],"displayFrame":[]},{"name":"组_1","colorFrame":[],"displayFrame":[]}],"bone":[{"name":"root","rotateFrame":[],"scaleFrame":[],"translateFrame":[]},{"name":"big","rotateFrame":[],"scaleFrame":[{"duration":18,"tweenEasing":0},{"duration":0,"x":1.7,"y":1.7}],"translateFrame":[]},{"name":"small","rotateFrame":[],"scaleFrame":[{"duration":18,"tweenEasing":0},{"duration":0,"x":1.7,"y":1.7}],"translateFrame":[]}],"playTimes":0,"ffd":[]}],"slot":[{"name":"椭圆_11","color":{},"parent":"big"},{"name":"椭圆_11_拷贝","color":{},"z":1,"parent":"small"},{"name":"组_1","color":{},"z":2,"parent":"root"}],"skin":[{"name":"","slot":[{"name":"椭圆_11","display":[{"name":"提示/椭圆_11","transform":{"x":1,"y":-0.5,"skX":-90,"skY":-90},"type":"image","path":"提示/椭圆_11"}]},{"name":"椭圆_11_拷贝","display":[{"name":"提示/椭圆_11_拷贝","transform":{"skX":180,"skY":180},"type":"image","path":"提示/椭圆_11_拷贝"}]},{"name":"组_1","display":[{"name":"提示/组_1","transform":{"x":1,"y":5.5},"type":"image","path":"提示/组_1"}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"ik":[],"frameRate":24,"bone":[{"name":"root","transform":{}},{"name":"big","transform":{"x":-0.5,"y":-1,"skX":90,"skY":90},"parent":"root"},{"name":"small","transform":{"skX":180,"skY":180},"parent":"root"}],"type":"Armature","aabb":{"x":-137.5,"height":278,"y":-139,"width":275}}],"isGlobal":0}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "04cff8f1-e53f-4032-bb59-80407080002d",
"subMetas": {}
}
\ No newline at end of file
{"name":"speak","SubTexture":[{"name":"提示/椭圆_11","x":1,"height":278,"y":1,"width":275},{"name":"提示/椭圆_11_拷贝","x":1,"height":225,"y":281,"width":222},{"name":"提示/组_1","x":225,"height":184,"y":281,"width":124}],"imagePath":"speak_tex.png","height":512,"width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "406ba179-253d-4e03-93a6-63b0ff356d78",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c87d986a-7e60-45f2-adf1-e9c4a402376c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 512,
"platformSettings": {},
"subMetas": {
"speak_tex": {
"ver": "1.0.4",
"uuid": "65d51b0b-113e-4501-8b87-f482b6549716",
"rawTextureUuid": "c87d986a-7e60-45f2-adf1-e9c4a402376c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -81,
"offsetY": 2.5,
"trimX": 1,
"trimY": 1,
"width": 348,
"height": 505,
"rawWidth": 512,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5d4d8d54-504c-44d0-bb65-3442aee7d360",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 698,
"height": 129,
"platformSettings": {},
"subMetas": {
"text_tip": {
"ver": "1.0.4",
"uuid": "2c240bde-15e4-4cf4-adb1-b190212a36e7",
"rawTextureUuid": "5d4d8d54-504c-44d0-bb65-3442aee7d360",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": -0.5,
"trimX": 124,
"trimY": 1,
"width": 449,
"height": 128,
"rawWidth": 698,
"rawHeight": 129,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "da24a130-618f-4280-888d-ee758c76ddbd",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "40b4a906-cc05-4ff3-bcde-37d202cf8b82",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"platformSettings": {},
"subMetas": {
"icon_1": {
"ver": "1.0.4",
"uuid": "2db85b0f-0d2f-4511-96ff-6746b0666b91",
"rawTextureUuid": "40b4a906-cc05-4ff3-bcde-37d202cf8b82",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "522c3e42-004b-408d-b54a-339d167867c7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"platformSettings": {},
"subMetas": {
"icon_2": {
"ver": "1.0.4",
"uuid": "e0078a11-dce4-4d60-ad4d-fe0111bc40ca",
"rawTextureUuid": "522c3e42-004b-408d-b54a-339d167867c7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e8f5fab2-3780-4151-9236-b77bc63a81be",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"platformSettings": {},
"subMetas": {
"icon_3": {
"ver": "1.0.4",
"uuid": "776f8585-277d-4451-9373-32ed6dc1ae8a",
"rawTextureUuid": "e8f5fab2-3780-4151-9236-b77bc63a81be",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6028bf30-7dbe-45ec-ae9d-e35e2b26c3f0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"platformSettings": {},
"subMetas": {
"icon_4": {
"ver": "1.0.4",
"uuid": "9e130b13-684f-46b7-9aaf-0f661da8fc38",
"rawTextureUuid": "6028bf30-7dbe-45ec-ae9d-e35e2b26c3f0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9a46f51b-ecf8-4b77-8823-58c3952d0bc9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"platformSettings": {},
"subMetas": {
"icon_5": {
"ver": "1.0.4",
"uuid": "64dc457d-758a-41b6-bbfe-bf83a8b7ead8",
"rawTextureUuid": "9a46f51b-ecf8-4b77-8823-58c3952d0bc9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6c7680d8-3b89-42d8-8acd-32166fa28ace",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"platformSettings": {},
"subMetas": {
"icon_6": {
"ver": "1.0.4",
"uuid": "2843d8c4-1a05-4fe9-a5fb-fadd1dd7df9b",
"rawTextureUuid": "6c7680d8-3b89-42d8-8acd-32166fa28ace",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9f0f7a29-83b6-40cd-8a98-09cc9da103bc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 203,
"platformSettings": {},
"subMetas": {
"icon_player-dice": {
"ver": "1.0.4",
"uuid": "aa0f6f43-c49a-4415-83df-8fa3add0b12b",
"rawTextureUuid": "9f0f7a29-83b6-40cd-8a98-09cc9da103bc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 152,
"height": 203,
"rawWidth": 152,
"rawHeight": 203,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7e3ecf70-2d05-4da8-be50-f77e9716d97d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 203,
"platformSettings": {},
"subMetas": {
"icon_player": {
"ver": "1.0.4",
"uuid": "eeac12a6-180a-4c6e-bf6d-b87da9c5c8e0",
"rawTextureUuid": "7e3ecf70-2d05-4da8-be50-f77e9716d97d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -11,
"trimX": 0,
"trimY": 22,
"width": 152,
"height": 181,
"rawWidth": 152,
"rawHeight": 203,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "18266ba1-8c05-44ec-a641-cc827ac54620",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 191,
"platformSettings": {},
"subMetas": {
"icon_robot-dice": {
"ver": "1.0.4",
"uuid": "b2d1bf2a-828e-4058-997c-0abd56dc6016",
"rawTextureUuid": "18266ba1-8c05-44ec-a641-cc827ac54620",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 152,
"height": 191,
"rawWidth": 152,
"rawHeight": 191,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e66adec9-969f-4c24-85cf-97a97fba8941",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 191,
"platformSettings": {},
"subMetas": {
"icon_robot": {
"ver": "1.0.4",
"uuid": "e62ca036-7918-41ad-98b0-876a5753ec63",
"rawTextureUuid": "e66adec9-969f-4c24-85cf-97a97fba8941",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -2.5,
"trimX": 0,
"trimY": 5,
"width": 152,
"height": 186,
"rawWidth": 152,
"rawHeight": 191,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "3e19b12c-5f9b-4caf-a37d-ac0b92333f5b",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3765f02d-b468-42d1-9101-ab80e598f6df",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_1": {
"ver": "1.0.4",
"uuid": "882db467-7c4e-48e7-93db-61ac63207e6a",
"rawTextureUuid": "3765f02d-b468-42d1-9101-ab80e598f6df",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 294,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cf4bc34b-1021-46bc-86a6-135f5d08a9d3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_2": {
"ver": "1.0.4",
"uuid": "d47c9e79-5cd1-4785-894e-d2998428bdba",
"rawTextureUuid": "cf4bc34b-1021-46bc-86a6-135f5d08a9d3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 294,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "1fdaab44-7440-4a6b-8ee0-1778324e4e3d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_3": {
"ver": "1.0.4",
"uuid": "e7ba0eda-84ae-4075-9640-c8fe1505ba8c",
"rawTextureUuid": "1fdaab44-7440-4a6b-8ee0-1778324e4e3d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 294,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "18920164-7c0b-4a0b-8eee-af4a9f014f89",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_4": {
"ver": "1.0.4",
"uuid": "d1559550-116d-4fee-a86f-6ddb2ee6a17b",
"rawTextureUuid": "18920164-7c0b-4a0b-8eee-af4a9f014f89",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 294,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8482d484-2b7b-4a11-9003-9e10bb8229ef",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_5": {
"ver": "1.0.4",
"uuid": "15d4868e-9692-4d1b-821b-a942837e5a6d",
"rawTextureUuid": "8482d484-2b7b-4a11-9003-9e10bb8229ef",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 294,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "dccfee72-5995-4c68-8b8e-726f059dd69a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 294,
"height": 274,
"platformSettings": {},
"subMetas": {
"bg_6": {
"ver": "1.0.4",
"uuid": "1b96427c-c0d6-4cff-abc3-c3ed887bb239",
"rawTextureUuid": "dccfee72-5995-4c68-8b8e-726f059dd69a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 294,
"height": 274,
"rawWidth": 294,
"rawHeight": 274,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,5 +2,40 @@
"last-module-event-record-time": 1600677246969,
"migrate-history": [
"cloud-function"
],
"group-list": [
"default"
],
"collision-matrix": [
[
true
]
],
"excluded-modules": [
"3D Physics/Builtin"
],
"start-scene": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3",
"preview-port": 7456,
"design-resolution-width": 960,
"design-resolution-height": 640,
"fit-width": false,
"fit-height": true,
"use-project-simulator-setting": false,
"simulator-orientation": false,
"use-customize-simulator": true,
"simulator-resolution": {
"width": 960,
"height": 640
},
"clear-simulator-cache": true,
"facebook": {
"enable": false,
"appID": "",
"live": {
"enable": false
},
"audience": {
"enable": false
}
}
}
......@@ -6,7 +6,6 @@
"experimentalDecorators": true,
"skipLibCheck": true,
"outDir": "temp/vscode-dist",
"allowJs": true,
"forceConsistentCasingInFileNames": true
},
"exclude": [
......
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