Commit d1638871 authored by Tt's avatar Tt

音效添加完成

parent 964c8b01
{
"ver": "2.0.1",
"uuid": "816d8590-0603-4136-ab5b-9940e8616a2d",
"downloadMode": 0,
"duration": 1.306122,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "afb37858-5693-40e2-b4f9-156c2536bbef",
"downloadMode": 0,
"duration": 1.828571,
"subMetas": {}
}
\ No newline at end of file
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property
firstUp: boolean = true;
// LIFE-CYCLE CALLBACKS:
onLoad() {
if (this.firstUp) {
cc.tween(this.node).repeatForever(
cc.tween()
.by(10, { y: 25 })
.by(10, { y: -25 })
.by(10, { y: -25 })
.by(10, { y: 25 })
).start();
} else {
cc.tween(this.node).repeatForever(
cc.tween()
.by(10, { y: -25 })
.by(10, { y: 25 })
.by(10, { y: 25 })
.by(10, { y: -25 })
).start();
}
}
start() {
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "4937e51d-fabc-4acf-a0c7-d6d5bce868b0",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property
firstUp: boolean = true;
// LIFE-CYCLE CALLBACKS:
onLoad() {
if (this.firstUp) {
cc.tween(this.node).repeatForever(
cc.tween()
.to(10, { scale: 0.97 })
.to(10, { scale: 1.00 })
.to(10, { scale: 1.03 })
.to(10, { scale: 1.00 })
).start();
} else {
cc.tween(this.node).repeatForever(
cc.tween()
.to(10, { scale: 1.03 })
.to(10, { scale: 1.00 })
.to(10, { scale: 0.97 })
.to(10, { scale: 1.00 })
).start();
}
}
start() {
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "dd0efcab-7baa-485c-8197-5c9fabdee674",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -75,43 +75,43 @@
"__id__": 5
},
{
"__id__": 29
"__id__": 33
},
{
"__id__": 31
"__id__": 35
},
{
"__id__": 39
"__id__": 43
},
{
"__id__": 87
"__id__": 110
},
{
"__id__": 89
"__id__": 112
},
{
"__id__": 95
"__id__": 118
},
{
"__id__": 97
"__id__": 120
},
{
"__id__": 122
"__id__": 145
},
{
"__id__": 141
"__id__": 164
}
],
"_active": true,
"_components": [
{
"__id__": 152
"__id__": 175
},
{
"__id__": 153
"__id__": 176
},
{
"__id__": 154
"__id__": 177
}
],
"_prefab": null,
......@@ -666,6 +666,12 @@
},
{
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 31
}
],
"_active": true,
......@@ -1366,6 +1372,168 @@
"preload": false,
"_id": "4cslh0QgRC7Zi4LG7D8+k7"
},
{
"__type__": "cc.Node",
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "24gQNZC5VGO6aOg9iq1Eei"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_clip": {
"__uuid__": "816d8590-0603-4136-ab5b-9940e8616a2d"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "c1WByDFQNI/7CmlEb1as1t"
},
{
"__type__": "cc.Node",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "bdb+1Z6DFCgYRNlvAcf5Qe"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_clip": {
"__uuid__": "afb37858-5693-40e2-b4f9-156c2536bbef"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "18tvO6xrtAGpYF9P/QETrg"
},
{
"__type__": "cc.Node",
"_name": "view",
......@@ -1377,7 +1545,7 @@
"_active": false,
"_components": [
{
"__id__": 30
"__id__": 34
}
],
"_prefab": null,
......@@ -1433,7 +1601,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 33
},
"_enabled": true,
"_materials": [
......@@ -1469,16 +1637,16 @@
},
"_children": [
{
"__id__": 32
"__id__": 36
},
{
"__id__": 35
"__id__": 39
}
],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 42
}
],
"_prefab": null,
......@@ -1534,16 +1702,16 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 31
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 33
"__id__": 37
},
{
"__id__": 34
"__id__": 38
}
],
"_prefab": null,
......@@ -1599,7 +1767,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
"__id__": 36
},
"_enabled": true,
"_materials": [
......@@ -1631,7 +1799,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
"__id__": 36
},
"_enabled": true,
"alignMode": 1,
......@@ -1658,16 +1826,16 @@
"_name": "背景的长河_ske",
"_objFlags": 0,
"_parent": {
"__id__": 31
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 40
},
{
"__id__": 37
"__id__": 41
}
],
"_prefab": null,
......@@ -1723,7 +1891,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 39
},
"_enabled": true,
"_materials": [
......@@ -1763,7 +1931,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 39
},
"_enabled": true,
"alignMode": 1,
......@@ -1790,7 +1958,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
"__id__": 35
},
"_enabled": true,
"alignMode": 1,
......@@ -1821,22 +1989,22 @@
},
"_children": [
{
"__id__": 40
"__id__": 44
},
{
"__id__": 69
"__id__": 73
},
{
"__id__": 70
"__id__": 74
},
{
"__id__": 78
"__id__": 92
}
],
"_active": true,
"_components": [
{
"__id__": 86
"__id__": 109
}
],
"_prefab": null,
......@@ -1892,20 +2060,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 39
"__id__": 43
},
"_children": [
{
"__id__": 41
"__id__": 45
},
{
"__id__": 63
"__id__": 67
}
],
"_active": true,
"_components": [
{
"__id__": 68
"__id__": 72
}
],
"_prefab": null,
......@@ -1961,15 +2129,9 @@
"_name": "fish",
"_objFlags": 0,
"_parent": {
"__id__": 40
"__id__": 44
},
"_children": [
{
"__id__": 42
},
{
"__id__": 44
},
{
"__id__": 46
},
......@@ -1993,12 +2155,18 @@
},
{
"__id__": 60
},
{
"__id__": 62
},
{
"__id__": 64
}
],
"_active": true,
"_components": [
{
"__id__": 62
"__id__": 66
}
],
"_prefab": null,
......@@ -2054,13 +2222,13 @@
"_name": "fish_1",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
"__id__": 47
}
],
"_prefab": null,
......@@ -2116,7 +2284,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 46
},
"_enabled": true,
"_materials": [
......@@ -2156,13 +2324,13 @@
"_name": "fish_2",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 45
"__id__": 49
}
],
"_prefab": null,
......@@ -2218,7 +2386,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 48
},
"_enabled": true,
"_materials": [
......@@ -2258,13 +2426,13 @@
"_name": "fish_3",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 47
"__id__": 51
}
],
"_prefab": null,
......@@ -2320,7 +2488,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
"__id__": 50
},
"_enabled": true,
"_materials": [
......@@ -2360,13 +2528,13 @@
"_name": "fish_4",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 49
"__id__": 53
}
],
"_prefab": null,
......@@ -2422,7 +2590,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 52
},
"_enabled": true,
"_materials": [
......@@ -2462,13 +2630,13 @@
"_name": "fish_5",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 51
"__id__": 55
}
],
"_prefab": null,
......@@ -2524,7 +2692,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
"__id__": 54
},
"_enabled": true,
"_materials": [
......@@ -2564,13 +2732,13 @@
"_name": "fish_6",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 53
"__id__": 57
}
],
"_prefab": null,
......@@ -2626,7 +2794,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
"__id__": 56
},
"_enabled": true,
"_materials": [
......@@ -2666,13 +2834,13 @@
"_name": "fish_7",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 55
"__id__": 59
}
],
"_prefab": null,
......@@ -2728,7 +2896,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
"__id__": 58
},
"_enabled": true,
"_materials": [
......@@ -2768,13 +2936,13 @@
"_name": "fish_8",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 57
"__id__": 61
}
],
"_prefab": null,
......@@ -2830,7 +2998,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
"__id__": 60
},
"_enabled": true,
"_materials": [
......@@ -2870,13 +3038,13 @@
"_name": "fish_9",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 59
"__id__": 63
}
],
"_prefab": null,
......@@ -2932,7 +3100,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
"__id__": 62
},
"_enabled": true,
"_materials": [
......@@ -2972,13 +3140,13 @@
"_name": "fish_10",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 61
"__id__": 65
}
],
"_prefab": null,
......@@ -3034,7 +3202,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 64
},
"_enabled": true,
"_materials": [
......@@ -3074,7 +3242,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 45
},
"_enabled": false,
"_materials": [
......@@ -3106,14 +3274,14 @@
"_name": "layout_text",
"_objFlags": 0,
"_parent": {
"__id__": 40
"__id__": 44
},
"_children": [
{
"__id__": 64
"__id__": 68
},
{
"__id__": 66
"__id__": 70
}
],
"_active": true,
......@@ -3171,13 +3339,13 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 63
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
"__id__": 69
}
],
"_prefab": null,
......@@ -3233,7 +3401,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
"__id__": 68
},
"_enabled": true,
"_materials": [
......@@ -3265,13 +3433,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 63
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 67
"__id__": 71
}
],
"_prefab": null,
......@@ -3327,7 +3495,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 70
},
"_enabled": true,
"_materials": [
......@@ -3362,7 +3530,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
"__id__": 44
},
"_enabled": true,
"_normalMaterial": null,
......@@ -3423,7 +3591,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 40
"__id__": 44
},
"_id": "a1Avh4LwBKJKeCLMrv0hnM"
},
......@@ -3432,7 +3600,7 @@
"_name": "layout_fish",
"_objFlags": 0,
"_parent": {
"__id__": 39
"__id__": 43
},
"_children": [],
"_active": true,
......@@ -3490,17 +3658,17 @@
"_name": "boat_left",
"_objFlags": 0,
"_parent": {
"__id__": 39
"__id__": 43
},
"_children": [
{
"__id__": 71
"__id__": 75
},
{
"__id__": 73
"__id__": 78
},
{
"__id__": 75
"__id__": 89
}
],
"_active": true,
......@@ -3558,13 +3726,16 @@
"_name": "net",
"_objFlags": 0,
"_parent": {
"__id__": 70
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
"__id__": 76
},
{
"__id__": 77
}
],
"_prefab": null,
......@@ -3584,14 +3755,14 @@
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5.526,
29.398,
240.519,
0,
0,
0,
......@@ -3620,7 +3791,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -3647,18 +3818,39 @@
"_atlas": null,
"_id": "988u5Imk5KmLFem99r6rRm"
},
{
"__type__": "dd0efyre6pIXIGXXJ+r3uZ0",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"firstUp": true,
"_id": "b4DDK1JD5KOpTznwuT8lcB"
},
{
"__type__": "cc.Node",
"_name": "boat",
"_objFlags": 0,
"_parent": {
"__id__": 70
"__id__": 74
},
"_children": [],
"_children": [
{
"__id__": 79
}
],
"_active": true,
"_components": [
{
"__id__": 74
"__id__": 86
},
{
"__id__": 87
},
{
"__id__": 88
}
],
"_prefab": null,
......@@ -3710,75 +3902,100 @@
"_id": "cdJh81Dz1EmqKEUxN9/v5s"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"__type__": "cc.Node",
"_name": "voice",
"_objFlags": 0,
"node": {
"__id__": 73
"_parent": {
"__id__": 78
},
"_enabled": true,
"_materials": [
"_children": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 80
},
{
"__id__": 82
},
{
"__id__": 84
}
],
"_armatureName": "armatureName",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "b117da79-33b2-411d-9587-055c3c2a0f83#47d53c0d-fc2f-4983-9b6b-4bcbf7028407",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "b117da79-33b2-411d-9587-055c3c2a0f83"
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$dragonAtlasAsset": {
"__uuid__": "47d53c0d-fc2f-4983-9b6b-4bcbf7028407"
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "5fq4xKqYNBEbv7MY1sGAfS"
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-221.944,
-8.343,
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": "6aO9gxLjNGQ6iQr1jGJb7S"
},
{
"__type__": "cc.Node",
"_name": "text",
"_name": "v1",
"_objFlags": 0,
"_parent": {
"__id__": 70
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
},
{
"__id__": 77
"__id__": 81
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 76,
"b": 200,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 56.36,
"height": 111.1
"width": 11,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3789,8 +4006,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
2.755,
408.201,
1,
0,
0,
0,
0,
......@@ -3812,14 +4029,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f8Y1Ejcw1FmpHfXp8sBQV+"
"_id": "20mZCngs1By4Ww1Hm1ejDF"
},
{
"__type__": "cc.Label",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 80
},
"_enabled": true,
"_materials": [
......@@ -3829,34 +4046,39 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "a",
"_N$string": "a",
"_fontSize": 85,
"_lineHeight": 85,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "e6bb5f58-11fc-4474-951d-d9fedbb5321c"
"_spriteFrame": {
"__uuid__": "dc635d80-da93-4f22-b4f0-b182682262c2"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ffKN93nqdNh6r1WlJeHPf1"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8dSZbmChVHmbdmd1QPQaUY"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"__type__": "cc.Node",
"_name": "v2",
"_objFlags": 0,
"node": {
"__id__": 75
"_parent": {
"__id__": 79
},
"_enabled": true,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
......@@ -3864,29 +4086,737 @@
"b": 255,
"a": 255
},
"_width": 2,
"_id": "c5nRbhxOpHX48eAq7TrYmP"
"_contentSize": {
"__type__": "cc.Size",
"width": 29,
"height": 48
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-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": "640dzrAN9CfoyMDT2VrWcS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6601c88f-dfbf-4ccb-9ff6-e44377e3bf66"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0cb4LIIoRBK7uJLJpJfINZ"
},
{
"__type__": "cc.Node",
"_name": "v3",
"_objFlags": 0,
"_parent": {
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 50,
"height": 74
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-19,
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": "12tUKVjRhBy6mKmKF8yDKv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "195ea49e-9f29-4b2e-8baf-cfe83f99fafc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "339YxtiBROOqgcsxvLMHar"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "b117da79-33b2-411d-9587-055c3c2a0f83#47d53c0d-fc2f-4983-9b6b-4bcbf7028407",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "b117da79-33b2-411d-9587-055c3c2a0f83"
},
"_N$dragonAtlasAsset": {
"__uuid__": "47d53c0d-fc2f-4983-9b6b-4bcbf7028407"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "5fq4xKqYNBEbv7MY1sGAfS"
},
{
"__type__": "4937eUd+rxKz6DH1tW86Giw",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"firstUp": true,
"_id": "bf7MI9pkZOybiez2lni1Rc"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 78
},
"_id": "22jYvkMwtPYqNNI2jFKpz8"
},
{
"__type__": "cc.Node",
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
},
{
"__id__": 91
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 76,
"b": 200,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 56.36,
"height": 111.1
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
2.755,
408.201,
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": "f8Y1Ejcw1FmpHfXp8sBQV+"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "a",
"_N$string": "a",
"_fontSize": 85,
"_lineHeight": 85,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "e6bb5f58-11fc-4474-951d-d9fedbb5321c"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ffKN93nqdNh6r1WlJeHPf1"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_width": 2,
"_id": "c5nRbhxOpHX48eAq7TrYmP"
},
{
"__type__": "cc.Node",
"_name": "boat_right",
"_objFlags": 0,
"_parent": {
"__id__": 43
},
"_children": [
{
"__id__": 93
},
{
"__id__": 96
},
{
"__id__": 106
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 700,
"height": 400
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
452.507,
-64.271,
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": "6eoMaiRmBOQb7D1FZDJaIS"
},
{
"__type__": "cc.Node",
"_name": "net",
"_objFlags": 0,
"_parent": {
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
},
{
"__id__": 95
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 745,
"height": 439
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5.526,
235.602,
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": "e2l/qoaixD3LRVBMQ2tLyn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "be098dab-11fd-41f5-9065-7542f10cfb1a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5erzTn0/dA4YLQ081RCf0c"
},
{
"__type__": "dd0efyre6pIXIGXXJ+r3uZ0",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"firstUp": false,
"_id": "2b0MOofDZL14o76zVem2er"
},
{
"__type__": "cc.Node",
"_name": "boat",
"_objFlags": 0,
"_parent": {
"__id__": 92
},
"_children": [
{
"__id__": 97
}
],
"_active": true,
"_components": [
{
"__id__": 104
},
{
"__id__": 105
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 511,
"height": 306
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-41.368,
340.477,
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": "8aPvq/60BMI6Mkkgp5IUlE"
},
{
"__type__": "cc.Node",
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 96
},
"_children": [
{
"__id__": 98
},
{
"__id__": 100
},
{
"__id__": 102
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-222.623,
-6.193,
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": "48ZbQn2cdD9rixXZWyRfUV"
},
{
"__type__": "cc.Node",
"_name": "boat_right",
"_name": "v1",
"_objFlags": 0,
"_parent": {
"__id__": 39
"__id__": 97
},
"_children": [
{
"__id__": 79
},
{
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
"__id__": 99
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -3898,8 +4828,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 700,
"height": 400
"width": 11,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3910,8 +4840,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
452.507,
-64.271,
1,
0,
0,
0,
0,
......@@ -3933,20 +4863,52 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6eoMaiRmBOQb7D1FZDJaIS"
"_id": "00iOgsUvlPw50wR8R/flRr"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dc635d80-da93-4f22-b4f0-b182682262c2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e8F+gTUVFPdZ8jO2HG6coK"
},
{
"__type__": "cc.Node",
"_name": "net",
"_name": "v2",
"_objFlags": 0,
"_parent": {
"__id__": 78
"__id__": 97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
"__id__": 101
}
],
"_prefab": null,
......@@ -3960,8 +4922,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 745,
"height": 439
"width": 29,
"height": 48
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3972,8 +4934,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5.526,
29.398,
-8,
0,
0,
0,
0,
......@@ -3995,14 +4957,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e2l/qoaixD3LRVBMQ2tLyn"
"_id": "34zeluls1Eq7ByJzg+ACId"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 100
},
"_enabled": true,
"_materials": [
......@@ -4013,7 +4975,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "be098dab-11fd-41f5-9065-7542f10cfb1a"
"__uuid__": "6601c88f-dfbf-4ccb-9ff6-e44377e3bf66"
},
"_type": 0,
"_sizeMode": 1,
......@@ -4027,20 +4989,20 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5erzTn0/dA4YLQ081RCf0c"
"_id": "570+iveoJK1INAVOtaExlT"
},
{
"__type__": "cc.Node",
"_name": "boat",
"_name": "v3",
"_objFlags": 0,
"_parent": {
"__id__": 78
"__id__": 97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 82
"__id__": 103
}
],
"_prefab": null,
......@@ -4054,8 +5016,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 511,
"height": 306
"width": 50,
"height": 74
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -4066,8 +5028,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-41.368,
340.477,
-19,
0,
0,
0,
0,
......@@ -4089,14 +5051,46 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8aPvq/60BMI6Mkkgp5IUlE"
"_id": "bfgGrS0IJNE7mH1LhoYuXn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "195ea49e-9f29-4b2e-8baf-cfe83f99fafc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "06eY6qLoBHU78+YzrxQkeO"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 96
},
"_enabled": true,
"_materials": [
......@@ -4131,21 +5125,32 @@
"_N$enableBatch": false,
"_id": "c1CERwS0NLY4OaFVuqtQ29"
},
{
"__type__": "4937eUd+rxKz6DH1tW86Giw",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
},
"_enabled": true,
"firstUp": false,
"_id": "b8FAi+qhxENrUThXcQ8XU6"
},
{
"__type__": "cc.Node",
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 78
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
"__id__": 107
},
{
"__id__": 85
"__id__": 108
}
],
"_prefab": null,
......@@ -4201,7 +5206,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
"__id__": 106
},
"_enabled": true,
"_materials": [
......@@ -4236,7 +5241,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
"__id__": 106
},
"_enabled": true,
"_color": {
......@@ -4254,7 +5259,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
"__id__": 43
},
"_enabled": true,
"alignMode": 1,
......@@ -4287,7 +5292,7 @@
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 111
}
],
"_prefab": null,
......@@ -4343,7 +5348,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 110
},
"_enabled": true,
"alignMode": 1,
......@@ -4374,16 +5379,16 @@
},
"_children": [
{
"__id__": 90
"__id__": 113
},
{
"__id__": 92
"__id__": 115
}
],
"_active": false,
"_components": [
{
"__id__": 94
"__id__": 117
}
],
"_prefab": null,
......@@ -4439,13 +5444,13 @@
"_name": "touch",
"_objFlags": 0,
"_parent": {
"__id__": 89
"__id__": 112
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 91
"__id__": 114
}
],
"_prefab": null,
......@@ -4501,7 +5506,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
"__id__": 113
},
"_enabled": true,
"_normalMaterial": null,
......@@ -4569,13 +5574,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 89
"__id__": 112
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 116
}
],
"_prefab": null,
......@@ -4631,7 +5636,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 115
},
"_enabled": true,
"_materials": [
......@@ -4664,7 +5669,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 112
},
"_enabled": true,
"_materials": [
......@@ -4702,7 +5707,7 @@
"_active": false,
"_components": [
{
"__id__": 96
"__id__": 119
}
],
"_prefab": null,
......@@ -4758,7 +5763,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
"__id__": 118
},
"_enabled": true,
"_materials": [
......@@ -4794,23 +5799,23 @@
},
"_children": [
{
"__id__": 98
"__id__": 121
},
{
"__id__": 102
"__id__": 125
}
],
"_active": true,
"_components": [
{
"__id__": 119
"__id__": 142
},
{
"__id__": 120
"__id__": 143
}
],
"_prefab": {
"__id__": 121
"__id__": 144
},
"_opacity": 255,
"_color": {
......@@ -4864,20 +5869,20 @@
"_name": "label_title",
"_objFlags": 0,
"_parent": {
"__id__": 97
"__id__": 120
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 122
},
{
"__id__": 100
"__id__": 123
}
],
"_prefab": {
"__id__": 101
"__id__": 124
},
"_opacity": 255,
"_color": {
......@@ -4931,7 +5936,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 121
},
"_enabled": true,
"_materials": [
......@@ -4964,7 +5969,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 121
},
"_enabled": true,
"alignMode": 1,
......@@ -4989,7 +5994,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 97
"__id__": 120
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -5002,21 +6007,21 @@
"_name": "layout_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 97
"__id__": 120
},
"_children": [
{
"__id__": 103
"__id__": 126
}
],
"_active": false,
"_components": [
{
"__id__": 117
"__id__": 140
}
],
"_prefab": {
"__id__": 118
"__id__": 141
},
"_opacity": 255,
"_color": {
......@@ -5070,26 +6075,26 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 102
"__id__": 125
},
"_children": [
{
"__id__": 104
"__id__": 127
},
{
"__id__": 107
"__id__": 130
},
{
"__id__": 110
"__id__": 133
},
{
"__id__": 113
"__id__": 136
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 116
"__id__": 139
},
"_opacity": 255,
"_color": {
......@@ -5143,17 +6148,17 @@
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 103
"__id__": 126
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 105
"__id__": 128
}
],
"_prefab": {
"__id__": 106
"__id__": 129
},
"_opacity": 255,
"_color": {
......@@ -5207,7 +6212,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
"__id__": 127
},
"_enabled": true,
"_materials": [
......@@ -5237,7 +6242,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 97
"__id__": 120
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -5250,17 +6255,17 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 103
"__id__": 126
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 108
"__id__": 131
}
],
"_prefab": {
"__id__": 109
"__id__": 132
},
"_opacity": 255,
"_color": {
......@@ -5314,7 +6319,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
"__id__": 130
},
"_enabled": true,
"_materials": [
......@@ -5344,7 +6349,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 97
"__id__": 120
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -5357,17 +6362,17 @@
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 103
"__id__": 126
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 111
"__id__": 134
}
],
"_prefab": {
"__id__": 112
"__id__": 135
},
"_opacity": 255,
"_color": {
......@@ -5421,7 +6426,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 133
},
"_enabled": true,
"_materials": [
......@@ -5451,7 +6456,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 97
"__id__": 120
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -5464,17 +6469,17 @@
"_name": "star_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 103
"__id__": 126
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 114
"__id__": 137
}
],
"_prefab": {
"__id__": 115
"__id__": 138
},
"_opacity": 255,
"_color": {
......@@ -5528,7 +6533,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 113
"__id__": 136
},
"_enabled": true,
"_materials": [
......@@ -5558,7 +6563,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 97
"__id__": 120
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -5569,7 +6574,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 97
"__id__": 120
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -5582,7 +6587,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 125
},
"_enabled": true,
"position": {
......@@ -5601,7 +6606,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 97
"__id__": 120
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -5614,7 +6619,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 120
},
"_enabled": true,
"_materials": [
......@@ -5646,7 +6651,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 120
},
"_enabled": true,
"alignMode": 1,
......@@ -5671,7 +6676,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 97
"__id__": 120
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -5688,26 +6693,26 @@
},
"_children": [
{
"__id__": 123
"__id__": 146
},
{
"__id__": 128
"__id__": 151
},
{
"__id__": 131
"__id__": 154
},
{
"__id__": 135
"__id__": 158
}
],
"_active": false,
"_components": [
{
"__id__": 139
"__id__": 162
}
],
"_prefab": {
"__id__": 140
"__id__": 163
},
"_opacity": 255,
"_color": {
......@@ -5761,23 +6766,23 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 145
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 124
"__id__": 147
},
{
"__id__": 125
"__id__": 148
},
{
"__id__": 126
"__id__": 149
}
],
"_prefab": {
"__id__": 127
"__id__": 150
},
"_opacity": 175,
"_color": {
......@@ -5831,7 +6836,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 146
},
"_enabled": true,
"_materials": [
......@@ -5863,7 +6868,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 146
},
"_enabled": true,
"alignMode": 1,
......@@ -5890,7 +6895,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 146
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5956,7 +6961,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 122
"__id__": 145
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -5969,17 +6974,17 @@
"_name": "finish_db",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 145
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 129
"__id__": 152
}
],
"_prefab": {
"__id__": 130
"__id__": 153
},
"_opacity": 255,
"_color": {
......@@ -6033,7 +7038,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 151
},
"_enabled": true,
"_materials": [
......@@ -6067,7 +7072,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 122
"__id__": 145
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -6080,20 +7085,20 @@
"_name": "btn_again",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 145
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 132
"__id__": 155
},
{
"__id__": 133
"__id__": 156
}
],
"_prefab": {
"__id__": 134
"__id__": 157
},
"_opacity": 255,
"_color": {
......@@ -6147,7 +7152,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
"__id__": 154
},
"_enabled": true,
"_materials": [
......@@ -6179,7 +7184,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
"__id__": 154
},
"_enabled": true,
"_normalMaterial": null,
......@@ -6245,7 +7250,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 122
"__id__": 145
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -6258,20 +7263,20 @@
"_name": "btn_next",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 145
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 136
"__id__": 159
},
{
"__id__": 137
"__id__": 160
}
],
"_prefab": {
"__id__": 138
"__id__": 161
},
"_opacity": 255,
"_color": {
......@@ -6325,7 +7330,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 135
"__id__": 158
},
"_enabled": true,
"_materials": [
......@@ -6357,7 +7362,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 135
"__id__": 158
},
"_enabled": true,
"_normalMaterial": null,
......@@ -6423,7 +7428,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 122
"__id__": 145
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -6436,7 +7441,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 145
},
"_enabled": true,
"alignMode": 1,
......@@ -6461,7 +7466,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 122
"__id__": 145
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -6478,20 +7483,20 @@
},
"_children": [
{
"__id__": 142
"__id__": 165
},
{
"__id__": 147
"__id__": 170
}
],
"_active": false,
"_components": [
{
"__id__": 150
"__id__": 173
}
],
"_prefab": {
"__id__": 151
"__id__": 174
},
"_opacity": 255,
"_color": {
......@@ -6545,23 +7550,23 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 143
"__id__": 166
},
{
"__id__": 144
"__id__": 167
},
{
"__id__": 145
"__id__": 168
}
],
"_prefab": {
"__id__": 146
"__id__": 169
},
"_opacity": 110,
"_color": {
......@@ -6615,7 +7620,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
"__id__": 165
},
"_enabled": true,
"_materials": [
......@@ -6647,7 +7652,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
"__id__": 165
},
"_enabled": true,
"_normalMaterial": null,
......@@ -6715,7 +7720,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
"__id__": 165
},
"_enabled": true,
"alignMode": 1,
......@@ -6740,7 +7745,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 141
"__id__": 164
},
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
......@@ -6753,17 +7758,17 @@
"_name": "start_ske",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 148
"__id__": 171
}
],
"_prefab": {
"__id__": 149
"__id__": 172
},
"_opacity": 255,
"_color": {
......@@ -6817,7 +7822,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
"__id__": 170
},
"_enabled": true,
"_materials": [
......@@ -6851,7 +7856,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 141
"__id__": 164
},
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
......@@ -6864,7 +7869,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
"__id__": 164
},
"_enabled": true,
"alignMode": 1,
......@@ -6889,7 +7894,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 141
"__id__": 164
},
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
......@@ -6950,10 +7955,10 @@
},
"_enabled": true,
"layout_start": {
"__id__": 141
"__id__": 164
},
"layout_finish": {
"__id__": 122
"__id__": 145
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
......
......@@ -42,12 +42,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.event.clear();
}
_cantouch = null;
initData() {
Game.getIns().init(this.data);
Game.getIns().reset();
// 所有全局变量 默认都是null
this._cantouch = true;
this.touching = null;
}
private audioId: any;
async initView() {
......@@ -57,14 +55,45 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.view.setString(pg.view.find(boat_right, 'text'), Game.getIns().boatRight.text)
}
initEvent() {
pg.event.on("game_time_over", () => {
// alert("game_time_over")
//这里的事件会发送的很早。但是我们需要等待动画执行完了之后再开始后续的内容
Game.getIns().addPage();
if (!Game.getIns().isOver) {
return;
}
this.showGameOver();
pg.view.touchOn(pg.view.find(this, 'layout_bottom/boat_left/boat'), this.onTouchBoatLeft, this)
pg.view.touchOn(pg.view.find(this, 'layout_bottom/boat_right/boat'), this.onTouchBoatRight, this)
}
onTouchBoatLeft() {
let voice = pg.view.find(this, 'layout_bottom/boat_left/boat/voice')
let count = 0;
voice.active = true;
function func() {
pg.view.find(voice, 'v1').active = count % 4 == 1;
pg.view.find(voice, 'v2').active = count % 4 == 2;
pg.view.find(voice, 'v3').active = count % 4 == 3;
count++;
}
this.schedule(func, 0.3)
pg.audio.playAudioByUrlThen(Game.getIns().boatLeft.audio).then(() => {
this.unschedule(func)
pg.view.find(voice, 'v1').active = false;
pg.view.find(voice, 'v2').active = false;
pg.view.find(voice, 'v3').active = false;
voice.active = false;
})
}
onTouchBoatRight() {
let voice = pg.view.find(this, 'layout_bottom/boat_right/boat/voice')
let count = 0;
voice.active = true;
function func() {
pg.view.find(voice, 'v1').active = count % 4 == 1;
pg.view.find(voice, 'v2').active = count % 4 == 2;
pg.view.find(voice, 'v3').active = count % 4 == 3;
count++;
}
this.schedule(func, 0.3)
pg.audio.playAudioByUrlThen(Game.getIns().boatRight.audio).then(() => {
this.unschedule(func)
pg.view.find(voice, 'v1').active = false;
pg.view.find(voice, 'v2').active = false;
pg.view.find(voice, 'v3').active = false;
voice.active = false;
})
}
......@@ -148,7 +177,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
fishList.forEach((fish, index) => {
let node = cc.instantiate(item);
layout_fish.addChild(node);
this.updateItem(node, fish);
this.scheduleOnce(() => {
this.updateItem(node, fish);
}, index * Math.random())
});
}
updateItem(item, data: Option) {
......@@ -200,23 +231,26 @@ export default class SceneComponent extends MyCocosSceneComponent {
item.x = pos.x;
item.y = pos.y;
}
private touching: any;
onItemTouchStart(e) {
if (this.touching) return;
let target: cc.Node = e.target;
let data = target.data;
if (data.isChecked) return;
let data: Option = target.data;
this.setTouchPos(e);
this.touching = data;
}
onItemTouchMove(e) {
let target: cc.Node = e.target;
let data = target.data;
if (data.isChecked) return;
if (!this.touching) return;
if (this.touching.id != data.id) return;
this.setTouchPos(e);
}
onItemTouchEnd(e) {
//
let target: cc.Node = e.target;
let data = target.data;
if (data.isChecked) return;
if (!this.touching) return;
if (this.touching.id != data.id) return;
// let rect = cc.rect(target.x, target.y, target.width, target.height);
let rect = cc.rect(target.x, target.y, 50, 50);
......@@ -236,11 +270,27 @@ export default class SceneComponent extends MyCocosSceneComponent {
Game.getIns().boatRight.setRight(data);
currentRect = rightRect;
}
if (!currentRect) return;
if (!currentRect) {
this.touching = null;
this.playLocalAudio('error').then(() => {
this.touching = null;
this.updateItem(target, data);
})
return;
}
if (isRight) {
// target
let item = target;
let lastArea = 100;
this.playLocalAudio('right').then(() => {
if (data.audioUrl) {
pg.audio.playAudioByUrlThen(data.audioUrl).then(() => {
this.touching = null;
})
} else {
this.touching = null;
}
})
if (item.scaleX == -1) {
// 计算当前坐标距离最左侧的距离
let space = currentRect.width - ((rect.x + rect.width) - currentRect.x) - lastArea / 5;
......@@ -258,7 +308,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
item.off(cc.Node.EventType.TOUCH_CANCEL, this.onItemTouchCancel, this);
pg.event.emit('mouse_05_add')
} else {
this.updateItem(target, data);
this.playLocalAudio('error').then(() => {
this.touching = null;
this.updateItem(target, data);
})
}
//判断是否结束了
if (Game.getIns().boatLeft.isAllRight() && Game.getIns().boatRight.isAllRight()) {
......
{
"ver": "1.1.2",
"uuid": "d427b42b-3b60-403a-a224-7b0137a16c06",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8f1ed432-166d-4cdc-8dab-c545657b906e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 52,
"height": 76,
"platformSettings": {},
"subMetas": {
"v1": {
"ver": "1.0.4",
"uuid": "dc635d80-da93-4f22-b4f0-b182682262c2",
"rawTextureUuid": "8f1ed432-166d-4cdc-8dab-c545657b906e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 19.5,
"offsetY": 2,
"trimX": 40,
"trimY": 24,
"width": 11,
"height": 24,
"rawWidth": 52,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "54bab549-e6ae-4d18-bec1-2c485ce342a8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 52,
"height": 76,
"platformSettings": {},
"subMetas": {
"v2": {
"ver": "1.0.4",
"uuid": "6601c88f-dfbf-4ccb-9ff6-e44377e3bf66",
"rawTextureUuid": "54bab549-e6ae-4d18-bec1-2c485ce342a8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 10.5,
"offsetY": 2,
"trimX": 22,
"trimY": 12,
"width": 29,
"height": 48,
"rawWidth": 52,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f40b630a-635c-497a-8a8c-9b6bc74fce0d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 52,
"height": 76,
"platformSettings": {},
"subMetas": {
"v3": {
"ver": "1.0.4",
"uuid": "195ea49e-9f29-4b2e-8baf-cfe83f99fafc",
"rawTextureUuid": "f40b630a-635c-497a-8a8c-9b6bc74fce0d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 50,
"height": 74,
"rawWidth": 52,
"rawHeight": 76,
"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