Commit 247ea653 authored by Lwd's avatar Lwd

commit

parent e44191d5
{"ver":"1.1.2","uuid":"551f3197-dce7-4bd2-a290-e784ab1d271a","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}} {
\ No newline at end of file "ver": "1.1.2",
"uuid": "551f3197-dce7-4bd2-a290-e784ab1d271a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
"__id__": 2 "__id__": 2
}, },
{ {
"__id__": 39 "__id__": 54
}, },
{ {
"__id__": 65 "__id__": 80
} }
], ],
"_active": false, "_active": false,
...@@ -84,31 +84,28 @@ ...@@ -84,31 +84,28 @@
"__id__": 8 "__id__": 8
}, },
{ {
"__id__": 21 "__id__": 40
},
{
"__id__": 25
}, },
{ {
"__id__": 27 "__id__": 42
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 34 "__id__": 49
}, },
{ {
"__id__": 35 "__id__": 50
}, },
{ {
"__id__": 36 "__id__": 51
}, },
{ {
"__id__": 37 "__id__": 52
}, },
{ {
"__id__": 38 "__id__": 53
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -400,6 +397,15 @@ ...@@ -400,6 +397,15 @@
}, },
{ {
"__id__": 18 "__id__": 18
},
{
"__id__": 20
},
{
"__id__": 31
},
{
"__id__": 37
} }
], ],
"_active": true, "_active": true,
...@@ -706,7 +712,7 @@ ...@@ -706,7 +712,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "dragCat", "_name": "Layout",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 8 "__id__": 8
...@@ -732,8 +738,8 @@ ...@@ -732,8 +738,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 362.61, "width": 1765,
"height": 483.56 "height": 150
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -744,8 +750,8 @@ ...@@ -744,8 +750,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
5.684341886080802e-14, 0,
2.842170943040401e-14, 513.927,
0, 0,
0, 0,
0, 0,
...@@ -767,47 +773,39 @@ ...@@ -767,47 +773,39 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "b7y808I9pBvJErUhhu7376" "_id": "b8E5/zspJBDKcBioifIT4Q"
}, },
{ {
"__type__": "dragonBones.ArmatureDisplay", "__type__": "cc.Layout",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 15 "__id__": 15
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_layoutSize": {
{ "__type__": "cc.Size",
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "width": 1765,
} "height": 150
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "600b0af1-92f2-4139-8ae5-b53eb5cd9bec#da99fa22-02ff-4d47-a6d2-34d0447f83db",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "600b0af1-92f2-4139-8ae5-b53eb5cd9bec"
}, },
"_N$dragonAtlasAsset": { "_resize": 1,
"__uuid__": "da99fa22-02ff-4d47-a6d2-34d0447f83db" "_N$layoutType": 1,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
}, },
"_N$_defaultArmatureIndex": 0, "_N$startAxis": 0,
"_N$_animationIndex": 0, "_N$paddingLeft": 0,
"_N$_defaultCacheMode": 0, "_N$paddingRight": 0,
"_N$timeScale": 1, "_N$paddingTop": 0,
"_N$debugBones": false, "_N$paddingBottom": 0,
"_N$enableBatch": false, "_N$spacingX": 105,
"_id": "72DZ23zBJPjYhQ35ItU8Mw" "_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "f5HrgM5vtEe5SPDHKUpl3l"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
...@@ -817,13 +815,13 @@ ...@@ -817,13 +815,13 @@
"__id__": 15 "__id__": 15
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 36, "_alignFlags": 41,
"_left": 0, "_left": 205.5,
"_right": 906.6949999999999, "_right": 205.5,
"_top": 0, "_top": 211.07299999999998,
"_bottom": 558.22, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
...@@ -832,25 +830,22 @@ ...@@ -832,25 +830,22 @@
"_isAbsBottom": true, "_isAbsBottom": true,
"_isAbsHorizontalCenter": true, "_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true, "_isAbsVerticalCenter": true,
"_originalWidth": 0, "_originalWidth": 1765,
"_originalHeight": 0, "_originalHeight": 0,
"_id": "8bl2eTcTdKkommLr9UjMB9" "_id": "82JRL1SzFEobHDpmLpuDKd"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Layout", "_name": "icon_hand",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 8 "__id__": 8
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 19 "__id__": 19
},
{
"__id__": 20
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -864,20 +859,20 @@ ...@@ -864,20 +859,20 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1765, "width": 88,
"height": 150 "height": 185
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
513.927, 0,
0, 0,
0, 0,
0, 0,
...@@ -899,97 +894,848 @@ ...@@ -899,97 +894,848 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "b8E5/zspJBDKcBioifIT4Q" "_id": "bd+BQnrNNMgrN6aLxZh0Iq"
}, },
{ {
"__type__": "cc.Layout", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 18 "__id__": 18
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_materials": [
"__type__": "cc.Size", {
"width": 1765, "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"height": 150 }
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5bb2bddc-57f4-49fc-9ab4-0d4583cb903b"
}, },
"_resize": 1, "_type": 0,
"_N$layoutType": 1, "_sizeMode": 1,
"_N$cellSize": { "_fillType": 0,
"__type__": "cc.Size", "_fillCenter": {
"width": 40, "__type__": "cc.Vec2",
"height": 40 "x": 0,
"y": 0
}, },
"_N$startAxis": 0, "_fillStart": 0,
"_N$paddingLeft": 0, "_fillRange": 0,
"_N$paddingRight": 0, "_isTrimmedMode": true,
"_N$paddingTop": 0, "_atlas": null,
"_N$paddingBottom": 0, "_id": "87tTiic6tLP7jl/hMF84PV"
"_N$spacingX": 105,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "f5HrgM5vtEe5SPDHKUpl3l"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Node",
"_name": "", "_name": "bgRestart",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 18 "__id__": 8
}, },
"_enabled": true, "_children": [
"alignMode": 1, {
"_target": null, "__id__": 21
"_alignFlags": 41,
"_left": 205.5,
"_right": 205.5,
"_top": 211.07299999999998,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1765,
"_originalHeight": 0,
"_id": "82JRL1SzFEobHDpmLpuDKd"
}, },
{ {
"__type__": "cc.Node", "__id__": 24
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 2
}, },
"_children": [], {
"__id__": 28
}
],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 22 "__id__": 30
},
{
"__id__": 23
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 0,
"g": 255, "g": 0,
"b": 255, "b": 0,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 5000, "width": 2176,
"height": 5000 "height": 1600
},
"_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": "edYTCJBCpCL7MSjexQFXY6"
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
},
{
"__id__": 23
}
],
"_prefab": null,
"_opacity": 125,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2176,
"height": 1600
},
"_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": "2fniEeqMxKvIcE4OTZrnKM"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_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": "53Owlh0UVIkYYaVNBOQVc1"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"alignMode": 2,
"_target": {
"__id__": 8
},
"_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": 40,
"_originalHeight": 40,
"_id": "29CrYv78dK9pAx4HrRWJBR"
},
{
"__type__": "cc.Node",
"_name": "bg_circle",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
},
{
"__id__": 26
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 409,
"height": 409
},
"_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,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8caPfo2KtC85ZrMCn6OiUZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "34014b86-5854-4b25-81a5-7f74c9241368"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "aaL6IDTKFMGIqf70Spxcr0"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 0.95,
"clickEvents": [
{
"__id__": 27
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 3,
"transition": 3,
"_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": "22qMGaNEFKWIVrI4X7WgmP"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "8b0b7lMf15OlIK40chbxp64",
"handler": "onBtnReStart",
"customEventData": ""
},
{
"__type__": "cc.Node",
"_name": "btn_restart",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 262,
"height": 268
},
"_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": "ebEYEGE+pO8bv1nFMi6sAN"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2b74a4ab-b3be-4c0d-b986-b99ec48ea911"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "99hCbH/KhCj57X1ICf0LKo"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"alignMode": 2,
"_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": 40,
"_originalHeight": 40,
"_id": "2cNN8V8s5JVIOlAu6Rj/SA"
},
{
"__type__": "cc.Node",
"_name": "dragCat",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [
{
"__id__": 32
}
],
"_active": true,
"_components": [
{
"__id__": 35
},
{
"__id__": 36
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 362.61,
"height": 483.56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5.684341886080802e-14,
2.842170943040401e-14,
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": "b7y808I9pBvJErUhhu7376"
},
{
"__type__": "cc.Node",
"_name": "btnCheck",
"_objFlags": 0,
"_parent": {
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 33
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 370,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
891.145,
-516.182,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9fphUp/+9DgqtEBsp95Xfq"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 34
}
],
"_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": "7b4HNkt+5ARrA9SByL/oP3"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "8b0b7lMf15OlIK40chbxp64",
"handler": "onBtnCheckCat",
"customEventData": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "600b0af1-92f2-4139-8ae5-b53eb5cd9bec#da99fa22-02ff-4d47-a6d2-34d0447f83db",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "600b0af1-92f2-4139-8ae5-b53eb5cd9bec"
},
"_N$dragonAtlasAsset": {
"__uuid__": "da99fa22-02ff-4d47-a6d2-34d0447f83db"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "72DZ23zBJPjYhQ35ItU8Mw"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 906.6949999999999,
"_top": 0,
"_bottom": 558.22,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "8bl2eTcTdKkommLr9UjMB9"
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
},
{
"__id__": 39
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2176,
"height": 1600
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1023,99 +1769,44 @@ ...@@ -1023,99 +1769,44 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "c2bmd0u+BDNIivdoKz1pc8" "_id": "357S3H8H1DEaaKomRdQbD7"
}, },
{ {
"__type__": "cc.BlockInputEvents", "__type__": "cc.BlockInputEvents",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 21 "__id__": 37
}, },
"_enabled": true, "_enabled": true,
"_id": "80PylZIy9EbJR4/AZl0xgK" "_id": "2dCz3PoHdGtJQjeMLwozow"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 21 "__id__": 37
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "alignMode": 2,
"_grayMaterial": null, "_target": null,
"duration": 0.1, "_alignFlags": 45,
"zoomScale": 1.2, "_left": 0,
"clickEvents": [ "_right": 0,
{ "_top": 0,
"__id__": 24 "_bottom": 0,
} "_verticalCenter": 0,
], "_horizontalCenter": 0,
"_N$interactable": true, "_isAbsLeft": true,
"_N$enableAutoGrayEffect": false, "_isAbsRight": true,
"_N$transition": 0, "_isAbsTop": true,
"transition": 0, "_isAbsBottom": true,
"_N$normalColor": { "_isAbsHorizontalCenter": true,
"__type__": "cc.Color", "_isAbsVerticalCenter": true,
"r": 255, "_originalWidth": 0,
"g": 255, "_originalHeight": 0,
"b": 255, "_id": "caOtaQjmlNRKGV6+4Mh2IV"
"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": "cc1qEGA9pIR5pCangYCuxP"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "8b0b7lMf15OlIK40chbxp64",
"handler": "onBtnMask",
"customEventData": ""
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -1128,7 +1819,7 @@ ...@@ -1128,7 +1819,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 26 "__id__": 41
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1184,7 +1875,7 @@ ...@@ -1184,7 +1875,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 25 "__id__": 40
}, },
"_enabled": true, "_enabled": true,
"eff_audio": [ "eff_audio": [
...@@ -1230,7 +1921,7 @@ ...@@ -1230,7 +1921,7 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 28 "__id__": 43
} }
], ],
"_active": false, "_active": false,
...@@ -1288,20 +1979,20 @@ ...@@ -1288,20 +1979,20 @@
"_name": "item", "_name": "item",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 27 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 29 "__id__": 44
}, },
{ {
"__id__": 31 "__id__": 46
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 48
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1357,13 +2048,13 @@ ...@@ -1357,13 +2048,13 @@
"_name": "photo", "_name": "photo",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 28 "__id__": 43
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 30 "__id__": 45
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1419,7 +2110,7 @@ ...@@ -1419,7 +2110,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 29 "__id__": 44
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1449,13 +2140,13 @@ ...@@ -1449,13 +2140,13 @@
"_name": "lb_letter", "_name": "lb_letter",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 28 "__id__": 43
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 32 "__id__": 47
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1511,7 +2202,7 @@ ...@@ -1511,7 +2202,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 31 "__id__": 46
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1546,14 +2237,14 @@ ...@@ -1546,14 +2237,14 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 28 "__id__": 43
}, },
"_enabled": true, "_enabled": true,
"Item_name": { "Item_name": {
"__id__": 32 "__id__": 47
}, },
"Item_photo": { "Item_photo": {
"__id__": 29 "__id__": 44
}, },
"_id": "5dTY43oJ1O0LXVwcISfuR3" "_id": "5dTY43oJ1O0LXVwcISfuR3"
}, },
...@@ -1610,16 +2301,28 @@ ...@@ -1610,16 +2301,28 @@
}, },
"_enabled": true, "_enabled": true,
"Item": { "Item": {
"__id__": 27 "__id__": 42
}, },
"contentArr": { "contentArr": {
"__id__": 18 "__id__": 15
}, },
"dragonLion": { "dragonLion": {
"__id__": 13 "__id__": 13
}, },
"dragonCat": { "dragonCat": {
"__id__": 16 "__id__": 35
},
"btnReStart": {
"__id__": 20
},
"nodCircle": {
"__id__": 24
},
"handTip": {
"__id__": 18
},
"nodMask": {
"__id__": 37
}, },
"_id": "81gKWTbrREiJRzfyjAWVUZ" "_id": "81gKWTbrREiJRzfyjAWVUZ"
}, },
...@@ -1631,8 +2334,6 @@ ...@@ -1631,8 +2334,6 @@
"__id__": 2 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"UIMax": [],
"topUI": [],
"bgScaleMax": [ "bgScaleMax": [
{ {
"__id__": 6 "__id__": 6
...@@ -1644,7 +2345,7 @@ ...@@ -1644,7 +2345,7 @@
} }
], ],
"canvasView": { "canvasView": {
"__id__": 34 "__id__": 49
}, },
"isCanvas": true, "isCanvas": true,
"_id": "5eOVDDzARGnoMLcNXyk5ml" "_id": "5eOVDDzARGnoMLcNXyk5ml"
...@@ -1668,19 +2369,19 @@ ...@@ -1668,19 +2369,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 40 "__id__": 55
}, },
{ {
"__id__": 45 "__id__": 60
}, },
{ {
"__id__": 50 "__id__": 65
}, },
{ {
"__id__": 55 "__id__": 70
}, },
{ {
"__id__": 60 "__id__": 75
} }
], ],
"_active": true, "_active": true,
...@@ -1738,11 +2439,11 @@ ...@@ -1738,11 +2439,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 39 "__id__": 54
}, },
"_children": [ "_children": [
{ {
"__id__": 41 "__id__": 56
} }
], ],
"_active": true, "_active": true,
...@@ -1800,17 +2501,17 @@ ...@@ -1800,17 +2501,17 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 40 "__id__": 55
}, },
"_children": [ "_children": [
{ {
"__id__": 42 "__id__": 57
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 59
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1866,13 +2567,13 @@ ...@@ -1866,13 +2567,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 41 "__id__": 56
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 43 "__id__": 58
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1928,7 +2629,7 @@ ...@@ -1928,7 +2629,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 42 "__id__": 57
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1958,7 +2659,7 @@ ...@@ -1958,7 +2659,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 41 "__id__": 56
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1980,11 +2681,11 @@ ...@@ -1980,11 +2681,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 39 "__id__": 54
}, },
"_children": [ "_children": [
{ {
"__id__": 46 "__id__": 61
} }
], ],
"_active": true, "_active": true,
...@@ -2042,17 +2743,17 @@ ...@@ -2042,17 +2743,17 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 45 "__id__": 60
}, },
"_children": [ "_children": [
{ {
"__id__": 47 "__id__": 62
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 64
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2108,13 +2809,13 @@ ...@@ -2108,13 +2809,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 46 "__id__": 61
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 48 "__id__": 63
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2170,7 +2871,7 @@ ...@@ -2170,7 +2871,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 47 "__id__": 62
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2200,7 +2901,7 @@ ...@@ -2200,7 +2901,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 46 "__id__": 61
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2222,11 +2923,11 @@ ...@@ -2222,11 +2923,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 39 "__id__": 54
}, },
"_children": [ "_children": [
{ {
"__id__": 51 "__id__": 66
} }
], ],
"_active": true, "_active": true,
...@@ -2284,17 +2985,17 @@ ...@@ -2284,17 +2985,17 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 50 "__id__": 65
}, },
"_children": [ "_children": [
{ {
"__id__": 52 "__id__": 67
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 54 "__id__": 69
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2350,13 +3051,13 @@ ...@@ -2350,13 +3051,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 51 "__id__": 66
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 53 "__id__": 68
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2412,7 +3113,7 @@ ...@@ -2412,7 +3113,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 52 "__id__": 67
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2442,7 +3143,7 @@ ...@@ -2442,7 +3143,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 51 "__id__": 66
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2464,11 +3165,11 @@ ...@@ -2464,11 +3165,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 39 "__id__": 54
}, },
"_children": [ "_children": [
{ {
"__id__": 56 "__id__": 71
} }
], ],
"_active": true, "_active": true,
...@@ -2526,17 +3227,17 @@ ...@@ -2526,17 +3227,17 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 70
}, },
"_children": [ "_children": [
{ {
"__id__": 57 "__id__": 72
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 59 "__id__": 74
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2592,13 +3293,13 @@ ...@@ -2592,13 +3293,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 71
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 58 "__id__": 73
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2654,7 +3355,7 @@ ...@@ -2654,7 +3355,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 57 "__id__": 72
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2684,7 +3385,7 @@ ...@@ -2684,7 +3385,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 56 "__id__": 71
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2706,11 +3407,11 @@ ...@@ -2706,11 +3407,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 39 "__id__": 54
}, },
"_children": [ "_children": [
{ {
"__id__": 61 "__id__": 76
} }
], ],
"_active": true, "_active": true,
...@@ -2768,17 +3469,17 @@ ...@@ -2768,17 +3469,17 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 60 "__id__": 75
}, },
"_children": [ "_children": [
{ {
"__id__": 62 "__id__": 77
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 64 "__id__": 79
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2834,13 +3535,13 @@ ...@@ -2834,13 +3535,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 61 "__id__": 76
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 63 "__id__": 78
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2896,7 +3597,7 @@ ...@@ -2896,7 +3597,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 62 "__id__": 77
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2926,7 +3627,7 @@ ...@@ -2926,7 +3627,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2952,19 +3653,19 @@ ...@@ -2952,19 +3653,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 66 "__id__": 81
}, },
{ {
"__id__": 68 "__id__": 83
}, },
{ {
"__id__": 70 "__id__": 85
}, },
{ {
"__id__": 72 "__id__": 87
}, },
{ {
"__id__": 74 "__id__": 89
} }
], ],
"_active": true, "_active": true,
...@@ -3022,13 +3723,13 @@ ...@@ -3022,13 +3723,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 80
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 67 "__id__": 82
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3084,7 +3785,7 @@ ...@@ -3084,7 +3785,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 66 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3114,13 +3815,13 @@ ...@@ -3114,13 +3815,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 80
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 69 "__id__": 84
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3176,7 +3877,7 @@ ...@@ -3176,7 +3877,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 83
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3206,13 +3907,13 @@ ...@@ -3206,13 +3907,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 80
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 71 "__id__": 86
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3268,7 +3969,7 @@ ...@@ -3268,7 +3969,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 70 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3298,13 +3999,13 @@ ...@@ -3298,13 +3999,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 80
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 73 "__id__": 88
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3360,7 +4061,7 @@ ...@@ -3360,7 +4061,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 72 "__id__": 87
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3390,13 +4091,13 @@ ...@@ -3390,13 +4091,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 80
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 75 "__id__": 90
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3452,7 +4153,7 @@ ...@@ -3452,7 +4153,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 74 "__id__": 89
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
......
...@@ -28,6 +28,27 @@ var game = cc.Class({ ...@@ -28,6 +28,27 @@ var game = cc.Class({
default: null, default: null,
type: dragonBones.ArmatureDisplay, type: dragonBones.ArmatureDisplay,
displayName: "" displayName: ""
},
btnReStart: {
default: null,
type: cc.Node,
displayName: "重新开始按钮"
},
nodCircle: {
default: null,
type: cc.Node,
displayName: "光圈"
},
handTip: {
default: null,
type: cc.Node,
displayName: "重新开始按钮"
},
nodMask: {
default: null,
type: cc.Node,
displayName: "遮罩"
} }
}, },
...@@ -41,7 +62,7 @@ var game = cc.Class({ ...@@ -41,7 +62,7 @@ var game = cc.Class({
// 生命周期 onLoad // 生命周期 onLoad
onLoad() { onLoad() {
//初始化游戏 //初始化游戏
this.initGame(); this.initGame()
// //监听尺寸变化 // //监听尺寸变化
// if (window.addEventListener) { // if (window.addEventListener) {
...@@ -83,18 +104,6 @@ var game = cc.Class({ ...@@ -83,18 +104,6 @@ var game = cc.Class({
return svBBoxRect return svBBoxRect
}, },
//检查当前缩放倍数
checkScale: function (num) {
var scale = 1;
if (num > 2 && num <= 4) {
scale = 0.74
}
if (num > 4) {
scale = 0.65
}
return scale;
},
//添加节点 //添加节点
addItem: function () { addItem: function () {
...@@ -120,22 +129,6 @@ var game = cc.Class({ ...@@ -120,22 +129,6 @@ var game = cc.Class({
}; };
}, },
//五秒没操作
hintPlay: function () {
// this.playLionDragon("openmouth")
this.playCatDragon("begin")
LWD_3.speaker.inst.playEffect(LWD_3.enum.E_Audio.CatHint);
for (var i = 0; i < this.contentArr.childrenCount; i++) {
cc.tween(this.contentArr.children[i].children[0])
.to(0.1, { x: -50 })
.to(0.1, { x: 0 })
.to(0.1, { x: 50 })
.to(0.1, { x: 0 })
.start();
}
},
//隐藏剩余物品并跳转下一题 //隐藏剩余物品并跳转下一题
resetQues: function () { resetQues: function () {
if (LWD_3.data_mgr.quesId >= 4) { if (LWD_3.data_mgr.quesId >= 4) {
...@@ -158,34 +151,29 @@ var game = cc.Class({ ...@@ -158,34 +151,29 @@ var game = cc.Class({
finish() { finish() {
this.playLionDragon("normal") this.playLionDragon("normal")
this.playCatDragon("finish") this.playCatDragon("finish")
this._timeoutIds.push(setTimeout(() => {
LWD_3.speaker.inst.playEffect(LWD_3.enum.E_Audio.CatComplete);
}, 500));
},
//检测放到哪个节点底下
checkNodeParent: function () {
//获取到总列表
var itemArr = LWD_3.data_mgr.getSheepArr();
// //播放引导音频
if (itemArr.length <= 7) { let path = LWD_3.data_mgr.getAudioEnd();
var idx = 1; if (path == -1) return this.showRestartBtn();
} else { LWD_3.res_mgr.playAudioByUrl(path, (url) => {
var idx = 0; LWD_3.snd_mgr.playEffect(url, () => {
} this.showRestartBtn();
return idx; })
})
}, },
//检查类别 //开始引导游戏
checkType: function (Id) { guideGame: function () {
for (var i in LWD_3.data_mgr.getSheepfoldArr()) { this.UpdataUi();
var sheepfoldInfo = LWD_3.data_mgr.getSheepfoldArr()[i]; this.playCatDragon("begin");
if (Id == sheepfoldInfo.id) { //播放引导音频
return ~~i + 1; let path = LWD_3.data_mgr.getAudioBegin();
} if (path == -1) return this.nodMask.active = false;
} LWD_3.res_mgr.playAudioByUrl(path, (url) => {
return -1; LWD_3.snd_mgr.playEffect(url, () => {
this.nodMask.active = false;
})
})
}, },
//更新界面信息 //更新界面信息
...@@ -207,15 +195,10 @@ var game = cc.Class({ ...@@ -207,15 +195,10 @@ var game = cc.Class({
//播放题干 //播放题干
this.playAudioTitle(); this.playAudioTitle();
// LWD_3.speaker.inst.playEffect(E_Audio.BtnCommom);
//重置UI界面 //重置UI界面
this.resetUI(); this.resetUI();
//添加项 //添加项
this.addItem(); this.addItem();
// //设置上下页按钮状态
// this.setButtonState();
}, },
//播放猫动画 //播放猫动画
...@@ -230,15 +213,44 @@ var game = cc.Class({ ...@@ -230,15 +213,44 @@ var game = cc.Class({
this.dragonLion.playAnimation(name); this.dragonLion.playAnimation(name);
}, },
//点击猫猫
onBtnCheckCat: function () {
if (this._isSpeak) return;
//判断当前状态
if (LWD_3.data_mgr.quesId < 4) {
this._isSpeak = true;
this.playCatDragon("begin");
this.playAudioTitle(() => {
this._isSpeak = false;
this.playCatDragon("normal");
});
}
//如果结束了则提示音
if (this.btnReStart.active) {
let path = LWD_3.data_mgr.getAudioReStart();
if (path == -1) return;
this._isSpeak = true
this.playCatDragon("begin");
LWD_3.res_mgr.playAudioByUrl(path, (url) => {
LWD_3.snd_mgr.playEffect(url, () => {
this._isSpeak = false;
this.playCatDragon("normal");
})
});
}
},
//播放题干 //播放题干
playAudioTitle: function () { playAudioTitle: function (cb) {
if (LWD_3.data_mgr.quesId >= 4) return
//获得播放路径
var path = LWD_3.data_mgr.getQuestionStem(LWD_3.data_mgr.quesId); var path = LWD_3.data_mgr.getQuestionStem(LWD_3.data_mgr.quesId);
if (LWD_3.data_mgr.quesId >= 4 || !path) return
//获得播放路径
LWD_3.res_mgr.playAudioByUrl(path, (url) => { LWD_3.res_mgr.playAudioByUrl(path, (url) => {
LWD_3.snd_mgr.playEffect(url, () => { LWD_3.snd_mgr.playEffect(url, () => {
//结束回调 //结束回调
this.playCatDragon("normal"); this.playCatDragon("normal");
cb && cb();
}); });
}); });
}, },
...@@ -249,16 +261,6 @@ var game = cc.Class({ ...@@ -249,16 +261,6 @@ var game = cc.Class({
this.contentArr.removeAllChildren(); this.contentArr.removeAllChildren();
}, },
//重新开始
onBtnReStart: function () {
LWD_3.speaker.inst.play_btn();
//移除所有计时器
this.unscheduleAllCallbacks();
//初始化界面
this.UpdataUi();
LWD_3.speaker.inst.play_restart();
},
//游戏开始 //游戏开始
gameStart: function () { gameStart: function () {
console.log("游戏开始:" + LWD_3.data_mgr); console.log("游戏开始:" + LWD_3.data_mgr);
...@@ -266,69 +268,58 @@ var game = cc.Class({ ...@@ -266,69 +268,58 @@ var game = cc.Class({
this.setAudioInfo(1); this.setAudioInfo(1);
}, },
//设置上下页按钮状态
setButtonState: function () {
//先判断题目长度
if (LWD_3.data_mgr.data.contentObj.pageArr.length < 2) {
this.btnList[0].node.active = false;
this.btnList[1].node.active = false;
} else {
//如果第一页
if (LWD_3.data_mgr.pageId == 0) {
this.btnList[1].node.active = true;
this.btnList[0].node.active = false;
}
if (LWD_3.data_mgr.pageId == LWD_3.data_mgr.data.contentObj.pageArr.length - 1) {
this.btnList[0].node.active = true;
this.btnList[1].node.active = false;
}
if (LWD_3.data_mgr.pageId > 0 && LWD_3.data_mgr.pageId < LWD_3.data_mgr.data.contentObj.pageArr.length - 1) {
this.btnList[0].node.active = true;
this.btnList[1].node.active = true;
}
}
},
//下一关
onBtnNextQues: function () {
LWD_3.data_mgr.time = 0;
LWD_3.speaker.inst.playEffect(LWD_3.enum.E_Audio.BtnCommom);
LWD_3.data_mgr.quesId += 1;
LWD_3.game.inst.resetQues();
},
//重新开始 //重新开始
onBtnReStart() { onBtnReStart() {
LWD_3.data_mgr.time = 0; //隐藏节点
LWD_3.data_mgr.resetQuestion(); this.btnReStart.active = false;
//播放音效
LWD_3.speaker.inst.playEffect(LWD_3.enum.E_Audio.BtnCommom); LWD_3.speaker.inst.playEffect(LWD_3.enum.E_Audio.BtnCommom);
//数据重置
LWD_3.data_mgr.quesId = 0; LWD_3.data_mgr.quesId = 0;
//更新界面
this.UpdataUi(); this.UpdataUi();
},
//上一关 this.hideRestartBtn();
onBtnLastPage: function () { },
LWD_3.speaker.inst.play_btn();
if (LWD_3.data_mgr.pageId - 1 >= 0) { //手势移动
LWD_3.data_mgr.pageId -= 1; setHandTip(node) {
this.setButtonState(); //传入当前点击的节点坐标,移动至中心点
this.onBtnReStart(); var beginPos = cc.v2(node.x, node.y + this.contentArr.y);
} //50偏移量到嘴巴
var EndPos = cc.v2(this.dragonLion.node.x, this.dragonLion.node.y - 300);
this.handTween && this.handTween.stop();
this.handTween = cc.tween(this.handTip)
.call(() => {
this.handTip.active = true;
this.handTip.x = beginPos.x;
this.handTip.y = beginPos.y;
})
.to(1.5, { x: EndPos.x, y: EndPos.y })
.call(() => {
this.handTip.active = false;
})
.union()
.repeat(2) // 执行2次
.start();
}, },
//下一关 showRestartBtn() {
onBtnNextPage: function () { this.btnReStart.active = true;
LWD_3.speaker.inst.play_btn(); cc.tween(this.nodCircle)
.set({ scale: 0.8, opacity: 255 })
.to(2, { scale: 1.2, opacity: 0 })
.union()
.repeatForever()
.start();
},
if (LWD_3.data_mgr.pageId + 1 < LWD_3.data_mgr.data.contentObj.pageArr.length) { hideRestartBtn() {
LWD_3.data_mgr.pageId += 1; this.nodCircle.stopAllActions();
this.setButtonState(); this.nodCircle.scale = 0.8;
this.onBtnReStart(); this.nodCircle.opacity = 255;
}
}, },
_timeoutIds: null, _timeoutIds: null,
_intervalIds: null, _intervalIds: null,
// 生命周期 // 生命周期
......
...@@ -8,16 +8,6 @@ cc.Class({ ...@@ -8,16 +8,6 @@ cc.Class({
extends: cc.Component, extends: cc.Component,
properties: { properties: {
UIMax: {
default: [],
type: cc.Node,
displayName: "等比放大"
},
topUI: {
default: [],
type: cc.Widget,
},
bgScaleMax: { bgScaleMax: {
default: [], default: [],
type: cc.Node, type: cc.Node,
...@@ -54,8 +44,6 @@ cc.Class({ ...@@ -54,8 +44,6 @@ cc.Class({
// var h = (canvaSize.height) / WIDTH; // var h = (canvaSize.height) / WIDTH;
this.MaxSize = 1 //w / h > 1 ? w / h : h / w; this.MaxSize = 1 //w / h > 1 ? w / h : h / w;
this.setUIMax(this.MaxSize);
this.settopUI(this.MaxSize);
this.setBgScale(); this.setBgScale();
this.setUiPositon(); this.setUiPositon();
var scene = cc.director.getScene(); var scene = cc.director.getScene();
...@@ -120,8 +108,6 @@ cc.Class({ ...@@ -120,8 +108,6 @@ cc.Class({
this.MaxSize = 1 // w / h > 1 ? w / h : h / w; this.MaxSize = 1 // w / h > 1 ? w / h : h / w;
LWD_3.data_mgr.MaxSize = this.MaxSize; LWD_3.data_mgr.MaxSize = this.MaxSize;
this.setUIMax(this.MaxSize);
this.settopUI(this.MaxSize);
this.setBgScale(); this.setBgScale();
this.setUiPositon(); this.setUiPositon();
var scene = cc.director.getScene(); var scene = cc.director.getScene();
...@@ -136,35 +122,16 @@ cc.Class({ ...@@ -136,35 +122,16 @@ cc.Class({
LWD_3.event_pump.unReg("adjustUI"); LWD_3.event_pump.unReg("adjustUI");
} }
}, },
settopUI: function (s) {
if (!LWD_3.data_mgr.phoneInfo) {
return;
}
var top = LWD_3.data_mgr.phoneInfo;
top = top * s;
for (var i in this.topUI) {
if (this.topUI[i].perTop == undefined) {
this.topUI[i].perTop = this.topUI[i].top;
} else {
this.topUI[i].top = this.topUI[i].perTop;
}
this.topUI[i].top += top;
console.log(this.topUI[i].top);
}
},
//背景适配 //背景适配
setBgScale: function () { setBgScale: function () {
const bg = cc.find('Canvas/bg'); const bg = cc.find('Canvas/bg');
bg.scale = this._mapScaleMax; bg.scale = this._mapScaleMax;
const grass = cc.find('Canvas/connent/bg_grass'); const grass = cc.find('Canvas/connent/bg_grass');
grass.scaleX = this.canvas.width / grass.width; grass.scaleX = this.canvas.width / grass.width;
return; return;
for (var i in this.bgScaleMax) { for (var i in this.bgScaleMax) {
// 1. 先找到 SHOW_ALL 模式适配之后,本节点的实际宽高以及初始缩放值 // 1. 先找到 SHOW_ALL 模式适配之后,本节点的实际宽高以及初始缩放值
...@@ -185,7 +152,6 @@ cc.Class({ ...@@ -185,7 +152,6 @@ cc.Class({
//适配节点位置 //适配节点位置
setUiPositon: function () { setUiPositon: function () {
return;
for (var i in this.nodeUIOffset) { for (var i in this.nodeUIOffset) {
// 1. 先找到 SHOW_ALL 模式适配之后,本节点的实际宽高以及初始缩放值 // 1. 先找到 SHOW_ALL 模式适配之后,本节点的实际宽高以及初始缩放值
let srcScaleForShowAll = Math.min( let srcScaleForShowAll = Math.min(
...@@ -201,20 +167,6 @@ cc.Class({ ...@@ -201,20 +167,6 @@ cc.Class({
} }
}, },
setUIMax: function (size) {
return;
for (var i in this.UIMax) {
if (this.UIMax[i].perScale == undefined) {
this.UIMax[i].perScale = this.UIMax[i].scaleX;
} else {
this.UIMax[i].scaleX = this.UIMax[i].perScale;
this.UIMax[i].scaleY = this.UIMax[i].perScale;
}
this.UIMax[i].scaleX *= size;
this.UIMax[i].scaleY *= size;
}
},
findCanvas: function () { findCanvas: function () {
if (cc.sys.isNative) { if (cc.sys.isNative) {
return { return {
......
//手势移动
cc.Class({
extends: cc.Component,
properties: {
},
start() {
},
});
{
"ver": "1.0.8",
"uuid": "3965d960-0cbf-4158-af67-3ddc4ae03225",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
...@@ -23,6 +23,7 @@ cc.Class({ ...@@ -23,6 +23,7 @@ cc.Class({
start: function () { start: function () {
this._timeoutIds = []; this._timeoutIds = [];
this._intervalIds = []; this._intervalIds = [];
this.handTip = 0;//手势提示次数
this.node.on(cc.Node.EventType.TOUCH_START, this.touchBegan, this); this.node.on(cc.Node.EventType.TOUCH_START, this.touchBegan, this);
this.node.on(cc.Node.EventType.TOUCH_MOVE, this.touchMove, this); this.node.on(cc.Node.EventType.TOUCH_MOVE, this.touchMove, this);
this.node.on(cc.Node.EventType.TOUCH_END, this.touchEnd, this); this.node.on(cc.Node.EventType.TOUCH_END, this.touchEnd, this);
...@@ -35,6 +36,9 @@ cc.Class({ ...@@ -35,6 +36,9 @@ cc.Class({
LWD_3.data_mgr.gameState = 2; LWD_3.data_mgr.gameState = 2;
LWD_3.data_mgr.time = 0; LWD_3.data_mgr.time = 0;
//如果有提示手则停止
LWD_3.game.inst.handTween && LWD_3.game.inst.handTween.stop();
//狮子猫动画 //狮子猫动画
LWD_3.game.inst.playLionDragon("openmouth"); LWD_3.game.inst.playLionDragon("openmouth");
...@@ -124,6 +128,7 @@ cc.Class({ ...@@ -124,6 +128,7 @@ cc.Class({
this.errorEffect(); this.errorEffect();
} }
} else { } else {
this.handTip += 1;
this.errorEffect(); this.errorEffect();
} }
}, },
...@@ -201,6 +206,10 @@ cc.Class({ ...@@ -201,6 +206,10 @@ cc.Class({
}); });
LWD_3.game.inst.playCatDragon("wrong"); LWD_3.game.inst.playCatDragon("wrong");
LWD_3.game.inst.playLionDragon("normal"); LWD_3.game.inst.playLionDragon("normal");
if (this.handTip >= 2) {
LWD_3.game.inst.setHandTip(this.node.parent);
this.handTip = 0;
}
}, 500)); }, 500));
}, },
......
...@@ -16,21 +16,6 @@ var E_Audio = { ...@@ -16,21 +16,6 @@ var E_Audio = {
Error: 9, Error: 9,
} }
// var E_lion = {
// normal= "normal",
// no = "no",
// chew = "chew",
// openmouth = "openmouth"
// }
// var E_cat = {
// begin = "begin",
// right = "right",
// normal= "normal",
// wrong = "wrong",
// finish = "finish"
// }
var speaker = cc.Class({ var speaker = cc.Class({
extends: cc.Component, extends: cc.Component,
...@@ -40,57 +25,6 @@ var speaker = cc.Class({ ...@@ -40,57 +25,6 @@ var speaker = cc.Class({
type: cc.AudioClip, type: cc.AudioClip,
displayName: "音效列表" displayName: "音效列表"
}, },
// eff_allPop: {
// default: null,
// type: cc.AudioClip,
// displayName: "全部弹出"
// },
// eff_btn: {
// default: null,
// type: cc.AudioClip,
// displayName: "点击音效"
// },
// eff_right: {
// default: null,
// type: cc.AudioClip,
// displayName: "正确音效"
// },
// eff_catComplete: {
// default: null,
// type: cc.AudioClip,
// displayName: "猫完成"
// },
// eff_catHint: {
// default: null,
// type: cc.AudioClip,
// displayName: "猫提示"
// },
// eff_catRight1: {
// default: null,
// type: cc.AudioClip,
// displayName: "猫正确1"
// },
// eff_catRight2: {
// default: null,
// type: cc.AudioClip,
// displayName: "猫正确2"
// },
// eff_catError1: {
// default: null,
// type: cc.AudioClip,
// displayName: "猫错误1"
// },
// eff_catError2: {
// default: null,
// type: cc.AudioClip,
// displayName: "猫错误2"
// },
}, },
ctor: function () { ctor: function () {
...@@ -104,40 +38,4 @@ var speaker = cc.Class({ ...@@ -104,40 +38,4 @@ var speaker = cc.Class({
LWD_3.snd_mgr.playEffect(this.eff_audio[num], cb); LWD_3.snd_mgr.playEffect(this.eff_audio[num], cb);
}, },
// //点击按钮
// play_btn: function () {
// LWD_3.snd_mgr.playEffect(this.eff_btn);
// },
// //撒花音效
// play_congratulation: function () {
// LWD_3.snd_mgr.playEffect(this.eff_congratulation);
// },
// //答错
// play_error: function () {
// LWD_3.snd_mgr.playEffect(this.eff_error);
// },
// //答对
// play_good: function (cb) {
// LWD_3.snd_mgr.playEffect(this.eff_good, cb);
// },
// //显示弹窗
// play_showPop: function () {
// LWD_3.snd_mgr.playEffect(this.eff_showPop);
// },
// //游戏开始
// play_start: function (cb) {
// LWD_3.snd_mgr.playEffect(this.eff_start, cb);
// },
// //拉开窗帘
// play_open: function () {
// LWD_3.snd_mgr.playEffect(this.eff_open);
// },
// //重新开始
// play_restart: function () {
// LWD_3.snd_mgr.playEffect(this.eff_restart);
// },
}); });
...@@ -7,7 +7,6 @@ LWD_3.data_mgr = { ...@@ -7,7 +7,6 @@ LWD_3.data_mgr = {
nowNum: 0,//剩余正确数量 nowNum: 0,//剩余正确数量
gameState: 2,//游戏状态1可操作 2不可操作 gameState: 2,//游戏状态1可操作 2不可操作
time: 0,
//获得默认数据 //获得默认数据
getDefaultData() { getDefaultData() {
...@@ -42,7 +41,10 @@ LWD_3.data_mgr = { ...@@ -42,7 +41,10 @@ LWD_3.data_mgr = {
"tex_json": "http://staging-teach.cdn.ireadabc.com/511fe163f2df10925e3da82f0f69590b.json", "tex_json": "http://staging-teach.cdn.ireadabc.com/511fe163f2df10925e3da82f0f69590b.json",
"tex_json_name": "lion_tex.json", "tex_json_name": "lion_tex.json",
"tex_png": "http://staging-teach.cdn.ireadabc.com/2fd2a53fcb36d36281a6ded9500dd54f.png", "tex_png": "http://staging-teach.cdn.ireadabc.com/2fd2a53fcb36d36281a6ded9500dd54f.png",
"tex_png_name": "lion_tex.png" "tex_png_name": "lion_tex.png",
"guideBegin_audio_url": "http://staging-teach.cdn.ireadabc.com/bd6e2b3a870ef3f9ee9ad9c0fda79228.mp3",
"guideEnd_audio_url": "http://staging-teach.cdn.ireadabc.com/bd6e2b3a870ef3f9ee9ad9c0fda79228.mp3",
"guideRestart_audio_url": "http://staging-teach.cdn.ireadabc.com/bd6e2b3a870ef3f9ee9ad9c0fda79228.mp3",
} }
const data = dataJson; const data = dataJson;
// const data = JSON.parse(dataJson); // const data = JSON.parse(dataJson);
...@@ -50,6 +52,19 @@ LWD_3.data_mgr = { ...@@ -50,6 +52,19 @@ LWD_3.data_mgr = {
return data; return data;
}, },
getAudioBegin() {
if (!this.data.guideBegin_audio_url) return -1;
return this.data.guideBegin_audio_url;
},
getAudioEnd() {
if (!this.data.guideEnd_audio_url) return -1;
return this.data.guideEnd_audio_url
},
getAudioReStart() {
if (!this.data.guideRestart_audio_url) return -1;
return this.data.guideRestart_audio_url
},
//数据处理 //数据处理
resetQuestion() { resetQuestion() {
for (var i in this.data.question_arr) { for (var i in this.data.question_arr) {
...@@ -149,21 +164,7 @@ LWD_3.data_mgr = { ...@@ -149,21 +164,7 @@ LWD_3.data_mgr = {
loadEnd() { loadEnd() {
//更新游戏界面信息 //更新游戏界面信息
LWD_3.game.inst.UpdataUi(); LWD_3.game.inst.guideGame();
clearInterval(this.timer)
this.timer = setInterval(() => {
if (LWD_3.data_mgr.gameState == 2) {
return;
}
LWD_3.data_mgr.time += 1;
if (LWD_3.data_mgr.time >= 10) {
LWD_3.data_mgr.time = 0;
LWD_3.game.inst.hintPlay();
}
}, 1000)
LWD_3.game.inst._intervalIds.push(this.timer);
LWD_3.game.inst.isLoadEnd = true; LWD_3.game.inst.isLoadEnd = true;
}, },
} }
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "405ffc19-1281-4e7b-94b4-d3e545448c7c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 409,
"height": 409,
"platformSettings": {},
"subMetas": {
"bg_circle": {
"ver": "1.0.4",
"uuid": "34014b86-5854-4b25-81a5-7f74c9241368",
"rawTextureUuid": "405ffc19-1281-4e7b-94b4-d3e545448c7c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 409,
"height": 409,
"rawWidth": 409,
"rawHeight": 409,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2d128bd0-c993-40d4-88bb-6272f67864e1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 262,
"height": 268,
"platformSettings": {},
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "2b74a4ab-b3be-4c0d-b986-b99ec48ea911",
"rawTextureUuid": "2d128bd0-c993-40d4-88bb-6272f67864e1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 262,
"height": 268,
"rawWidth": 262,
"rawHeight": 268,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b928bd5f-c95f-4f22-ae3e-a3fa57b0c85f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 88,
"height": 185,
"platformSettings": {},
"subMetas": {
"icon_hand": {
"ver": "1.0.4",
"uuid": "5bb2bddc-57f4-49fc-9ab4-0d4583cb903b",
"rawTextureUuid": "b928bd5f-c95f-4f22-ae3e-a3fa57b0c85f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 88,
"height": 185,
"rawWidth": 88,
"rawHeight": 185,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
<div class="model-content"> <div class="model-content">
<div style="padding: 10px;"> <div style="padding: 10px;">
<span>开始引导音频: </span>
<app-audio-recorder [audioUrl]="item.guideBegin_audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'guideBegin_audio_url', item)"></app-audio-recorder>
<span>结束猫猫音频: </span>
<app-audio-recorder [audioUrl]="item.guideEnd_audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'guideEnd_audio_url', item)"></app-audio-recorder>
<span>点击猫猫提示重新开始音频: </span>
<app-audio-recorder [audioUrl]="item.guideRestart_audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'guideRestart_audio_url', item)"></app-audio-recorder>
<div style="display: flex 1;margin-bottom: 10px;margin-left: 10px;"> <div style="display: flex 1;margin-bottom: 10px;margin-left: 10px;">
<span>上传 ske_json 文件</span><span> : </span> <span>上传 ske_json 文件</span><span> : </span>
<nz-upload nzAccept=".json" [nzAction]="uploadUrl" [nzData]="uploadData" [nzShowUploadList]="false" <nz-upload nzAccept=".json" [nzAction]="uploadUrl" [nzData]="uploadData" [nzShowUploadList]="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