Commit 2030376a authored by Tt's avatar Tt

企鹅运动完成

parent d3444fb7
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "37650a49-aee3-4152-bdeb-7a8e2ea86b6f", "uuid": "b705826d-1e83-4879-8af8-d599cd2e6822",
"downloadMode": 0, "downloadMode": 0,
"duration": 4.04898, "duration": 4.04898,
"subMetas": {} "subMetas": {}
......
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "9b404917-465f-4278-90fb-c1eace2d89e8", "uuid": "3a14d973-f1ae-456e-87a3-2b5addac5ba9",
"downloadMode": 0, "downloadMode": 0,
"duration": 2.220417, "duration": 2.220417,
"subMetas": {} "subMetas": {}
......
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "647922fa-f228-485c-a3a0-d632c43b8820", "uuid": "2658d6cd-56ef-4d97-b384-6d486e3d7e52",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.130612, "duration": 2.952,
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "d08086e0-9231-4ace-a7fb-b88b36055c9a", "uuid": "922e1897-10d2-473a-aa15-19efff36ecc3",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.809796, "duration": 0.809796,
"subMetas": {} "subMetas": {}
......
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "9731684b-d8c0-4e2a-acf2-d26150827e60", "uuid": "84e2810e-e049-4711-9c55-b70bacd57a9a",
"downloadMode": 0, "downloadMode": 0,
"duration": 1.906939, "duration": 1.906939,
"subMetas": {} "subMetas": {}
......
import Data from "../script/defaultData";
export default class Game {
private static ins: Game;
public static getIns(): Game {
if (!Game.ins) Game.ins = new Game();
return Game.ins;
}
private data: Array<any>
public pause: boolean;
constructor() {
//
}
reset() {
this.data = Data.list;
this.pause = false;
// let winCount = 0;
// let nowItem = [];
// this.data.forEach(li => {
// winCount += li.stem.times;
// });
}
get nowList() {
//每一个企鹅是什么应该在这边获取。
return [];
}
get penguin() {
let item = null;
return item;
}
}
\ No newline at end of file
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "7091890a-4097-4c74-b388-e0be538f9c1c", "uuid": "061e2c82-faaf-41c5-b082-859b3f186134",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
...@@ -81,37 +81,40 @@ ...@@ -81,37 +81,40 @@
"__id__": 14 "__id__": 14
}, },
{ {
"__id__": 24 "__id__": 34
}, },
{ {
"__id__": 29 "__id__": 39
}, },
{ {
"__id__": 47 "__id__": 57
}, },
{ {
"__id__": 53 "__id__": 71
}, },
{ {
"__id__": 65 "__id__": 75
}, },
{ {
"__id__": 70 "__id__": 88
}, },
{ {
"__id__": 83 "__id__": 93
},
{
"__id__": 106
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 97 "__id__": 121
}, },
{ {
"__id__": 98 "__id__": 122
}, },
{ {
"__id__": 99 "__id__": 123
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -767,7 +770,7 @@ ...@@ -767,7 +770,7 @@
"__id__": 21 "__id__": 21
} }
], ],
"_active": false, "_active": true,
"_components": [], "_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
...@@ -905,7 +908,7 @@ ...@@ -905,7 +908,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 0,
"height": 0 "height": 50.4
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -949,7 +952,11 @@ ...@@ -949,7 +952,11 @@
"__id__": 16 "__id__": 16
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "", "_string": "",
...@@ -1104,7 +1111,11 @@ ...@@ -1104,7 +1111,11 @@
"__id__": 19 "__id__": 19
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
...@@ -1134,6 +1145,21 @@ ...@@ -1134,6 +1145,21 @@
"_children": [ "_children": [
{ {
"__id__": 22 "__id__": 22
},
{
"__id__": 24
},
{
"__id__": 26
},
{
"__id__": 28
},
{
"__id__": 30
},
{
"__id__": 32
} }
], ],
"_active": true, "_active": true,
...@@ -1269,21 +1295,18 @@ ...@@ -1269,21 +1295,18 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg", "_name": "tryagain",
"_objFlags": 512, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 21
}, },
"_children": [ "_children": [],
"_active": true,
"_components": [
{ {
"__id__": 25 "__id__": 25
},
{
"__id__": 27
} }
], ],
"_active": true,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -1330,20 +1353,39 @@ ...@@ -1330,20 +1353,39 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a1VVlPF2NGXL7vsIhMZ8g/" "_id": "3an/WZAypKppPCCsgwTADz"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_clip": {
"__uuid__": "922e1897-10d2-473a-aa15-19efff36ecc3"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "67qvp2+WZPoJGmD3MwQ/yC"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_sky", "_name": "goodjob",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 24 "__id__": 21
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 26 "__id__": 27
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1357,8 +1399,8 @@ ...@@ -1357,8 +1399,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1920, "width": 0,
"height": 303 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1370,7 +1412,7 @@ ...@@ -1370,7 +1412,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
451.244, 0,
0, 0,
0, 0,
0, 0,
...@@ -1392,52 +1434,39 @@ ...@@ -1392,52 +1434,39 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "3dNToTJGZDRYkqIlohs0IJ" "_id": "aeY9yen/NI9o50IzQgHolV"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 25 "__id__": 26
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_clip": {
{ "__uuid__": "3a14d973-f1ae-456e-87a3-2b5addac5ba9"
"__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, "_volume": 1,
"_fillRange": 0, "_mute": false,
"_isTrimmedMode": true, "_loop": false,
"_atlas": null, "_firstlyEnabled": true,
"_id": "59jsE/2HNKRKxDPpInzYTC" "playOnLoad": false,
"preload": false,
"_id": "dbkSAN82BErZYLBNF2GZOg"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg", "_name": "tips",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 24 "__id__": 21
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 28 "__id__": 29
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1451,8 +1480,8 @@ ...@@ -1451,8 +1480,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1920, "width": 0,
"height": 1015 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1464,7 +1493,7 @@ ...@@ -1464,7 +1493,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-68.631, 0,
0, 0,
0, 0,
0, 0,
...@@ -1486,77 +1515,39 @@ ...@@ -1486,77 +1515,39 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "bbH/J/bqdGsbKxgu3Dm2QI" "_id": "5cUw1sTzFKr7vI5KAfpyJD"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 27 "__id__": 28
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_clip": {
{ "__uuid__": "2658d6cd-56ef-4d97-b384-6d486e3d7e52"
"__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, "_volume": 1,
"_fillRange": 0, "_mute": false,
"_isTrimmedMode": true, "_loop": false,
"_atlas": null, "_firstlyEnabled": true,
"_id": "66xA9hK81FNLN8c3dhG1u6" "playOnLoad": false,
"preload": false,
"_id": "6c1/apXo1M6r5HEqLV5erR"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "dong", "_name": "vs",
"_objFlags": 512, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 21
}, },
"_children": [ "_children": [],
{
"__id__": 30
},
{
"__id__": 32
},
{
"__id__": 34
},
{
"__id__": 36
},
{
"__id__": 38
},
{
"__id__": 40
},
{
"__id__": 42
},
{
"__id__": 44
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 46 "__id__": 31
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1570,8 +1561,8 @@ ...@@ -1570,8 +1561,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1700, "width": 0,
"height": 500 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1583,7 +1574,7 @@ ...@@ -1583,7 +1574,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-235.512, 0,
0, 0,
0, 0,
0, 0,
...@@ -1605,20 +1596,39 @@ ...@@ -1605,20 +1596,39 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "15oFqGn1xHHa88OVOgLezw" "_id": "94iJR/yXlP+6RFJqwyKP1B"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"_clip": {
"__uuid__": "84e2810e-e049-4711-9c55-b70bacd57a9a"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "dfJS1HaPZKjKpqguGITtKK"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hole_1", "_name": "flower",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 21
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 31 "__id__": 33
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1632,8 +1642,8 @@ ...@@ -1632,8 +1642,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 390, "width": 0,
"height": 172 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1644,8 +1654,8 @@ ...@@ -1644,8 +1654,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-645, 0,
164, 0,
0, 0,
0, 0,
0, 0,
...@@ -1667,52 +1677,104 @@ ...@@ -1667,52 +1677,104 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "c4x7KDdoRJZZrNLx2veSr+" "_id": "dff/sBjOxJToLD62aEGVgj"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 30 "__id__": 32
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_clip": {
{ "__uuid__": "b705826d-1e83-4879-8af8-d599cd2e6822"
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
}, },
"_type": 0, "_volume": 1,
"_sizeMode": 1, "_mute": false,
"_fillType": 0, "_loop": false,
"_fillCenter": { "_firstlyEnabled": true,
"__type__": "cc.Vec2", "playOnLoad": false,
"x": 0, "preload": false,
"y": 0 "_id": "95HOlasypOFJbM9EwOk+B8"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 512,
"_parent": {
"__id__": 2
}, },
"_fillStart": 0, "_children": [
"_fillRange": 0, {
"_isTrimmedMode": true, "__id__": 35
"_atlas": null, },
"_id": "2a5avIjCNM76VrnJz94iD9" {
"__id__": 37
}
],
"_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", "__type__": "cc.Node",
"_name": "hole_1", "_name": "bg_sky",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 34
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 36
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1726,8 +1788,8 @@ ...@@ -1726,8 +1788,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 390, "width": 1920,
"height": 172 "height": 303
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1738,8 +1800,8 @@ ...@@ -1738,8 +1800,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-215, 0,
164, 451.244,
0, 0,
0, 0,
0, 0,
...@@ -1761,14 +1823,14 @@ ...@@ -1761,14 +1823,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "840oRmdatPFaRlwgedF+r0" "_id": "3dNToTJGZDRYkqIlohs0IJ"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 32 "__id__": 35
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1779,7 +1841,7 @@ ...@@ -1779,7 +1841,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb" "__uuid__": "80bed556-6ebb-4ba4-836d-3999c5e5d885"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -1793,20 +1855,20 @@ ...@@ -1793,20 +1855,20 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "76GziZD/tBlrlgU9hMwfA0" "_id": "59jsE/2HNKRKxDPpInzYTC"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hole_1", "_name": "bg",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 34
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 35 "__id__": 38
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1820,8 +1882,8 @@ ...@@ -1820,8 +1882,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 390, "width": 1920,
"height": 172 "height": 1015
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1832,8 +1894,8 @@ ...@@ -1832,8 +1894,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
215, 0,
164, -68.631,
0, 0,
0, 0,
0, 0,
...@@ -1855,14 +1917,14 @@ ...@@ -1855,14 +1917,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "fedkotwq5Fs4L9nHgeQEvM" "_id": "bbH/J/bqdGsbKxgu3Dm2QI"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 34 "__id__": 37
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1873,7 +1935,7 @@ ...@@ -1873,7 +1935,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb" "__uuid__": "e2da8ec4-531e-45d7-bd29-3ee230af890b"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -1887,20 +1949,107 @@ ...@@ -1887,20 +1949,107 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "e7ExOgQMNEcqhMCUo0LGvk" "_id": "66xA9hK81FNLN8c3dhG1u6"
},
{
"__type__": "cc.Node",
"_name": "dong",
"_objFlags": 512,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 40
},
{
"__id__": 42
},
{
"__id__": 44
},
{
"__id__": 46
},
{
"__id__": 48
},
{
"__id__": 50
},
{
"__id__": 52
},
{
"__id__": 54
}
],
"_active": true,
"_components": [
{
"__id__": 56
}
],
"_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", "__type__": "cc.Node",
"_name": "hole_1", "_name": "hole_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 39
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 37 "__id__": 41
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1926,7 +2075,7 @@ ...@@ -1926,7 +2075,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
645, -645,
164, 164,
0, 0,
0, 0,
...@@ -1949,14 +2098,14 @@ ...@@ -1949,14 +2098,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "5e5wyHoz1PD46ijWJFR0Ib" "_id": "c4x7KDdoRJZZrNLx2veSr+"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 36 "__id__": 40
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1981,20 +2130,20 @@ ...@@ -1981,20 +2130,20 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "72LCozIyROy5Mb1ZMIac1q" "_id": "2a5avIjCNM76VrnJz94iD9"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hole_1", "_name": "hole_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 39
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 39 "__id__": 43
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2020,8 +2169,8 @@ ...@@ -2020,8 +2169,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-645, -215,
-118, 164,
0, 0,
0, 0,
0, 0,
...@@ -2043,14 +2192,14 @@ ...@@ -2043,14 +2192,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "98D57aMc9Luo71iFH3lCYz" "_id": "840oRmdatPFaRlwgedF+r0"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 38 "__id__": 42
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2075,20 +2224,20 @@ ...@@ -2075,20 +2224,20 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "8bR9ZvoEdAvZIOyu0iRujp" "_id": "76GziZD/tBlrlgU9hMwfA0"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hole_1", "_name": "hole_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 39
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 41 "__id__": 45
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2114,8 +2263,8 @@ ...@@ -2114,8 +2263,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-215, 215,
-118, 164,
0, 0,
0, 0,
0, 0,
...@@ -2137,14 +2286,14 @@ ...@@ -2137,14 +2286,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "f9vFLImvROradDFpicFHvY" "_id": "fedkotwq5Fs4L9nHgeQEvM"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 40 "__id__": 44
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2169,20 +2318,20 @@ ...@@ -2169,20 +2318,20 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "0erBMzlCVA97xmeVBgL4NI" "_id": "e7ExOgQMNEcqhMCUo0LGvk"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hole_1", "_name": "hole_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 39
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 43 "__id__": 47
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2208,8 +2357,8 @@ ...@@ -2208,8 +2357,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
215, 645,
-118, 164,
0, 0,
0, 0,
0, 0,
...@@ -2231,14 +2380,14 @@ ...@@ -2231,14 +2380,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "3a29KuXoJO4ajAT0PwoOjS" "_id": "5e5wyHoz1PD46ijWJFR0Ib"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 42 "__id__": 46
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2263,20 +2412,20 @@ ...@@ -2263,20 +2412,20 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "01MaHIwTNCZZpTEj81+9UM" "_id": "72LCozIyROy5Mb1ZMIac1q"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "hole_1", "_name": "hole_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 39
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 45 "__id__": 49
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2302,7 +2451,7 @@ ...@@ -2302,7 +2451,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
645, -645,
-118, -118,
0, 0,
0, 0,
...@@ -2325,14 +2474,14 @@ ...@@ -2325,14 +2474,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "59g+nHi6FPYLvzcgra6P5U" "_id": "98D57aMc9Luo71iFH3lCYz"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 44 "__id__": 48
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2357,59 +2506,114 @@ ...@@ -2357,59 +2506,114 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "cfpGDPFa9Pb6sHHfLAA69d" "_id": "8bR9ZvoEdAvZIOyu0iRujp"
}, },
{ {
"__type__": "cc.Layout", "__type__": "cc.Node",
"_name": "hole_1",
"_objFlags": 0,
"_parent": {
"__id__": 39
},
"_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": 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": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 29 "__id__": 50
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_materials": [
"__type__": "cc.Size", {
"width": 1700, "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"height": 500 }
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
}, },
"_resize": 0, "_type": 0,
"_N$layoutType": 3, "_sizeMode": 1,
"_N$cellSize": { "_fillType": 0,
"__type__": "cc.Size", "_fillCenter": {
"width": 40, "__type__": "cc.Vec2",
"height": 40 "x": 0,
"y": 0
}, },
"_N$startAxis": 0, "_fillStart": 0,
"_N$paddingLeft": 10, "_fillRange": 0,
"_N$paddingRight": 0, "_isTrimmedMode": true,
"_N$paddingTop": 0, "_atlas": null,
"_N$paddingBottom": 0, "_id": "0erBMzlCVA97xmeVBgL4NI"
"_N$spacingX": 40,
"_N$spacingY": 110,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "35TV5JaYtPbK5YRQjGx9JO"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "player", "_name": "hole_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 39
}, },
"_children": [ "_children": [],
{
"__id__": 48
},
{
"__id__": 50
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 52 "__id__": 53
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2423,8 +2627,8 @@ ...@@ -2423,8 +2627,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 390,
"height": 0 "height": 172
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2435,8 +2639,8 @@ ...@@ -2435,8 +2639,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 215,
0, -118,
0, 0,
0, 0,
0, 0,
...@@ -2458,20 +2662,52 @@ ...@@ -2458,20 +2662,52 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "02CyzjaBFI15Pbpd/XUL/v" "_id": "3a29KuXoJO4ajAT0PwoOjS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_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", "__type__": "cc.Node",
"_name": "icon_player", "_name": "hole_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 47 "__id__": 39
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 55
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2485,8 +2721,8 @@ ...@@ -2485,8 +2721,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 152, "width": 390,
"height": 181 "height": 172
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2497,8 +2733,8 @@ ...@@ -2497,8 +2733,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-440.099, 645,
371.11, -118,
0, 0,
0, 0,
0, 0,
...@@ -2520,14 +2756,14 @@ ...@@ -2520,14 +2756,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "81+QTQnj9ExqAFuJuhGWId" "_id": "59g+nHi6FPYLvzcgra6P5U"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 48 "__id__": 54
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2538,7 +2774,7 @@ ...@@ -2538,7 +2774,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "98a8f6f7-52b0-4481-b704-09dc8e69bbf7" "__uuid__": "619dcb0c-ce40-4ae2-84a4-d30955955adb"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -2548,26 +2784,840 @@ ...@@ -2548,26 +2784,840 @@
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "60uIoSfERDxoFSRv/mzrXL" "_id": "cfpGDPFa9Pb6sHHfLAA69d"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_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__": 58
},
{
"__id__": 64
}
],
"_active": true,
"_components": [
{
"__id__": 70
}
],
"_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": "player",
"_objFlags": 0,
"_parent": {
"__id__": 57
},
"_children": [
{
"__id__": 59
},
{
"__id__": 61
}
],
"_active": true,
"_components": [
{
"__id__": 63
}
],
"_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.Node",
"_name": "icon_player",
"_objFlags": 0,
"_parent": {
"__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 60
}
],
"_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": [
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": "70ools/FNM9IbX27Hck6fI"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
},
"_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": "ec4wU7uX1Hp6mIT2bXc6yx"
},
{
"__type__": "cc.Node",
"_name": "icon_player_dice",
"_objFlags": 0,
"_parent": {
"__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 62
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 152,
"height": 203
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
11.025,
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": "cbiUlkVThHJbaK9ipns1SA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "09aa0535-ed60-4711-8c77-b9f758f4ef9a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c9suiR4VZDg7qh4NWVOl4b"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_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": "robot",
"_objFlags": 0,
"_parent": {
"__id__": 57
},
"_children": [
{
"__id__": 65
},
{
"__id__": 67
}
],
"_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": 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.Node",
"_name": "icon_robot",
"_objFlags": 0,
"_parent": {
"__id__": 64
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
}
],
"_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": [
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": "d8a/C5DGNNYZ8zVUt9zgmd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_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": "ea8fB5uslLTLg9wkFERkEA"
},
{
"__type__": "cc.Node",
"_name": "icon_robot_dice",
"_objFlags": 0,
"_parent": {
"__id__": 64
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 68
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 152,
"height": 191
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
2.643,
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": "91Y13t/rRFLbnZ+JvlygmG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8a63b2bd-e878-4e14-b6f4-6335456edb7f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "42X1wxwvFHI7GrFSqwK9Fa"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_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__": 57
},
"_enabled": false,
"label": null,
"text": "hello",
"_id": "8cGNzSnQJDrbQD2Xvb+Ypu"
},
{
"__type__": "cc.Node",
"_name": "items",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 72
},
{
"__id__": 73
}
],
"_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": 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": "74YDcu2NtK0bYcJ9R31fr5"
},
{
"__type__": "cc.Node",
"_name": "item1",
"_objFlags": 0,
"_parent": {
"__id__": 71
},
"_children": [],
"_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": "11A70EX7FAC4lnxTMNbvvy"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_robot", "_name": "item2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 47 "__id__": 71
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [],
{
"__id__": 51
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2579,8 +3629,8 @@ ...@@ -2579,8 +3629,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 152, "width": 0,
"height": 186 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2591,8 +3641,8 @@ ...@@ -2591,8 +3641,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
440.098, 0,
366.352, 0,
0, 0,
0, 0,
0, 0,
...@@ -2614,51 +3664,26 @@ ...@@ -2614,51 +3664,26 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "5bRai8kWpD3pMv44hhO9w4" "_id": "35XJdGg7ZAIqKftEQSYato"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "32975JnFexBloT6KpzMIwZG",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 50 "__id__": 71
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "layout_up": {
{ "__id__": 72
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ba9bf0a8-fc1f-4652-985c-ae2119250d84"
}, },
"_type": 0, "layout_down": {
"_sizeMode": 1, "__id__": 73
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
}, },
"_fillStart": 0, "item": {
"_fillRange": 0, "__id__": 75
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ea9H05TupJbJsfokHc+ReV"
},
{
"__type__": "32f0cXvwnlAO58ohUBSECCO",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
}, },
"_enabled": true, "_id": "33vb2m4vZETYqPp3DnaSZI"
"label": null,
"text": "hello",
"_id": "8cGNzSnQJDrbQD2Xvb+Ypu"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -2669,11 +3694,15 @@ ...@@ -2669,11 +3694,15 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 54 "__id__": 76
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [
{
"__id__": 87
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2697,8 +3726,8 @@ ...@@ -2697,8 +3726,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-213.767, 2689.121,
-13.41, -1540.68,
0, 0,
0, 0,
0, 0,
...@@ -2727,17 +3756,17 @@ ...@@ -2727,17 +3756,17 @@
"_name": "mask", "_name": "mask",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 53 "__id__": 75
}, },
"_children": [ "_children": [
{ {
"__id__": 55 "__id__": 77
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 64 "__id__": 86
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2793,17 +3822,17 @@ ...@@ -2793,17 +3822,17 @@
"_name": "penguin", "_name": "penguin",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 54 "__id__": 76
}, },
"_children": [ "_children": [
{ {
"__id__": 56 "__id__": 78
}, },
{ {
"__id__": 58 "__id__": 80
}, },
{ {
"__id__": 60 "__id__": 82
} }
], ],
"_active": true, "_active": true,
...@@ -2861,13 +3890,13 @@ ...@@ -2861,13 +3890,13 @@
"_name": "penguin_1", "_name": "penguin_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 57 "__id__": 79
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2923,7 +3952,7 @@ ...@@ -2923,7 +3952,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 56 "__id__": 78
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2955,13 +3984,13 @@ ...@@ -2955,13 +3984,13 @@
"_name": "penguin_2", "_name": "penguin_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 59 "__id__": 81
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3017,7 +4046,7 @@ ...@@ -3017,7 +4046,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 58 "__id__": 80
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3049,17 +4078,17 @@ ...@@ -3049,17 +4078,17 @@
"_name": "panel_text", "_name": "panel_text",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 77
}, },
"_children": [ "_children": [
{ {
"__id__": 61 "__id__": 83
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 63 "__id__": 85
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3115,13 +4144,13 @@ ...@@ -3115,13 +4144,13 @@
"_name": "txt", "_name": "txt",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 60 "__id__": 82
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 62 "__id__": 84
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3177,7 +4206,7 @@ ...@@ -3177,7 +4206,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 83
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3210,7 +4239,7 @@ ...@@ -3210,7 +4239,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 60 "__id__": 82
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3242,7 +4271,7 @@ ...@@ -3242,7 +4271,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 54 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3259,6 +4288,16 @@ ...@@ -3259,6 +4288,16 @@
"_N$inverted": true, "_N$inverted": true,
"_id": "aehoJUOQ1EMaWUwBTLQr0H" "_id": "aehoJUOQ1EMaWUwBTLQr0H"
}, },
{
"__type__": "4c474+R2whNQa8Tx3bHrnSo",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"_id": "73AMWGnm1BHaVDTyHjFA/0"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "state", "_name": "state",
...@@ -3268,13 +4307,13 @@ ...@@ -3268,13 +4307,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 66 "__id__": 89
}, },
{ {
"__id__": 68 "__id__": 91
} }
], ],
"_active": false, "_active": true,
"_components": [], "_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
...@@ -3329,13 +4368,13 @@ ...@@ -3329,13 +4368,13 @@
"_name": "bg_win", "_name": "bg_win",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 88
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 67 "__id__": 90
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3391,7 +4430,7 @@ ...@@ -3391,7 +4430,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 66 "__id__": 89
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3423,13 +4462,13 @@ ...@@ -3423,13 +4462,13 @@
"_name": "bg_lose", "_name": "bg_lose",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 88
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 69 "__id__": 92
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3456,7 +4495,7 @@ ...@@ -3456,7 +4495,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-35.684, -48.166,
0, 0,
0, 0,
0, 0,
...@@ -3485,7 +4524,7 @@ ...@@ -3485,7 +4524,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 91
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3521,28 +4560,28 @@ ...@@ -3521,28 +4560,28 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 71 "__id__": 94
}, },
{ {
"__id__": 73 "__id__": 96
}, },
{ {
"__id__": 75 "__id__": 98
}, },
{ {
"__id__": 77 "__id__": 100
}, },
{ {
"__id__": 79 "__id__": 102
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 104
}, },
{ {
"__id__": 82 "__id__": 105
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3598,13 +4637,13 @@ ...@@ -3598,13 +4637,13 @@
"_name": "speak_ske", "_name": "speak_ske",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 93
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 72 "__id__": 95
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3660,7 +4699,7 @@ ...@@ -3660,7 +4699,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 71 "__id__": 94
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3700,13 +4739,13 @@ ...@@ -3700,13 +4739,13 @@
"_name": "btn_audio_stop", "_name": "btn_audio_stop",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 93
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 74 "__id__": 97
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3762,7 +4801,7 @@ ...@@ -3762,7 +4801,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 73 "__id__": 96
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3794,13 +4833,13 @@ ...@@ -3794,13 +4833,13 @@
"_name": "btn_audio_start", "_name": "btn_audio_start",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 93
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 76 "__id__": 99
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3856,7 +4895,7 @@ ...@@ -3856,7 +4895,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 75 "__id__": 98
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3888,13 +4927,13 @@ ...@@ -3888,13 +4927,13 @@
"_name": "bg_goodjob", "_name": "bg_goodjob",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 93
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 78 "__id__": 101
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3950,7 +4989,7 @@ ...@@ -3950,7 +4989,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 77 "__id__": 100
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3982,13 +5021,13 @@ ...@@ -3982,13 +5021,13 @@
"_name": "bg_tryagain", "_name": "bg_tryagain",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 93
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 80 "__id__": 103
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4044,7 +5083,7 @@ ...@@ -4044,7 +5083,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 79 "__id__": 102
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4076,7 +5115,7 @@ ...@@ -4076,7 +5115,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 70 "__id__": 93
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -4103,9 +5142,9 @@ ...@@ -4103,9 +5142,9 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 70 "__id__": 93
}, },
"_enabled": true, "_enabled": false,
"label": null, "label": null,
"text": "hello", "text": "hello",
"_id": "a0QxSOOfRAoq9mY6LsTDR1" "_id": "a0QxSOOfRAoq9mY6LsTDR1"
...@@ -4119,25 +5158,25 @@ ...@@ -4119,25 +5158,25 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 84 "__id__": 107
}, },
{ {
"__id__": 87 "__id__": 110
}, },
{ {
"__id__": 90 "__id__": 113
}, },
{ {
"__id__": 93 "__id__": 116
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 95 "__id__": 119
}, },
{ {
"__id__": 96 "__id__": 120
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4193,16 +5232,16 @@ ...@@ -4193,16 +5232,16 @@
"_name": "panel_gray", "_name": "panel_gray",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 106
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 85 "__id__": 108
}, },
{ {
"__id__": 86 "__id__": 109
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4258,7 +5297,7 @@ ...@@ -4258,7 +5297,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 107
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4290,7 +5329,7 @@ ...@@ -4290,7 +5329,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 107
}, },
"_enabled": true, "_enabled": true,
"_id": "62GJ00ACNO+oRV9v3v/AoP" "_id": "62GJ00ACNO+oRV9v3v/AoP"
...@@ -4300,16 +5339,16 @@ ...@@ -4300,16 +5339,16 @@
"_name": "bg_vs", "_name": "bg_vs",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 106
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 88 "__id__": 111
}, },
{ {
"__id__": 89 "__id__": 112
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4365,7 +5404,7 @@ ...@@ -4365,7 +5404,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 87 "__id__": 110
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4397,7 +5436,7 @@ ...@@ -4397,7 +5436,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 87 "__id__": 110
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -4424,16 +5463,16 @@ ...@@ -4424,16 +5463,16 @@
"_name": "btn_restart", "_name": "btn_restart",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 106
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 91 "__id__": 114
}, },
{ {
"__id__": 92 "__id__": 115
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4489,7 +5528,7 @@ ...@@ -4489,7 +5528,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 113
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4521,7 +5560,7 @@ ...@@ -4521,7 +5560,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 113
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4582,7 +5621,7 @@ ...@@ -4582,7 +5621,7 @@
"hoverSprite": null, "hoverSprite": null,
"_N$disabledSprite": null, "_N$disabledSprite": null,
"_N$target": { "_N$target": {
"__id__": 90 "__id__": 113
}, },
"_id": "c3xMGcQ7tMQbslVP/3vxhi" "_id": "c3xMGcQ7tMQbslVP/3vxhi"
}, },
...@@ -4591,13 +5630,16 @@ ...@@ -4591,13 +5630,16 @@
"_name": "btn_start", "_name": "btn_start",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 106
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 94 "__id__": 117
},
{
"__id__": 118
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4653,7 +5695,7 @@ ...@@ -4653,7 +5695,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 93 "__id__": 116
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4680,16 +5722,82 @@ ...@@ -4680,16 +5722,82 @@
"_atlas": null, "_atlas": null,
"_id": "7dYzDpAcRG9JFwyw9r6gqW" "_id": "7dYzDpAcRG9JFwyw9r6gqW"
}, },
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 116
},
"_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": null,
"_id": "balGKkCv5Jva04bDkYenaN"
},
{ {
"__type__": "13dcbpvyHZOHKj1s6BUfMsR", "__type__": "13dcbpvyHZOHKj1s6BUfMsR",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 106
}, },
"_enabled": true, "_enabled": true,
"label": null,
"text": "hello",
"_id": "8dnGyEHlNHdq1T5QVoLE/I" "_id": "8dnGyEHlNHdq1T5QVoLE/I"
}, },
{ {
...@@ -4697,7 +5805,7 @@ ...@@ -4697,7 +5805,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 106
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
......
import { asyncDelay, onHomeworkFinish } from "../script/util"; import { asyncDelay, onHomeworkFinish } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent"; import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
import pg from "./pg"; import pg from "./pg";
import map from "./map"; import Game from "./Game";
import { import {
showFireworks, showFireworks,
} from '../script/utils'; } from '../script/utils';
...@@ -16,6 +16,8 @@ const CELLTYPE = { ...@@ -16,6 +16,8 @@ const CELLTYPE = {
JUMP_ROLL: 5, JUMP_ROLL: 5,
WIN: 100, WIN: 100,
} }
@ccclass @ccclass
export default class NewClass extends MyCocosSceneComponent { export default class NewClass extends MyCocosSceneComponent {
addPreloadImage() { addPreloadImage() {
...@@ -52,15 +54,18 @@ export default class NewClass extends MyCocosSceneComponent { ...@@ -52,15 +54,18 @@ export default class NewClass extends MyCocosSceneComponent {
} }
_cantouch = null; _cantouch = null;
gameData = null;
initData() { initData() {
this.log("test initData") this.log("test initData")
// 所有全局变量 默认都是null // 所有全局变量 默认都是null
this._cantouch = true; this._cantouch = true;
Game.getIns().reset();
//开始显示企鹅
} }
initView() { initView() {
this.log("test initView") this.log("test initView")
this.initTouzi();
this.initChess();
} }
initEvent() { initEvent() {
this.log("test initEvent") this.log("test initEvent")
...@@ -87,8 +92,7 @@ export default class NewClass extends MyCocosSceneComponent { ...@@ -87,8 +92,7 @@ export default class NewClass extends MyCocosSceneComponent {
} else { } else {
this.robotLevel = 2;//0 1 2 三个级别 0 最高 this.robotLevel = 2;//0 1 2 三个级别 0 最高
} }
this.initChess(); pg.event.emit("game_start_loop")
this.scheduleOnce(this.startTouzi, 2.1);
} }
onSpeakScueess() { onSpeakScueess() {
//执行后续的动作。 //执行后续的动作。
...@@ -96,203 +100,10 @@ export default class NewClass extends MyCocosSceneComponent { ...@@ -96,203 +100,10 @@ export default class NewClass extends MyCocosSceneComponent {
} }
onSpeakFail() { onSpeakFail() {
//回退到最后一个位置 //回退到最后一个位置
let cell = map[this.playerPoint];
this.jumpChess(cell, this.lastPointId).then(() => {
this.turnNext();
})
} }
turnNext() { turnNext() {
this.turnRobot = !this.turnRobot; this.turnRobot = !this.turnRobot;
this.startTouzi();
}
//-----------------------------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);
}
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('');
})
}
});
} }
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('');
})
}
});
}
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();
})
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;
}
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();
})
break;
case CELLTYPE.WIN:
this.gameOver();
break;
default:
this.turnNext();
break;
}
}, 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------------------- //----------------------------OVER-------------------
gameOver() { gameOver() {
let state = pg.view.find(this, "state"); let state = pg.view.find(this, "state");
......
// 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 {
// LIFE-CYCLE CALLBACKS:
private mask: cc.Node;
private penguin: cc.Node;
private penguin_1: cc.Node;
private penguin_2: cc.Node;
private panel_text: cc.Node;
private txt: cc.Node;
onLoad() {
this.mask = pg.view.find(this, "mask");
this.penguin = pg.view.find(this.mask, "penguin");
this.penguin_1 = pg.view.find(this.penguin, "penguin_1");
this.penguin_2 = pg.view.find(this.penguin, "penguin_2");
this.panel_text = pg.view.find(this.penguin, "panel_text");
this.txt = pg.view.find(this.panel_text, "txt");
}
start() {
let data = {
text: "info"
}
this.showAni(data);
}
showAni(data) {
this.penguin.y = -100;
this.panel_text.opacity = 0;
pg.view.setString(this.txt, data.text);
pg.view.visible(this.panel_text, true);
cc.tween(this.penguin).to(0.4, { y: 190 }).delay(1).to(0.4, { y: -100 }).delay(0.1).call(() => {
this.node.parent = null;
}).start();
cc.tween(this.panel_text).to(0.2, { opacity: 255 }).delay(1.4).to(0.2, { opacity: 0 }).start();
}
}
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "7370c8bc-0e6d-4db0-84b1-3d09cb494848", "uuid": "4c474f91-db08-4d41-af13-c776c7ae74a8",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
// 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.Node)
layout_up: cc.Node = null;
@property(cc.Node)
layout_down: cc.Node = null;
@property(cc.Node)
item: cc.Node = null;
onLoad() {
//开始一个循环定期每过一段时间激活一个
pg.event.on("game_start_loop", () => { this.startLoop() })
}
protected onDestroy(): void {
pg.event.off("game_start_loop");
}
start() {
}
startLoop() {
this.schedule(this.createItem, 1);
}
pauseLoop() {
}
stopLoop() {
}
private lastId: number;
createItem() {
console.log("createItem");
let posList = [
cc.v2(-640, -13),
cc.v2(-220, -13),
cc.v2(220, -13),
cc.v2(640, -13),
cc.v2(-640, -280),
cc.v2(-220, -280),
cc.v2(220, -280),
cc.v2(640, -280)
];
let id = Math.floor(Math.random() * posList.length);
while (id == this.lastId) {
id = Math.floor(Math.random() * posList.length);
}
this.lastId = id;
let layout = id <= 3 ? this.layout_up : this.layout_down;
let pos = posList[id];
let item = pg.view.clone(this.item);
item.x = pos.x;
item.y = pos.y;
layout.addChild(item);
}
update(dt) {
}
}
{
"ver": "1.0.8",
"uuid": "32975267-15ec-4196-84fa-2a9ccc230646",
"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
...@@ -435,6 +435,7 @@ let pg = { ...@@ -435,6 +435,7 @@ let pg = {
}, },
hw: { hw: {
playLocalAudio(audioName, loop = false) { playLocalAudio(audioName, loop = false) {
console.log("play audio->" + audioName);
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource); const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, loop); const id = cc.audioEngine.playEffect(audio.clip, loop);
......
...@@ -19,21 +19,18 @@ export default class NewClass extends cc.Component { ...@@ -19,21 +19,18 @@ export default class NewClass extends cc.Component {
text: string = 'hello'; text: string = 'hello';
// LIFE-CYCLE CALLBACKS: // LIFE-CYCLE CALLBACKS:
private text_tip: cc.Node;
private btn_audio_start: cc.Node; private btn_audio_start: cc.Node;
private btn_audio_stop: cc.Node; private btn_audio_stop: cc.Node;
private speak_ske: cc.Node; private speak_ske: cc.Node;
private bg_goodjob: cc.Node; private bg_goodjob: cc.Node;
private bg_tryagain: cc.Node; private bg_tryagain: cc.Node;
onLoad() { onLoad() {
this.text_tip = pg.view.find(this, "text_tip");
this.btn_audio_start = pg.view.find(this, "btn_audio_start"); this.btn_audio_start = pg.view.find(this, "btn_audio_start");
this.btn_audio_stop = pg.view.find(this, "btn_audio_stop"); this.btn_audio_stop = pg.view.find(this, "btn_audio_stop");
this.speak_ske = pg.view.find(this, "speak_ske"); this.speak_ske = pg.view.find(this, "speak_ske");
this.bg_goodjob = pg.view.find(this, "bg_goodjob"); this.bg_goodjob = pg.view.find(this, "bg_goodjob");
this.bg_tryagain = pg.view.find(this, "bg_tryagain"); 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_start, false);
pg.view.visible(this.btn_audio_stop, false); pg.view.visible(this.btn_audio_stop, false);
pg.view.visible(this.speak_ske, false); pg.view.visible(this.speak_ske, false);
...@@ -62,7 +59,6 @@ export default class NewClass extends cc.Component { ...@@ -62,7 +59,6 @@ export default class NewClass extends cc.Component {
if (cell) { if (cell) {
this.val = cell.value; 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_start, true);
pg.view.visible(this.btn_audio_stop, false); pg.view.visible(this.btn_audio_stop, false);
pg.view.visible(this.speak_ske, true); pg.view.visible(this.speak_ske, true);
...@@ -70,7 +66,6 @@ export default class NewClass extends cc.Component { ...@@ -70,7 +66,6 @@ export default class NewClass extends cc.Component {
pg.view.visible(this.bg_tryagain, false); pg.view.visible(this.bg_tryagain, false);
} }
close() { close() {
pg.view.visible(this.text_tip, false);
pg.view.visible(this.btn_audio_start, false); pg.view.visible(this.btn_audio_start, false);
pg.view.visible(this.btn_audio_stop, false); pg.view.visible(this.btn_audio_stop, false);
pg.view.visible(this.speak_ske, false); pg.view.visible(this.speak_ske, false);
...@@ -125,7 +120,6 @@ export default class NewClass extends cc.Component { ...@@ -125,7 +120,6 @@ export default class NewClass extends cc.Component {
onRealStop(score) { onRealStop(score) {
let db = pg.view.playDBAnimation(this.speak_ske, "newAnimation", 1); let db = pg.view.playDBAnimation(this.speak_ske, "newAnimation", 1);
db.once(dragonBones.EventObject.COMPLETE, () => { 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_start, false);
pg.view.visible(this.btn_audio_stop, false); pg.view.visible(this.btn_audio_stop, false);
pg.view.visible(this.speak_ske, false); pg.view.visible(this.speak_ske, false);
......
...@@ -4,15 +4,6 @@ const { ccclass, property } = cc._decorator; ...@@ -4,15 +4,6 @@ const { ccclass, property } = cc._decorator;
@ccclass @ccclass
export default class NewClass extends cc.Component { export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
// LIFE-CYCLE CALLBACKS:
onLoad() { onLoad() {
this.initView(); this.initView();
let panel_gray = pg.view.find(this, "panel_gray"); let panel_gray = pg.view.find(this, "panel_gray");
......
export const defaultData = { export default {
"list": "list":
[ [
{ {
"id": 0, "id": 0,
"stem": { "times": 5 }, "stem": {
"list": [{ "id": 2001, "text": "door", "pic": "", "type": "text", "right": "1" }, { "id": 2002, "text": "ijfs", "pic": "", "type": "text", "right": "1" }, { "id": 2003, "text": "", "pic": "http://staging-teach.cdn.ireadabc.com/d0414e91f8519ece2909b15cedf23f08.png", "type": "pic", "right": "0" }, { "id": 2004, "text": "", "pic": "http://staging-teach.cdn.ireadabc.com/ae28013163687fee4124a85261a7b48f.png", "type": "pic", "right": "0" }] "times": 5
},
"list": [
{
"id": 2001, "text": "door", "pic": "", "type": "text", "right": "1"
},
{
"id": 2002, "text": "ijfs", "pic": "", "type": "text", "right": "1"
},
{
"id": 2003, "text": "", "pic": "http://staging-teach.cdn.ireadabc.com/d0414e91f8519ece2909b15cedf23f08.png", "type": "pic", "right": "0"
},
{
"id": 2004, "text": "", "pic": "http://staging-teach.cdn.ireadabc.com/ae28013163687fee4124a85261a7b48f.png", "type": "pic", "right": "0"
}
]
}, },
{ {
"id": 1, "id": 1,
"stem": { "times": 4 }, "stem": {
"times": 4
},
"list": "list":
[ [
{ {
"id": 2001, "text": "window", "pic": "", "type": "text", "right": "1" "id": 2001, "text": "window", "pic": "", "type": "text", "right": "1"
}, { },
{
"id": 2002, "text": "winxa", "pic": "", "type": "text", "right": "0" "id": 2002, "text": "winxa", "pic": "", "type": "text", "right": "0"
}, { },
{
"id": 2003, "text": "indowa", "pic": "", "type": "text", "right": "0" "id": 2003, "text": "indowa", "pic": "", "type": "text", "right": "0"
}, { },
{
"id": 2004, "text": "", "pic": "http://staging-teach.cdn.ireadabc.com/444d37818d6075febadc6052af5f995b.png", "type": "pic", "right": "0" "id": 2004, "text": "", "pic": "http://staging-teach.cdn.ireadabc.com/444d37818d6075febadc6052af5f995b.png", "type": "pic", "right": "0"
} }
] ]
......
{
"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": "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
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