Commit d8fc8a8c authored by Tt's avatar Tt

获取硬币

parent 4d671167
{
"ver": "1.1.2",
"uuid": "30c39c1a-c617-465b-882f-d61ad94c8edd",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "layer_coin",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 16
}
],
"_prefab": {
"__id__": 17
},
"_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": ""
},
{
"__type__": "cc.Node",
"_name": "layout_center",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 6
},
{
"__id__": 9
},
{
"__id__": 12
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 15
},
"_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": ""
},
{
"__type__": "cc.Node",
"_name": "bg_gray",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_opacity": 102,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 3000,
"height": 3000
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
47.112,
11.778,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "adm8kBzH9HDL0yNTkOoNZO",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "aniNode1",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 666.0255708350624,
"height": 304.2308109319082
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
50.804,
-3.435,
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": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "three",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "4c8b7a1c-163d-4358-811b-1c79de3c9b9b#d0a6e7e0-94c8-4828-bd3e-ab5d98f0a611",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "4c8b7a1c-163d-4358-811b-1c79de3c9b9b"
},
"_N$dragonAtlasAsset": {
"__uuid__": "d0a6e7e0-94c8-4828-bd3e-ab5d98f0a611"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "63iyJKJbRIJ4rv8EKr2oF0",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "aniNode2",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_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": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "two",
"_preCacheMode": -1,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "f011f737-1f65-490f-b1ca-1a960c98d8f9"
},
"_N$dragonAtlasAsset": null,
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "c6Hl8henxOxrh4ppMincco",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "aniNode3",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 13
}
],
"_prefab": {
"__id__": 14
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 666.0255708350624,
"height": 304.2308109319082
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
50.804,
-3.435,
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": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "three",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "4c8b7a1c-163d-4358-811b-1c79de3c9b9b#d0a6e7e0-94c8-4828-bd3e-ab5d98f0a611",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "4c8b7a1c-163d-4358-811b-1c79de3c9b9b"
},
"_N$dragonAtlasAsset": {
"__uuid__": "d0a6e7e0-94c8-4828-bd3e-ab5d98f0a611"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "e1DhwVfNlC3Y7kDIyCry0m",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "a2tpK1wadIapdt6ho6M6te",
"sync": false
},
{
"__type__": "72802EOwh1KuKnBHYcntgZY",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "a9b135f6-de46-4257-8be2-55dc863ce747",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
// pg.event.emit('layer_coin_show_coin')
// pg.event.on('layer_coin_show_coin_end',()=>{})
import pg from "../../scene/pg_hy17_hds";
const { ccclass, property } = cc._decorator;
@ccclass
export default class LayerCoin extends cc.Component {
private layout_center;
onLoad() {
pg.event.on('layer_coin_show_coin', (num) => { this.showCoin(num) });
this.layout_center = pg.view.find(this, 'layout_center')
}
showCoin(num) {
pg.view.visible(this.layout_center, true)
let coinAni = null;
pg.view.visible(pg.view.find(this.layout_center, "aniNode1"), false)
pg.view.visible(pg.view.find(this.layout_center, "aniNode2"), false)
pg.view.visible(pg.view.find(this.layout_center, "aniNode3"), false)
switch (num) {
case 1:
coinAni = pg.view.find(this.layout_center, "aniNode1");
coinAni.active = true;
pg.view.addEventDBAnimation(coinAni, this.hideCoin, this);
pg.view.playDBAnimation(coinAni, "one");
pg.hw.playLocalAudio('coin');
break;
case 2:
coinAni = pg.view.find(this.layout_center, "aniNode2");
coinAni.active = true;
pg.view.addEventDBAnimation(coinAni, this.hideCoin, this);
pg.view.playDBAnimation(coinAni, "two");
pg.hw.playLocalAudio('coin');
this.scheduleOnce(() => {
pg.hw.playLocalAudio('coin');
}, 0.3)
break;
case 3:
coinAni = pg.view.find(this.layout_center, "aniNode3");
coinAni.active = true;
pg.view.addEventDBAnimation(coinAni, this.hideCoin, this);
pg.view.playDBAnimation(coinAni, "three");
pg.hw.playLocalAudio('coin');
this.scheduleOnce(() => {
pg.hw.playLocalAudio('coin');
}, 0.3)
this.scheduleOnce(() => {
pg.hw.playLocalAudio('coin');
}, 0.6)
break;
}
}
hideCoin() {
this.scheduleOnce(() => {
pg.view.visible(this.layout_center, false)
pg.event.emit('layer_coin_show_coin_end')
}, 1.0)
}
}
{
"ver": "1.0.8",
"uuid": "7280210e-c21d-4ab8-a9c1-1d8727b60658",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
...@@ -78,25 +78,28 @@ ...@@ -78,25 +78,28 @@
"__id__": 62 "__id__": 62
}, },
{ {
"__id__": 84 "__id__": 79
}, },
{ {
"__id__": 105 "__id__": 96
}, },
{ {
"__id__": 121 "__id__": 117
},
{
"__id__": 133
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 160 "__id__": 172
}, },
{ {
"__id__": 161 "__id__": 173
}, },
{ {
"__id__": 162 "__id__": 174
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2866,9 +2869,6 @@ ...@@ -2866,9 +2869,6 @@
}, },
{ {
"__id__": 65 "__id__": 65
},
{
"__id__": 79
} }
], ],
"_active": true, "_active": true,
...@@ -3739,22 +3739,98 @@ ...@@ -3739,22 +3739,98 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "coin_area", "_name": "layer_coin",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 62 "__id__": 2
}, },
"_children": [ "_children": [
{ {
"__id__": 80 "__id__": 80
}
],
"_active": true,
"_components": [
{
"__id__": 94
}
],
"_prefab": {
"__id__": 95
},
"_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": "2fQG7atFJM0YqHZTpHfPHL"
},
{
"__type__": "cc.Node",
"_name": "layout_center",
"_objFlags": 0,
"_parent": {
"__id__": 79
},
"_children": [
{
"__id__": 81
}, },
{ {
"__id__": 82 "__id__": 84
},
{
"__id__": 87
},
{
"__id__": 90
} }
], ],
"_active": false, "_active": false,
"_components": [], "_components": [],
"_prefab": null, "_prefab": {
"__id__": 93
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -3800,23 +3876,25 @@ ...@@ -3800,23 +3876,25 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "9bBHy6CTNPEaL6bn0AEg5u" "_id": "999AaMO0NNzbnP8qNBS9Vu"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "gray_cover", "_name": "bg_gray",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 79 "__id__": 80
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 82
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 83
},
"_opacity": 102, "_opacity": 102,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -3862,14 +3940,14 @@ ...@@ -3862,14 +3940,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "11ygytIxhOZKiqpDuvfcWL" "_id": "b9A/V5v1xHF6GaBZuHcCY1"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 80 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3894,23 +3972,36 @@ ...@@ -3894,23 +3972,36 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "adg6mz9jBG+YZR24a4tcAM" "_id": "dbchS5rgpGFbQ3x7HcLGi9"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 79
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "adm8kBzH9HDL0yNTkOoNZO",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "coin1_ske", "_name": "aniNode1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 79 "__id__": 80
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 83 "__id__": 85
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 86
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -3956,14 +4047,14 @@ ...@@ -3956,14 +4047,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "cdjbXmmJpG5puOlz2nZWCo" "_id": "d2QaTvLzNEzLk6/+JAiGOg"
}, },
{ {
"__type__": "dragonBones.ArmatureDisplay", "__type__": "dragonBones.ArmatureDisplay",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 82 "__id__": 84
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3996,34 +4087,35 @@ ...@@ -3996,34 +4087,35 @@
"_N$timeScale": 1, "_N$timeScale": 1,
"_N$debugBones": false, "_N$debugBones": false,
"_N$enableBatch": false, "_N$enableBatch": false,
"_id": "6c0xQbW6FJa46QHPdmD05g" "_id": "58gFrcycBPFZB5rjCzZtcI"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 79
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "63iyJKJbRIJ4rv8EKr2oF0",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "layer_back_hy17_hds", "_name": "aniNode2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 80
}, },
"_children": [ "_children": [],
{ "_active": false,
"__id__": 85
},
{
"__id__": 90
}
],
"_active": true,
"_components": [ "_components": [
{ {
"__id__": 102 "__id__": 88
},
{
"__id__": 103
} }
], ],
"_prefab": { "_prefab": {
"__id__": 104 "__id__": 89
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4035,8 +4127,8 @@ ...@@ -4035,8 +4127,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1920, "width": 0,
"height": 1080 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4070,30 +4162,73 @@ ...@@ -4070,30 +4162,73 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "86+2LZ5yFJdYc8noxLXZZc" "_id": "4emytDCjlFiJ6YP6poSrmV"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "two",
"_preCacheMode": -1,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "f011f737-1f65-490f-b1ca-1a960c98d8f9"
},
"_N$dragonAtlasAsset": null,
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "883YJlclRKJZ6n6c/K3LsO"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 79
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "c6Hl8henxOxrh4ppMincco",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn_back", "_name": "aniNode3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 84 "__id__": 80
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 86 "__id__": 91
},
{
"__id__": 87
},
{
"__id__": 88
} }
], ],
"_prefab": { "_prefab": {
"__id__": 89 "__id__": 92
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4105,8 +4240,8 @@ ...@@ -4105,8 +4240,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 189, "width": 666.0255708350624,
"height": 117 "height": 304.2308109319082
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4117,8 +4252,8 @@ ...@@ -4117,8 +4252,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-804.917, 50.804,
439.747, -3.435,
0, 0,
0, 0,
0, 0,
...@@ -4140,14 +4275,14 @@ ...@@ -4140,14 +4275,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "21YHtxQk5BXrq6QcXidteH" "_id": "76EaSF7bpEILpkx5sui58J"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "dragonBones.ArmatureDisplay",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 85 "__id__": 90
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4155,31 +4290,258 @@ ...@@ -4155,31 +4290,258 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
} }
], ],
"_srcBlendFactor": 770, "_armatureName": "Armature",
"_dstBlendFactor": 771, "_animationName": "three",
"_spriteFrame": { "_preCacheMode": 0,
"__uuid__": "92327074-92fd-4d4a-a8aa-32f7ed514ab1" "_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "4c8b7a1c-163d-4358-811b-1c79de3c9b9b#d0a6e7e0-94c8-4828-bd3e-ab5d98f0a611",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "4c8b7a1c-163d-4358-811b-1c79de3c9b9b"
}, },
"_type": 0, "_N$dragonAtlasAsset": {
"_sizeMode": 1, "__uuid__": "d0a6e7e0-94c8-4828-bd3e-ab5d98f0a611"
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
}, },
"_fillStart": 0, "_N$_defaultArmatureIndex": 0,
"_fillRange": 0, "_N$_animationIndex": 1,
"_isTrimmedMode": true, "_N$_defaultCacheMode": 0,
"_atlas": null, "_N$timeScale": 1,
"_id": "c3bqF0RjRILKCBZFAa/4aq" "_N$debugBones": false,
"_N$enableBatch": false,
"_id": "f8kEi9eElGg67YY0ce9Dpd"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.PrefabInfo",
"root": {
"__id__": 79
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "e1DhwVfNlC3Y7kDIyCry0m",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 79
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "a2tpK1wadIapdt6ho6M6te",
"sync": false
},
{
"__type__": "72802EOwh1KuKnBHYcntgZY",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 85 "__id__": 79
},
"_enabled": true,
"_id": "a0QVC0FFVH6ZLl20Abib+x"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 79
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layer_back_hy17_hds",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 97
},
{
"__id__": 102
}
],
"_active": true,
"_components": [
{
"__id__": 114
},
{
"__id__": 115
}
],
"_prefab": {
"__id__": 116
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "86+2LZ5yFJdYc8noxLXZZc"
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 96
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
},
{
"__id__": 99
},
{
"__id__": 100
}
],
"_prefab": {
"__id__": 101
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 189,
"height": 117
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-804.917,
439.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": "21YHtxQk5BXrq6QcXidteH"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "92327074-92fd-4d4a-a8aa-32f7ed514ab1"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c3bqF0RjRILKCBZFAa/4aq"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4247,7 +4609,7 @@ ...@@ -4247,7 +4609,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 85 "__id__": 97
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -4272,7 +4634,7 @@ ...@@ -4272,7 +4634,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 84 "__id__": 96
}, },
"asset": { "asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d" "__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...@@ -4285,27 +4647,27 @@ ...@@ -4285,27 +4647,27 @@
"_name": "img_npc_voice", "_name": "img_npc_voice",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 84 "__id__": 96
}, },
"_children": [ "_children": [
{ {
"__id__": 91 "__id__": 103
}, },
{ {
"__id__": 94 "__id__": 106
}, },
{ {
"__id__": 97 "__id__": 109
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 100 "__id__": 112
} }
], ],
"_prefab": { "_prefab": {
"__id__": 101 "__id__": 113
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4359,17 +4721,17 @@ ...@@ -4359,17 +4721,17 @@
"_name": "p1", "_name": "p1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 90 "__id__": 102
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 92 "__id__": 104
} }
], ],
"_prefab": { "_prefab": {
"__id__": 93 "__id__": 105
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4423,7 +4785,7 @@ ...@@ -4423,7 +4785,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 103
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4453,7 +4815,7 @@ ...@@ -4453,7 +4815,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 84 "__id__": 96
}, },
"asset": { "asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d" "__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...@@ -4466,17 +4828,17 @@ ...@@ -4466,17 +4828,17 @@
"_name": "p2", "_name": "p2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 90 "__id__": 102
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 95 "__id__": 107
} }
], ],
"_prefab": { "_prefab": {
"__id__": 96 "__id__": 108
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4530,7 +4892,7 @@ ...@@ -4530,7 +4892,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 94 "__id__": 106
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4560,7 +4922,7 @@ ...@@ -4560,7 +4922,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 84 "__id__": 96
}, },
"asset": { "asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d" "__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...@@ -4573,17 +4935,17 @@ ...@@ -4573,17 +4935,17 @@
"_name": "p3", "_name": "p3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 90 "__id__": 102
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 98 "__id__": 110
} }
], ],
"_prefab": { "_prefab": {
"__id__": 99 "__id__": 111
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4637,7 +4999,7 @@ ...@@ -4637,7 +4999,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 97 "__id__": 109
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4667,7 +5029,7 @@ ...@@ -4667,7 +5029,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 84 "__id__": 96
}, },
"asset": { "asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d" "__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...@@ -4680,7 +5042,7 @@ ...@@ -4680,7 +5042,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 102
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -4705,7 +5067,7 @@ ...@@ -4705,7 +5067,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 84 "__id__": 96
}, },
"asset": { "asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d" "__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...@@ -4718,7 +5080,7 @@ ...@@ -4718,7 +5080,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 96
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -4745,7 +5107,7 @@ ...@@ -4745,7 +5107,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 96
}, },
"_enabled": true, "_enabled": true,
"_id": "83Pdr6PU9BUoRB9BwC31cQ" "_id": "83Pdr6PU9BUoRB9BwC31cQ"
...@@ -4753,7 +5115,7 @@ ...@@ -4753,7 +5115,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 84 "__id__": 96
}, },
"asset": { "asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d" "__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...@@ -4770,13 +5132,13 @@ ...@@ -4770,13 +5132,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 106 "__id__": 118
}, },
{ {
"__id__": 109 "__id__": 121
}, },
{ {
"__id__": 112 "__id__": 124
} }
], ],
"_active": false, "_active": false,
...@@ -4834,11 +5196,11 @@ ...@@ -4834,11 +5196,11 @@
"_name": "font", "_name": "font",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 105 "__id__": 117
}, },
"_children": [ "_children": [
{ {
"__id__": 107 "__id__": 119
} }
], ],
"_active": true, "_active": true,
...@@ -4896,13 +5258,13 @@ ...@@ -4896,13 +5258,13 @@
"_name": "BRLNSDB", "_name": "BRLNSDB",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 106 "__id__": 118
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 108 "__id__": 120
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4958,7 +5320,7 @@ ...@@ -4958,7 +5320,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 107 "__id__": 119
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -4989,11 +5351,11 @@ ...@@ -4989,11 +5351,11 @@
"_name": "img", "_name": "img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 105 "__id__": 117
}, },
"_children": [ "_children": [
{ {
"__id__": 110 "__id__": 122
} }
], ],
"_active": true, "_active": true,
...@@ -5051,13 +5413,13 @@ ...@@ -5051,13 +5413,13 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 109 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 111 "__id__": 123
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5113,7 +5475,7 @@ ...@@ -5113,7 +5475,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 110 "__id__": 122
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5141,20 +5503,20 @@ ...@@ -5141,20 +5503,20 @@
"_name": "audio", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 105 "__id__": 117
}, },
"_children": [ "_children": [
{ {
"__id__": 113 "__id__": 125
}, },
{ {
"__id__": 115 "__id__": 127
}, },
{ {
"__id__": 117 "__id__": 129
}, },
{ {
"__id__": 119 "__id__": 131
} }
], ],
"_active": true, "_active": true,
...@@ -5212,13 +5574,13 @@ ...@@ -5212,13 +5574,13 @@
"_name": "btn", "_name": "btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 112 "__id__": 124
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 114 "__id__": 126
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5274,7 +5636,7 @@ ...@@ -5274,7 +5636,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 113 "__id__": 125
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5293,13 +5655,13 @@ ...@@ -5293,13 +5655,13 @@
"_name": "show", "_name": "show",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 112 "__id__": 124
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 116 "__id__": 128
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5355,7 +5717,7 @@ ...@@ -5355,7 +5717,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 115 "__id__": 127
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5374,13 +5736,13 @@ ...@@ -5374,13 +5736,13 @@
"_name": "coin", "_name": "coin",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 112 "__id__": 124
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 118 "__id__": 130
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5436,7 +5798,7 @@ ...@@ -5436,7 +5798,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 117 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5455,13 +5817,13 @@ ...@@ -5455,13 +5817,13 @@
"_name": "over", "_name": "over",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 112 "__id__": 124
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 120 "__id__": 132
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5517,7 +5879,7 @@ ...@@ -5517,7 +5879,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 119 "__id__": 131
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5540,20 +5902,20 @@ ...@@ -5540,20 +5902,20 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 122 "__id__": 134
}, },
{ {
"__id__": 153 "__id__": 165
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 158 "__id__": 170
} }
], ],
"_prefab": { "_prefab": {
"__id__": 159 "__id__": 171
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5607,35 +5969,35 @@ ...@@ -5607,35 +5969,35 @@
"_name": "layer_center", "_name": "layer_center",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 133
}, },
"_children": [ "_children": [
{ {
"__id__": 123 "__id__": 135
}, },
{ {
"__id__": 126 "__id__": 138
}, },
{ {
"__id__": 128 "__id__": 140
}, },
{ {
"__id__": 131 "__id__": 143
}, },
{ {
"__id__": 134 "__id__": 146
}, },
{ {
"__id__": 137 "__id__": 149
}, },
{ {
"__id__": 140 "__id__": 152
} }
], ],
"_active": false, "_active": false,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 152 "__id__": 164
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5689,17 +6051,17 @@ ...@@ -5689,17 +6051,17 @@
"_name": "gray_cover", "_name": "gray_cover",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 122 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 124 "__id__": 136
} }
], ],
"_prefab": { "_prefab": {
"__id__": 125 "__id__": 137
}, },
"_opacity": 102, "_opacity": 102,
"_color": { "_color": {
...@@ -5753,7 +6115,7 @@ ...@@ -5753,7 +6115,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 123 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5783,7 +6145,7 @@ ...@@ -5783,7 +6145,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -5796,13 +6158,13 @@ ...@@ -5796,13 +6158,13 @@
"_name": "layer_middle", "_name": "layer_middle",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 122 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 127 "__id__": 139
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5854,7 +6216,7 @@ ...@@ -5854,7 +6216,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -5867,17 +6229,17 @@ ...@@ -5867,17 +6229,17 @@
"_name": "replay_btn", "_name": "replay_btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 122 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 129 "__id__": 141
} }
], ],
"_prefab": { "_prefab": {
"__id__": 130 "__id__": 142
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5931,7 +6293,7 @@ ...@@ -5931,7 +6293,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 128 "__id__": 140
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5961,7 +6323,7 @@ ...@@ -5961,7 +6323,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -5974,17 +6336,17 @@ ...@@ -5974,17 +6336,17 @@
"_name": "bg_light", "_name": "bg_light",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 122 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 132 "__id__": 144
} }
], ],
"_prefab": { "_prefab": {
"__id__": 133 "__id__": 145
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6038,7 +6400,7 @@ ...@@ -6038,7 +6400,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 143
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6068,7 +6430,7 @@ ...@@ -6068,7 +6430,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6081,17 +6443,17 @@ ...@@ -6081,17 +6443,17 @@
"_name": "finish_cat", "_name": "finish_cat",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 122 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 135 "__id__": 147
} }
], ],
"_prefab": { "_prefab": {
"__id__": 136 "__id__": 148
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6145,7 +6507,7 @@ ...@@ -6145,7 +6507,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 134 "__id__": 146
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6183,7 +6545,7 @@ ...@@ -6183,7 +6545,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6196,17 +6558,17 @@ ...@@ -6196,17 +6558,17 @@
"_name": "next_btn", "_name": "next_btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 122 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 138 "__id__": 150
} }
], ],
"_prefab": { "_prefab": {
"__id__": 139 "__id__": 151
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6260,7 +6622,7 @@ ...@@ -6260,7 +6622,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 137 "__id__": 149
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6290,7 +6652,7 @@ ...@@ -6290,7 +6652,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6303,27 +6665,27 @@ ...@@ -6303,27 +6665,27 @@
"_name": "finish_box", "_name": "finish_box",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 122 "__id__": 134
}, },
"_children": [ "_children": [
{ {
"__id__": 141 "__id__": 153
}, },
{ {
"__id__": 144 "__id__": 156
}, },
{ {
"__id__": 147 "__id__": 159
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 150 "__id__": 162
} }
], ],
"_prefab": { "_prefab": {
"__id__": 151 "__id__": 163
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6377,17 +6739,17 @@ ...@@ -6377,17 +6739,17 @@
"_name": "result_text", "_name": "result_text",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 152
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 142 "__id__": 154
} }
], ],
"_prefab": { "_prefab": {
"__id__": 143 "__id__": 155
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6441,7 +6803,7 @@ ...@@ -6441,7 +6803,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 141 "__id__": 153
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6474,7 +6836,7 @@ ...@@ -6474,7 +6836,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6487,17 +6849,17 @@ ...@@ -6487,17 +6849,17 @@
"_name": "coin", "_name": "coin",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 152
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 145 "__id__": 157
} }
], ],
"_prefab": { "_prefab": {
"__id__": 146 "__id__": 158
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6551,7 +6913,7 @@ ...@@ -6551,7 +6913,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 144 "__id__": 156
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6581,7 +6943,7 @@ ...@@ -6581,7 +6943,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6594,17 +6956,17 @@ ...@@ -6594,17 +6956,17 @@
"_name": "coin_num", "_name": "coin_num",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 152
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 148 "__id__": 160
} }
], ],
"_prefab": { "_prefab": {
"__id__": 149 "__id__": 161
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6658,7 +7020,7 @@ ...@@ -6658,7 +7020,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 147 "__id__": 159
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6689,7 +7051,7 @@ ...@@ -6689,7 +7051,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6702,7 +7064,7 @@ ...@@ -6702,7 +7064,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 140 "__id__": 152
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6732,7 +7094,7 @@ ...@@ -6732,7 +7094,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6743,7 +7105,7 @@ ...@@ -6743,7 +7105,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6756,17 +7118,17 @@ ...@@ -6756,17 +7118,17 @@
"_name": "res", "_name": "res",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 133
}, },
"_children": [ "_children": [
{ {
"__id__": 154 "__id__": 166
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 157 "__id__": 169
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6820,17 +7182,17 @@ ...@@ -6820,17 +7182,17 @@
"_name": "ending", "_name": "ending",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 153 "__id__": 165
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 155 "__id__": 167
} }
], ],
"_prefab": { "_prefab": {
"__id__": 156 "__id__": 168
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6884,7 +7246,7 @@ ...@@ -6884,7 +7246,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 154 "__id__": 166
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -6901,7 +7263,7 @@ ...@@ -6901,7 +7263,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6912,7 +7274,7 @@ ...@@ -6912,7 +7274,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...@@ -6925,7 +7287,7 @@ ...@@ -6925,7 +7287,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 121 "__id__": 133
}, },
"_enabled": true, "_enabled": true,
"_id": "14JWQRWWhLs6H4AT7JgNhq" "_id": "14JWQRWWhLs6H4AT7JgNhq"
...@@ -6933,7 +7295,7 @@ ...@@ -6933,7 +7295,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 121 "__id__": 133
}, },
"asset": { "asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822" "__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......
...@@ -58,7 +58,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -58,7 +58,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
private time: cc.Node; private time: cc.Node;
private microphone_area: cc.Node; private microphone_area: cc.Node;
private coin_area: cc.Node;
initView() { initView() {
this.layer_bg = pg.view.find(this, "layer_bg") this.layer_bg = pg.view.find(this, "layer_bg")
...@@ -69,7 +68,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -69,7 +68,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.microphone_area = pg.view.find(this.sentence_box, "microphone_area"); this.microphone_area = pg.view.find(this.sentence_box, "microphone_area");
this.time_area = pg.view.find(this.microphone_area, "time_area") this.time_area = pg.view.find(this.microphone_area, "time_area")
this.time = pg.view.find(this.time_area, "time") this.time = pg.view.find(this.time_area, "time")
this.coin_area = pg.view.find(this.layer_game, "coin_area")
} }
initListener() { initListener() {
...@@ -140,8 +138,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -140,8 +138,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.playBtnAudio() this.playBtnAudio()
this.initGame() this.initGame()
} }
playBtnAudio(){ playBtnAudio() {
let btn_audio = pg.view.find(this.res,"audio/btn") let btn_audio = pg.view.find(this.res, "audio/btn")
pg.audio.playLocalAudio(btn_audio) pg.audio.playLocalAudio(btn_audio)
} }
...@@ -262,9 +260,18 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -262,9 +260,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.playBgAnimation(); this.playBgAnimation();
this.playVoice().then(() => { this.playVoice().then(() => {
this.stopBgAnimation(); this.stopBgAnimation();
this.showCoin(); pg.event.on('layer_coin_show_coin_end', () => {
this.hideCoin();
})
pg.event.emit('layer_coin_show_coin', 3)
}); });
} }
hideCoin() {
this.scheduleOnce(() => {
pg.view.visible(this.time_area, false)
this.initSentence();
}, 0.5)
}
playVoice() { playVoice() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
// setTimeout(() => { // setTimeout(() => {
...@@ -302,27 +309,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -302,27 +309,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.view.visible(icon_mountain, false) pg.view.visible(icon_mountain, false)
} }
showCoin() {
pg.view.visible(this.time_area, false)
pg.view.visible(this.coin_area, true)
let coinAni = pg.view.find(this.coin_area, "coin1_ske");
pg.view.addEventDBAnimation(coinAni, this.hideCoin, this);
pg.view.playDBAnimation(coinAni, "three", 1);
pg.hw.playLocalAudio('coin');
this.scheduleOnce(() => {
pg.hw.playLocalAudio('coin');
}, 0.3)
this.scheduleOnce(() => {
pg.hw.playLocalAudio('coin');
}, 0.6)
}
hideCoin() {
this.scheduleOnce(() => {
pg.view.visible(this.time_area, false)
pg.view.visible(this.coin_area, false)
this.initSentence();
}, 0.5)
}
gameOver() { gameOver() {
pg.view.visible(this.sentence_box, false) pg.view.visible(this.sentence_box, false)
......
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