Commit 0f929c59 authored by Tt's avatar Tt

1

parent 05e7caf6
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "layer_ending",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 30
}
],
"_prefab": {
"__id__": 31
},
"_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": "layer_center",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 6
},
{
"__id__": 8
},
{
"__id__": 11
},
{
"__id__": 14
},
{
"__id__": 17
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 29
},
"_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": "gray_cover",
"_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": [
-0.508,
1.574,
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": {
"__id__": 0
},
"fileId": "1cfNdHF9FH3KbwZyC/Rw6p",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layer_middle",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 7
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "05udCU1VdI/agyYkkywj7D",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 153,
"height": 153
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-500.013,
-340.145,
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__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1b782eab-25d2-4314-b83a-258f7e4d7ea4"
},
"_type": 0,
"_sizeMode": 1,
"_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": {
"__id__": 0
},
"fileId": "64JkLZPOJB45Eawytu4dgS",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 512,
"height": 497.77919520611704
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-214.645,
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__": 11
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "a3fdb391-e9ad-464d-ad51-2698de2b38e1#c9537625-dbfc-4d95-a3b3-d3d672dc93e6",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "a3fdb391-e9ad-464d-ad51-2698de2b38e1"
},
"_N$dragonAtlasAsset": {
"__uuid__": "c9537625-dbfc-4d95-a3b3-d3d672dc93e6"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "15OJA0Q/JIlJbDN8f4ukZN",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "next_btn",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": {
"__id__": 16
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 153,
"height": 153
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
500.013,
-343.546,
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__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9cddc7ee-9ccf-4dd5-86a6-94b3a5d69135"
},
"_type": 0,
"_sizeMode": 1,
"_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": {
"__id__": 0
},
"fileId": "e68b5eJphElLrpxtQEdyxG",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "finish_box",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 18
},
{
"__id__": 21
},
{
"__id__": 24
}
],
"_active": true,
"_components": [
{
"__id__": 27
}
],
"_prefab": {
"__id__": 28
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 714,
"height": 166
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-204,
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": "result_text",
"_objFlags": 0,
"_parent": {
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
}
],
"_prefab": {
"__id__": 20
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 252,
"b": 232,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 221.4,
"height": 56.7
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-88,
10,
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.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "恭喜你获得",
"_N$string": "恭喜你获得",
"_fontSize": 45,
"_lineHeight": 45,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "e76aff25-445c-4315-8509-23d42bef3d57"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "eaTaVhDcBEkqwz8ACtP7x3",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
}
],
"_prefab": {
"__id__": 23
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 67,
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
83,
10,
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__": 21
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4c1488d1-d283-4f03-864e-742eedadf6d9"
},
"_type": 0,
"_sizeMode": 1,
"_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": {
"__id__": 0
},
"fileId": "13IYbTThlC5rDXn6k7swYV",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "coin_num",
"_objFlags": 0,
"_parent": {
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
}
],
"_prefab": {
"__id__": 26
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 252,
"b": 232,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55.04,
"height": 56.7
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
130.345,
10,
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.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "X5",
"_N$string": "X5",
"_fontSize": 45,
"_lineHeight": 45,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "52Z0lpksxE1JprOrhHgdow",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3180f64c-6ecd-455f-8a3d-3be96921ca7b"
},
"_type": 0,
"_sizeMode": 1,
"_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": {
"__id__": 0
},
"fileId": "911Shrt8NB/ZWFA9u7l/SL",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7cG7U7lH9Ie5/sK83LZUCP",
"sync": false
},
{
"__type__": "8aa900+eYBD775dNwfvQqgE",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "8944c192-3675-466f-9f94-8f824c68e822",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
// pg.event.on('layer_ending_touch_replay', () => {
// alert('replay')
// })
// pg.event.on('layer_ending_touch_next', () => {
// alert('next')
// })
// pg.event.emit('layer_ending_show')
import pg from "../../scene/pg_hy17_hds";
const { ccclass, property } = cc._decorator;
@ccclass
export default class LayerEnding extends cc.Component {
private layer_center: cc.Node;
private replay_btn: cc.Node;
private next_btn: cc.Node;
onLoad() {
this.layer_center = pg.view.find(this.node, "layer_center")
pg.view.visible(this.layer_center, false);
this.replay_btn = pg.view.find(this.layer_center, "replay_btn")
this.next_btn = pg.view.find(this.layer_center, "next_btn")
pg.view.touchOn(this.replay_btn, this.onTouchReplay, this)
pg.view.touchOn(this.next_btn, this.onTouchNext, this)
pg.event.on('layer_ending_show', () => {
this.showLayer();
})
}
showLayer() {
pg.view.visible(this.layer_center, true)
pg.view.setString(pg.view.find(this, 'coin_num'), 'X3');
let finish_cat = pg.view.find(this.layer_center, "finish_cat")
pg.view.playDBAnimation(finish_cat, "finish", 1);
pg.view.visible(this.layer_center, true)
}
onTouchReplay() {
pg.view.visible(this.layer_center, false)
pg.event.emit('layer_ending_touch_replay');
}
onTouchNext() {
pg.view.visible(this.layer_center, false)
pg.event.emit('layer_ending_touch_next');
}
}
{
"ver": "1.0.8",
"uuid": "8aa90d3e-7980-43ef-be5d-3707ef42a804",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
...@@ -81,19 +81,22 @@ ...@@ -81,19 +81,22 @@
"__id__": 84 "__id__": 84
}, },
{ {
"__id__": 103 "__id__": 105
},
{
"__id__": 136
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 119 "__id__": 152
}, },
{ {
"__id__": 120 "__id__": 153
}, },
{ {
"__id__": 121 "__id__": 154
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3265,7 +3268,7 @@ ...@@ -3265,7 +3268,7 @@
"__id__": 72 "__id__": 72
} }
], ],
"_active": true, "_active": false,
"_components": [], "_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
...@@ -3997,7 +4000,7 @@ ...@@ -3997,7 +4000,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "layer_finish", "_name": "layer_back",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -4007,24 +4010,21 @@ ...@@ -4007,24 +4010,21 @@
"__id__": 85 "__id__": 85
}, },
{ {
"__id__": 87 "__id__": 90
}, }
{ ],
"__id__": 89 "_active": true,
}, "_components": [
{
"__id__": 91
},
{ {
"__id__": 93 "__id__": 102
}, },
{ {
"__id__": 95 "__id__": 103
} }
], ],
"_active": false, "_prefab": {
"_components": [], "__id__": 104
"_prefab": null, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4035,8 +4035,8 @@ ...@@ -4035,8 +4035,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 1920,
"height": 0 "height": 1080
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4070,23 +4070,31 @@ ...@@ -4070,23 +4070,31 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "68dYu8KqBIroGxDJ3jRt73" "_id": "59Q4RcJrdAw7s/z4kY7iyK"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "finish_view", "_name": "btn_back",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 84 "__id__": 84
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 86 "__id__": 86
},
{
"__id__": 87
},
{
"__id__": 88
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 89
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4097,8 +4105,8 @@ ...@@ -4097,8 +4105,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1920, "width": 189,
"height": 1080 "height": 117
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4109,8 +4117,8 @@ ...@@ -4109,8 +4117,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -804.917,
0, 439.747,
0, 0,
0, 0,
0, 0,
...@@ -4132,7 +4140,7 @@ ...@@ -4132,7 +4140,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "c0h4KilVhF+aJh+zbZl9Mr" "_id": "e7CMzRguNM2pDqbkFqGFZB"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -4150,7 +4158,7 @@ ...@@ -4150,7 +4158,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "0e1692bb-fa87-43c7-9f4f-94abae3974f6" "__uuid__": "92327074-92fd-4d4a-a8aa-32f7ed514ab1"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -4164,35 +4172,153 @@ ...@@ -4164,35 +4172,153 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "bdBQKFFgBCYK9tvJODgoK5" "_id": "c6ivvfet5PLL+4646x+EI/"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_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": "d6a3thnKlFoaG2gNbRVoj8"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 60.58299999999997,
"_right": 0,
"_top": 41.752999999999986,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "aaYahlePtInpRZJQQrhjp7"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "61ulP3c3dDLb+4SfgnWK1F",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "gray_cover", "_name": "img_npc_voice",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 84 "__id__": 84
}, },
"_children": [], "_children": [
{
"__id__": 91
},
{
"__id__": 94
},
{
"__id__": 97
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 88 "__id__": 100
} }
], ],
"_prefab": null, "_prefab": {
"_opacity": 102, "__id__": 101
},
"_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 0, "r": 255,
"g": 0, "g": 255,
"b": 0, "b": 255,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 3000, "width": 0,
"height": 3000 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4203,8 +4329,8 @@ ...@@ -4203,8 +4329,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-0.508, -638.532,
1.574, 437.61,
0, 0,
0, 0,
0, 0,
...@@ -4226,55 +4352,25 @@ ...@@ -4226,55 +4352,25 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "29VU/wGmpDiKTa/IsjXask" "_id": "62zi6A9OhG5auCf1ezpLXs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
},
"_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": "68aVGU3n5AcqKLsHaJEajA"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "replay_btn", "_name": "p1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 84 "__id__": 90
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 90 "__id__": 92
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 93
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4285,8 +4381,8 @@ ...@@ -4285,8 +4381,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 153, "width": 68,
"height": 153 "height": 70
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4297,8 +4393,8 @@ ...@@ -4297,8 +4393,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-500.013, -10.611,
-340.145, 0,
0, 0,
0, 0,
0, 0,
...@@ -4320,14 +4416,14 @@ ...@@ -4320,14 +4416,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "797JaIw8RHnI1Uyn49alTD" "_id": "96UVl2fI5FpY5uwvkdE3Js"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 89 "__id__": 91
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4338,7 +4434,7 @@ ...@@ -4338,7 +4434,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "1b782eab-25d2-4314-b83a-258f7e4d7ea4" "__uuid__": "5d214bcc-ae6a-48b2-8e3e-693089d66911"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -4352,23 +4448,36 @@ ...@@ -4352,23 +4448,36 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "9anlB4U3hMep+lkN85wb/J" "_id": "83hjE/T81GULVsbZhWKEAx"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "eeSSmA+sZKe4zFitN7jaL3",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "finish_cat", "_name": "p2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 84 "__id__": 90
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 92 "__id__": 95
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 96
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4379,8 +4488,8 @@ ...@@ -4379,8 +4488,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 512, "width": 84,
"height": 497.77919520611704 "height": 70
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4391,8 +4500,8 @@ ...@@ -4391,8 +4500,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -2.806,
-214.645, -0.005,
0, 0,
0, 0,
0, 0,
...@@ -4414,14 +4523,14 @@ ...@@ -4414,14 +4523,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "11rRxH0PhKR6lS7UQUDp9r" "_id": "c6PFoBW6dMmIvDqvus6YCS"
}, },
{ {
"__type__": "dragonBones.ArmatureDisplay", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 94
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4429,16 +4538,748 @@ ...@@ -4429,16 +4538,748 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
} }
], ],
"_armatureName": "Armature", "_srcBlendFactor": 770,
"_animationName": "", "_dstBlendFactor": 771,
"_preCacheMode": 0, "_spriteFrame": {
"_cacheMode": 0, "__uuid__": "008bbd55-b1e7-4e82-bf54-f6cf40ebb738"
"playTimes": -1, },
"premultipliedAlpha": false, "_type": 0,
"_armatureKey": "a3fdb391-e9ad-464d-ad51-2698de2b38e1#c9537625-dbfc-4d95-a3b3-d3d672dc93e6", "_sizeMode": 1,
"_accTime": 0, "_fillType": 0,
"_playCount": 0, "_fillCenter": {
"_frameCache": null, "__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c4pw0jTCVGNrxPtphhZIxN"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "29QTrf+y1JVa+D/t6K2NFr",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 90
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 98
}
],
"_prefab": {
"__id__": 99
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 95,
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
2.8,
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": "e49xFNP3dKta2iEdftyBii"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "603d0882-deba-4173-8432-b9da5e547d20"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "184MuaaLhLla9GD9h8oQv3"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "4anvaDTjZFOb9U0HkCAMR2",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 321.46799999999996,
"_right": 0,
"_top": 102.38999999999999,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "0bM6OlBFVBmL+H5gqN9AzJ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "fft5aHS35DjoYobvKkISue",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "3dd2op585PeoQ8bEffZuUF"
},
{
"__type__": "7ab71itR/hJz4giCFo5yFB1",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_id": "f9YGNmNdFADac/X4cVSmcT"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layer_ending",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 106
}
],
"_active": true,
"_components": [
{
"__id__": 134
}
],
"_prefab": {
"__id__": 135
},
"_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": "68dYu8KqBIroGxDJ3jRt73"
},
{
"__type__": "cc.Node",
"_name": "layer_center",
"_objFlags": 0,
"_parent": {
"__id__": 105
},
"_children": [
{
"__id__": 107
},
{
"__id__": 110
},
{
"__id__": 112
},
{
"__id__": 115
},
{
"__id__": 118
},
{
"__id__": 121
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 133
},
"_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": "9dA4JpkABLI6JyvloPIhOJ"
},
{
"__type__": "cc.Node",
"_name": "gray_cover",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 108
}
],
"_prefab": {
"__id__": 109
},
"_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": [
-0.508,
1.574,
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": "29VU/wGmpDiKTa/IsjXask"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_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": "68aVGU3n5AcqKLsHaJEajA"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "1cfNdHF9FH3KbwZyC/Rw6p",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layer_middle",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 111
},
"_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": "2aLA2TejVAfZYNvRT0uzyd"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "05udCU1VdI/agyYkkywj7D",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 113
}
],
"_prefab": {
"__id__": 114
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 153,
"height": 153
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-500.013,
-340.145,
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": "797JaIw8RHnI1Uyn49alTD"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1b782eab-25d2-4314-b83a-258f7e4d7ea4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9anlB4U3hMep+lkN85wb/J"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "64JkLZPOJB45Eawytu4dgS",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 116
}
],
"_prefab": {
"__id__": 117
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 512,
"height": 497.77919520611704
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-214.645,
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": "11rRxH0PhKR6lS7UQUDp9r"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "a3fdb391-e9ad-464d-ad51-2698de2b38e1#c9537625-dbfc-4d95-a3b3-d3d672dc93e6",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null, "_curFrame": null,
"_playing": false, "_playing": false,
"_armatureCache": null, "_armatureCache": null,
...@@ -4456,21 +5297,34 @@ ...@@ -4456,21 +5297,34 @@
"_N$enableBatch": false, "_N$enableBatch": false,
"_id": "c2/S1O7EtNv65xpW70fYEX" "_id": "c2/S1O7EtNv65xpW70fYEX"
}, },
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "15OJA0Q/JIlJbDN8f4ukZN",
"sync": false
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "next_btn", "_name": "next_btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 84 "__id__": 106
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 94 "__id__": 119
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 120
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4523,7 +5377,7 @@ ...@@ -4523,7 +5377,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 93 "__id__": 118
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4550,31 +5404,44 @@ ...@@ -4550,31 +5404,44 @@
"_atlas": null, "_atlas": null,
"_id": "23Cg/lkZlKiKFBQY4kDgWh" "_id": "23Cg/lkZlKiKFBQY4kDgWh"
}, },
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "e68b5eJphElLrpxtQEdyxG",
"sync": false
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "finish_box", "_name": "finish_box",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 84 "__id__": 106
}, },
"_children": [ "_children": [
{ {
"__id__": 96 "__id__": 122
}, },
{ {
"__id__": 98 "__id__": 125
}, },
{ {
"__id__": 100 "__id__": 128
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 102 "__id__": 131
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 132
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4627,16 +5494,18 @@ ...@@ -4627,16 +5494,18 @@
"_name": "result_text", "_name": "result_text",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 95 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 97 "__id__": 123
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 124
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4689,7 +5558,7 @@ ...@@ -4689,7 +5558,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 96 "__id__": 122
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4719,21 +5588,34 @@ ...@@ -4719,21 +5588,34 @@
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "71g6QjM/VFfaMT9B8kXz8m" "_id": "71g6QjM/VFfaMT9B8kXz8m"
}, },
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "eaTaVhDcBEkqwz8ACtP7x3",
"sync": false
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "coin", "_name": "coin",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 95 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 99 "__id__": 126
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 127
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4786,7 +5668,7 @@ ...@@ -4786,7 +5668,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 98 "__id__": 125
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4813,21 +5695,34 @@ ...@@ -4813,21 +5695,34 @@
"_atlas": null, "_atlas": null,
"_id": "79U97xOxRHA6sRVSsAth/q" "_id": "79U97xOxRHA6sRVSsAth/q"
}, },
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "13IYbTThlC5rDXn6k7swYV",
"sync": false
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "coin_num", "_name": "coin_num",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 95 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 101 "__id__": 129
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 130
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -4843,14 +5738,14 @@ ...@@ -4843,14 +5738,14 @@
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0,
"y": 0.5 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
158, 130.345,
10, 10,
0, 0,
0, 0,
...@@ -4880,7 +5775,7 @@ ...@@ -4880,7 +5775,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 100 "__id__": 128
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4908,12 +5803,23 @@ ...@@ -4908,12 +5803,23 @@
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "8b7kF/BdREArzf3xEDKVcs" "_id": "8b7kF/BdREArzf3xEDKVcs"
}, },
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "52Z0lpksxE1JprOrhHgdow",
"sync": false
},
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 95 "__id__": 121
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4940,6 +5846,49 @@ ...@@ -4940,6 +5846,49 @@
"_atlas": null, "_atlas": null,
"_id": "694IE7RfJDXLCde/mMhSBe" "_id": "694IE7RfJDXLCde/mMhSBe"
}, },
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "911Shrt8NB/ZWFA9u7l/SL",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "7cG7U7lH9Ie5/sK83LZUCP",
"sync": false
},
{
"__type__": "8aa900+eYBD775dNwfvQqgE",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
},
"_enabled": true,
"_id": "79yZTksWZM/IkgAlqwWeJr"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 105
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "",
"sync": false
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "res", "_name": "res",
...@@ -4949,13 +5898,13 @@ ...@@ -4949,13 +5898,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 104 "__id__": 137
}, },
{ {
"__id__": 107 "__id__": 140
}, },
{ {
"__id__": 110 "__id__": 143
} }
], ],
"_active": false, "_active": false,
...@@ -5013,11 +5962,11 @@ ...@@ -5013,11 +5962,11 @@
"_name": "font", "_name": "font",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 103 "__id__": 136
}, },
"_children": [ "_children": [
{ {
"__id__": 105 "__id__": 138
} }
], ],
"_active": true, "_active": true,
...@@ -5075,13 +6024,13 @@ ...@@ -5075,13 +6024,13 @@
"_name": "BRLNSDB", "_name": "BRLNSDB",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 104 "__id__": 137
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 139
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5137,7 +6086,7 @@ ...@@ -5137,7 +6086,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 105 "__id__": 138
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5168,11 +6117,11 @@ ...@@ -5168,11 +6117,11 @@
"_name": "img", "_name": "img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 103 "__id__": 136
}, },
"_children": [ "_children": [
{ {
"__id__": 108 "__id__": 141
} }
], ],
"_active": true, "_active": true,
...@@ -5230,13 +6179,13 @@ ...@@ -5230,13 +6179,13 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 107 "__id__": 140
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 109 "__id__": 142
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5292,7 +6241,7 @@ ...@@ -5292,7 +6241,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 108 "__id__": 141
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5320,20 +6269,20 @@ ...@@ -5320,20 +6269,20 @@
"_name": "audio", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 103 "__id__": 136
}, },
"_children": [ "_children": [
{ {
"__id__": 111 "__id__": 144
}, },
{ {
"__id__": 113 "__id__": 146
}, },
{ {
"__id__": 115 "__id__": 148
}, },
{ {
"__id__": 117 "__id__": 150
} }
], ],
"_active": true, "_active": true,
...@@ -5391,13 +6340,13 @@ ...@@ -5391,13 +6340,13 @@
"_name": "btn", "_name": "btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 143
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 112 "__id__": 145
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5453,7 +6402,7 @@ ...@@ -5453,7 +6402,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 111 "__id__": 144
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5472,13 +6421,13 @@ ...@@ -5472,13 +6421,13 @@
"_name": "show", "_name": "show",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 143
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 114 "__id__": 147
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5534,7 +6483,7 @@ ...@@ -5534,7 +6483,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 113 "__id__": 146
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5553,13 +6502,13 @@ ...@@ -5553,13 +6502,13 @@
"_name": "coin", "_name": "coin",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 143
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 116 "__id__": 149
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5615,7 +6564,7 @@ ...@@ -5615,7 +6564,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 115 "__id__": 148
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5634,13 +6583,13 @@ ...@@ -5634,13 +6583,13 @@
"_name": "over", "_name": "over",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 143
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 118 "__id__": 151
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5696,7 +6645,7 @@ ...@@ -5696,7 +6645,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 117 "__id__": 150
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
......
...@@ -47,7 +47,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -47,7 +47,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
private layer_bg: cc.Node; private layer_bg: cc.Node;
private layer_game: cc.Node; private layer_game: cc.Node;
private layer_finish: cc.Node;
private res: cc.Node; private res: cc.Node;
private sentence_box: cc.Node; private sentence_box: cc.Node;
...@@ -60,7 +59,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -60,7 +59,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
initView() { initView() {
this.layer_bg = pg.view.find(this, "layer_bg") this.layer_bg = pg.view.find(this, "layer_bg")
this.layer_game = pg.view.find(this, "layer_game") this.layer_game = pg.view.find(this, "layer_game")
this.layer_finish = pg.view.find(this, "layer_finish")
this.res = pg.view.find(this, "res") this.res = pg.view.find(this, "res")
this.sentence_box = pg.view.find(this.layer_game, "sentence_box") this.sentence_box = pg.view.find(this.layer_game, "sentence_box")
...@@ -68,14 +66,16 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -68,14 +66,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
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") this.coin_area = pg.view.find(this.layer_game, "coin_area")
this.replay_btn = pg.view.find(this.layer_finish, "replay_btn")
this.next_btn = pg.view.find(this.layer_finish,"next_btn")
} }
initListener() { initListener() {
pg.view.touchOn(this.microphone_area, this.onTouchRecordEnd, this); pg.view.touchOn(this.microphone_area, this.onTouchRecordEnd, this);
pg.view.touchOn(this.replay_btn,this.onTouchReplay,this) pg.event.on('layer_ending_touch_replay', () => {
pg.view.touchOn(this.next_btn,this.onTouchNext,this) this.onTouchReplay();
})
pg.event.on('layer_ending_touch_next', () => {
this.onTouchNext();
})
} }
initGame() { initGame() {
this.current = -1; this.current = -1;
...@@ -85,8 +85,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -85,8 +85,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
return this.sentence_list[this.current]; return this.sentence_list[this.current];
} }
initSentence() { initSentence() {
if(!this.sentence_box) return if (!this.sentence_box) return
pg.view.visible(this.sentence_box,true) pg.view.visible(this.sentence_box, true)
this.current++; this.current++;
if (!this.currentQuestion) { if (!this.currentQuestion) {
this.gameOver(); this.gameOver();
...@@ -123,13 +123,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -123,13 +123,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
// this.coinShow() // this.coinShow()
} }
onTouchReplay(){ onTouchReplay() {
pg.view.visible(this.layer_finish,false)
this.initGame() this.initGame()
} }
onTouchNext(){ onTouchNext() {
pg.view.visible(this.layer_finish,false)
this.initGame() this.initGame()
} }
...@@ -141,8 +139,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -141,8 +139,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
private recording: boolean; private recording: boolean;
private microPhoneChange: boolean; private microPhoneChange: boolean;
private replay_btn:cc.Node;
private next_btn:cc.Node;
showTimeStart() { showTimeStart() {
if (!this.targetTime) return; if (!this.targetTime) return;
let nowTime = new Date().getTime(); let nowTime = new Date().getTime();
...@@ -315,10 +311,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -315,10 +311,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
gameOver() { gameOver() {
pg.view.visible(this.sentence_box,false) pg.view.visible(this.sentence_box, false)
let finish_cat = pg.view.find(this.layer_finish,"finish_cat") pg.event.emit('layer_ending_show')
pg.view.playDBAnimation(finish_cat, "finish", 1);
pg.view.visible(this.layer_finish,true)
} }
} }
......
{
"ver": "2.3.5",
"uuid": "5280a8a9-de36-4f7e-aca7-6cac4ad3cfd5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1080,
"platformSettings": {},
"subMetas": {
"finish_view_hy17_hds": {
"ver": "1.0.4",
"uuid": "0e1692bb-fa87-43c7-9f4f-94abae3974f6",
"rawTextureUuid": "5280a8a9-de36-4f7e-aca7-6cac4ad3cfd5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 1080,
"rawWidth": 1920,
"rawHeight": 1080,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"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