Commit cc39b235 by william

feat: add action music

parent 2700aa4c
{
"ver": "1.0.1",
"uuid": "a6a7c1ba-95ff-44b0-a20c-f8dab80485a2",
"downloadMode": 0,
"subMetas": {}
}
\ No newline at end of file
......@@ -17,7 +17,19 @@
"__id__": 2
},
{
"__id__": 91
"__id__": 97
},
{
"__id__": 99
},
{
"__id__": 101
},
{
"__id__": 103
},
{
"__id__": 105
}
],
"_tag": -1,
......@@ -71,29 +83,32 @@
"__id__": 26
},
{
"__id__": 32
"__id__": 36
},
{
"__id__": 33
"__id__": 37
},
{
"__id__": 49
"__id__": 53
},
{
"__id__": 52
"__id__": 56
},
{
"__id__": 70
"__id__": 72
},
{
"__id__": 88
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 94
},
{
"__id__": 89
"__id__": 95
}
],
"_prefab": null,
......@@ -304,10 +319,10 @@
"__id__": 13
},
{
"__id__": 15
"__id__": 14
},
{
"__id__": 16
"__id__": 24
}
],
"_tag": -1,
......@@ -509,84 +524,6 @@
},
{
"__type__": "cc.Node",
"_name": "logo",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 14
}
],
"_prefab": null,
"_id": "d6B3OYIbdA0oKVBARBzlsD",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 332,
"height": 110
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.6,
"_scaleY": 0.6,
"_position": {
"__type__": "cc.Vec2",
"x": -3,
"y": 214
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "26869b11-f810-4bbe-994e-793228a11892"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Node",
"_name": "spec",
"_objFlags": 0,
"_parent": {
......@@ -642,26 +579,26 @@
},
"_children": [
{
"__id__": 17
"__id__": 15
},
{
"__id__": 19
"__id__": 17
},
{
"__id__": 21
"__id__": 19
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 21
},
{
"__id__": 24
"__id__": 22
},
{
"__id__": 25
"__id__": 23
}
],
"_prefab": null,
......@@ -706,14 +643,14 @@
"_name": "slider3",
"_objFlags": 0,
"_parent": {
"__id__": 16
"__id__": 14
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 18
"__id__": 16
}
],
"_prefab": null,
......@@ -758,7 +695,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 15
},
"_enabled": true,
"_spriteFrame": {
......@@ -784,14 +721,14 @@
"_name": "slider2",
"_objFlags": 0,
"_parent": {
"__id__": 16
"__id__": 14
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 20
"__id__": 18
}
],
"_prefab": null,
......@@ -836,7 +773,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 17
},
"_enabled": true,
"_spriteFrame": {
......@@ -862,14 +799,14 @@
"_name": "slider1",
"_objFlags": 0,
"_parent": {
"__id__": 16
"__id__": 14
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 22
"__id__": 20
}
],
"_prefab": null,
......@@ -914,7 +851,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
"__id__": 19
},
"_enabled": true,
"_spriteFrame": {
......@@ -940,7 +877,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 14
},
"_enabled": true,
"_type": 0,
......@@ -954,7 +891,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 14
},
"_enabled": true,
"isOpenGame": false
......@@ -964,18 +901,96 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 14
},
"_enabled": true,
"slider1": {
"__id__": 21
"__id__": 19
},
"slider2": {
"__id__": 19
"__id__": 17
},
"slider3": {
"__id__": 17
"__id__": 15
}
},
{
"__type__": "cc.Node",
"_name": "logo",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 25
}
],
"_prefab": null,
"_id": "54PD3rRh9FjIktkKQ23+hu",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 241,
"height": 105
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 3,
"y": 195
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "7123ec22-5e64-49d2-9841-c87ffc49b634"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Node",
......@@ -990,13 +1005,19 @@
},
{
"__id__": 29
},
{
"__id__": 31
},
{
"__id__": 33
}
],
"_tag": -1,
"_active": false,
"_components": [
{
"__id__": 31
"__id__": 35
}
],
"_prefab": null,
......@@ -1193,34 +1214,22 @@
"_atlas": null
},
{
"__type__": "7ddb2dyGexMPL9N4moJYFg4",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"game": null,
"bigHead": {
"__id__": 27
},
"coming": {
"__id__": 29
}
},
{
"__type__": "cc.Node",
"_name": "student",
"_name": "stupid_head",
"_objFlags": 0,
"_parent": {
"__id__": 2
"__id__": 26
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 32
}
],
"_prefab": null,
"_id": "797uGBCXpALbTmcH0WGjHM",
"_id": "0c7zeAZrxMiYNYH8GpWwIU",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1237,13 +1246,187 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 136,
"height": 387
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": 600,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "b22e746a-2b44-4038-ad97-9b602b1020be"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Node",
"_name": "failImage",
"_objFlags": 0,
"_parent": {
"__id__": 26
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 34
}
],
"_prefab": null,
"_id": "54lGHMW1tJKZv9HlrmIOFt",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 462
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": 750,
"y": -30
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "d1dfa86a-f3aa-4764-b9e8-eac1a6e8ca3f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "7ddb2dyGexMPL9N4moJYFg4",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"game": null,
"bigHead": {
"__id__": 27
},
"coming": {
"__id__": 29
},
"stupidHead": {
"__id__": 31
},
"failImage": {
"__id__": 33
}
},
{
"__type__": "cc.Node",
"_name": "student",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [],
"_prefab": null,
"_id": "797uGBCXpALbTmcH0WGjHM",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
......@@ -1265,13 +1448,13 @@
},
"_children": [
{
"__id__": 34
"__id__": 38
},
{
"__id__": 39
"__id__": 43
},
{
"__id__": 44
"__id__": 48
}
],
"_tag": -1,
......@@ -1319,14 +1502,14 @@
"_name": "timer",
"_objFlags": 0,
"_parent": {
"__id__": 33
"__id__": 37
},
"_children": [
{
"__id__": 35
"__id__": 39
},
{
"__id__": 37
"__id__": 41
}
],
"_tag": -1,
......@@ -1374,14 +1557,14 @@
"_name": "icon-clock",
"_objFlags": 0,
"_parent": {
"__id__": 34
"__id__": 38
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 40
}
],
"_prefab": null,
......@@ -1426,7 +1609,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 39
},
"_enabled": true,
"_spriteFrame": {
......@@ -1452,14 +1635,14 @@
"_name": "tip",
"_objFlags": 0,
"_parent": {
"__id__": 34
"__id__": 38
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 42
}
],
"_prefab": null,
......@@ -1504,7 +1687,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
"__id__": 41
},
"_enabled": true,
"_useOriginalSize": false,
......@@ -1526,14 +1709,14 @@
"_name": "score",
"_objFlags": 0,
"_parent": {
"__id__": 33
"__id__": 37
},
"_children": [
{
"__id__": 40
"__id__": 44
},
{
"__id__": 42
"__id__": 46
}
],
"_tag": -1,
......@@ -1581,14 +1764,14 @@
"_name": "icon-points",
"_objFlags": 0,
"_parent": {
"__id__": 39
"__id__": 43
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 41
"__id__": 45
}
],
"_prefab": null,
......@@ -1633,7 +1816,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
"__id__": 44
},
"_enabled": true,
"_spriteFrame": {
......@@ -1659,14 +1842,14 @@
"_name": "number",
"_objFlags": 0,
"_parent": {
"__id__": 39
"__id__": 43
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 43
"__id__": 47
}
],
"_prefab": null,
......@@ -1711,7 +1894,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 46
},
"_enabled": true,
"_useOriginalSize": false,
......@@ -1733,21 +1916,21 @@
"_name": "level",
"_objFlags": 0,
"_parent": {
"__id__": 33
"__id__": 37
},
"_children": [
{
"__id__": 45
"__id__": 49
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 47
"__id__": 51
},
{
"__id__": 48
"__id__": 52
}
],
"_prefab": null,
......@@ -1792,14 +1975,14 @@
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 44
"__id__": 48
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 46
"__id__": 50
}
],
"_prefab": null,
......@@ -1844,7 +2027,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
"__id__": 49
},
"_enabled": true,
"_spriteFrame": {
......@@ -1870,7 +2053,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 48
},
"_enabled": true,
"_spriteFrame": {
......@@ -1896,12 +2079,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 48
},
"_enabled": true,
"_N$totalLength": 140,
"_N$barSprite": {
"__id__": 46
"__id__": 50
},
"_N$mode": 0,
"_N$progress": 1,
......@@ -1919,10 +2102,10 @@
"_active": true,
"_components": [
{
"__id__": 50
"__id__": 54
},
{
"__id__": 51
"__id__": 55
}
],
"_prefab": null,
......@@ -1967,7 +2150,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
"__id__": 53
},
"_enabled": true,
"_spriteFrame": {
......@@ -1993,7 +2176,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
"__id__": 53
},
"_enabled": true
},
......@@ -2006,19 +2189,22 @@
},
"_children": [
{
"__id__": 53
"__id__": 57
},
{
"__id__": 55
"__id__": 59
},
{
"__id__": 57
"__id__": 61
},
{
"__id__": 59
"__id__": 63
},
{
"__id__": 65
"__id__": 66
},
{
"__id__": 69
}
],
"_tag": -1,
......@@ -2066,14 +2252,14 @@
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 52
"__id__": 56
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 54
"__id__": 58
}
],
"_prefab": null,
......@@ -2118,7 +2304,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 57
},
"_enabled": true,
"_useOriginalSize": false,
......@@ -2140,14 +2326,14 @@
"_name": "subtitle",
"_objFlags": 0,
"_parent": {
"__id__": 52
"__id__": 56
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 60
}
],
"_prefab": null,
......@@ -2192,7 +2378,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
"__id__": 59
},
"_enabled": true,
"_useOriginalSize": false,
......@@ -2214,14 +2400,14 @@
"_name": "pic",
"_objFlags": 0,
"_parent": {
"__id__": 52
"__id__": 56
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 62
}
],
"_prefab": null,
......@@ -2252,7 +2438,7 @@
"_position": {
"__type__": "cc.Vec2",
"x": 3,
"y": -5
"y": 8
},
"_skewX": 0,
"_skewY": 0,
......@@ -2266,7 +2452,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 61
},
"_enabled": true,
"_spriteFrame": {
......@@ -2289,37 +2475,30 @@
},
{
"__type__": "cc.Node",
"_name": "playAgain",
"_name": "share",
"_objFlags": 0,
"_parent": {
"__id__": 52
"__id__": 56
},
"_children": [
{
"__id__": 60
}
],
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 62
},
{
"__id__": 63
"__id__": 64
},
{
"__id__": 64
"__id__": 65
}
],
"_prefab": null,
"_id": "10O/WAl5NKrpZzIw8RBgaa",
"_id": "2er2+QmF5FsKGz45by98NO",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 247,
"g": 242,
"b": 224,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -2330,8 +2509,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50
"width": 315,
"height": 65
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -2339,8 +2518,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 2,
"y": -216
"x": 0,
"y": -164
},
"_skewX": 0,
"_skewY": 0,
......@@ -2350,28 +2529,66 @@
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "bd1cedb8-1632-442f-bd36-64f2657dff0f"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "90678Xuz5BH1p4CrNOVl2lk",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true
},
{
"__type__": "cc.Node",
"_name": "Label",
"_name": "playAgain",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 56
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 61
"__id__": 67
},
{
"__id__": 68
}
],
"_prefab": null,
"_id": "22UghWLHZBvKnhqEaZoDjK",
"_id": "5cBlTsV5pOEatiPyEH2TVH",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 218,
"g": 185,
"b": 132,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -2382,8 +2599,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
"width": 315,
"height": 65
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -2391,8 +2608,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"x": 1,
"y": -242
},
"_skewX": 0,
"_skewY": 0,
......@@ -2402,39 +2619,17 @@
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "再撩一把",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 66
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
"__uuid__": "b9760d5c-3be4-4477-adcb-7dc11ffaae75"
},
"_type": 1,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
......@@ -2450,108 +2645,142 @@
"_atlas": null
},
{
"__type__": "cc.Button",
"__type__": "c95b87c8/BJkodcD4qD3/hZ",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 66
},
"_enabled": true,
"transition": 2,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_enabled": true
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
{
"__type__": "cc.Node",
"_name": "rank",
"_objFlags": 0,
"_parent": {
"__id__": 56
},
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 70
},
"_N$disabledColor": {
{
"__id__": 71
}
],
"_prefab": null,
"_id": "ab5eDBe5tMs5GgI2Ycli3I",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 90,
"height": 30
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 122,
"y": -305
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
"_N$hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
},
"hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"_enabled": true,
"_spriteFrame": {
"__uuid__": "d0e4df99-ac2c-4b0d-9b04-eae52b8e2138"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_N$target": {
"__id__": 59
}
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "c95b87c8/BJkodcD4qD3/hZ",
"__type__": "fbe28oGaA1IQ4sHT8uMvTBy",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 69
},
"_enabled": true
},
{
"__type__": "cc.Node",
"_name": "share",
"_name": "success",
"_objFlags": 0,
"_parent": {
"__id__": 52
"__id__": 2
},
"_children": [
{
"__id__": 66
}
],
"_tag": -1,
"_active": true,
"_components": [
"__id__": 73
},
{
"__id__": 68
"__id__": 75
},
{
"__id__": 69
"__id__": 77
},
{
"__id__": 79
},
{
"__id__": 82
},
{
"__id__": 85
}
],
"_tag": -1,
"_active": false,
"_components": [],
"_prefab": null,
"_id": "c87BPRFl1Kz7iWRAKrPIIQ",
"_id": "f3QEdZlRtFaJOS+nqkQWrK",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 218,
"g": 185,
"b": 132,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -2562,8 +2791,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -2571,8 +2800,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 2,
"y": -153
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -2583,27 +2812,27 @@
},
{
"__type__": "cc.Node",
"_name": "Label",
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 65
"__id__": 72
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 67
"__id__": 74
}
],
"_prefab": null,
"_id": "8155cfg7JF75taswc50CmK",
"_id": "e0OR+IaP5HNZhSpDNepvFM",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 247,
"g": 242,
"b": 224,
"r": 8,
"g": 8,
"b": 8,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -2614,8 +2843,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50
"width": 120,
"height": 40
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -2624,7 +2853,7 @@
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"y": 250
},
"_skewX": 0,
"_skewY": 0,
......@@ -2638,148 +2867,46 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 73
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_actualFontSize": 40,
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": false,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "召唤好友帮我续命",
"_N$string": "时间到",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"transition": 2,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 65
}
"_N$overflow": 0
},
{
"__type__": "cc.Node",
"_name": "success",
"_name": "heart",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 71
},
{
"__id__": 77
},
{
"__id__": 82
},
{
"__id__": 84
"__id__": 72
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 86
"__id__": 76
}
],
"_tag": -1,
"_active": false,
"_components": [],
"_prefab": null,
"_id": "f3QEdZlRtFaJOS+nqkQWrK",
"_id": "3aknsEYHdEy6VKNCQJ1AUD",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 22,
"g": 21,
"b": 21,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -2790,8 +2917,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 60,
"height": 40
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -2800,7 +2927,7 @@
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"y": 200
},
"_skewX": 0,
"_skewY": 0,
......@@ -2810,38 +2937,50 @@
"groupIndex": 0
},
{
"__type__": "cc.Node",
"_name": "playAgain",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"_parent": {
"__id__": 70
"node": {
"__id__": 75
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "心动值",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0
},
"_children": [
{
"__type__": "cc.Node",
"_name": "result",
"_objFlags": 0,
"_parent": {
"__id__": 72
}
],
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 74
},
{
"__id__": 75
},
{
"__id__": 76
"__id__": 78
}
],
"_prefab": null,
"_id": "9awn2RjVtDx50b/lYNY1yR",
"_id": "21YxOimdhJd5+Pc5LXSRHD",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 247,
"g": 242,
"b": 224,
"r": 218,
"g": 185,
"b": 132,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -2852,8 +2991,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50
"width": 56,
"height": 100
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -2861,8 +3000,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 2,
"y": -216
"x": 0,
"y": 140
},
"_skewX": 0,
"_skewY": 0,
......@@ -2872,28 +3011,53 @@
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 100,
"_fontSize": 100,
"_lineHeight": 100,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "0",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0
},
{
"__type__": "cc.Node",
"_name": "Label",
"_name": "share",
"_objFlags": 0,
"_parent": {
"__id__": 71
"__id__": 72
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 73
"__id__": 80
},
{
"__id__": 81
}
],
"_prefab": null,
"_id": "d0L/pyxKxLCoiEkU4zoS09",
"_id": "850c9tQE5DKabCiWkmdbyN",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 218,
"g": 185,
"b": 132,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -2904,8 +3068,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
"width": 318,
"height": 65
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -2914,7 +3078,7 @@
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"y": -155
},
"_skewX": 0,
"_skewY": 0,
......@@ -2924,39 +3088,17 @@
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "再撩一把",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 79
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
"__uuid__": "a832448c-48d1-4848-963f-6bbfab302024"
},
"_type": 1,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
......@@ -2972,108 +3114,130 @@
"_atlas": null
},
{
"__type__": "cc.Button",
"__type__": "90678Xuz5BH1p4CrNOVl2lk",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 79
},
"_enabled": true,
"transition": 2,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_enabled": true
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
{
"__type__": "cc.Node",
"_name": "playAgain",
"_objFlags": 0,
"_parent": {
"__id__": 72
},
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 83
},
"_N$disabledColor": {
{
"__id__": 84
}
],
"_prefab": null,
"_id": "80z/TZum5MZoESrn7xvzRx",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"_contentSize": {
"__type__": "cc.Size",
"width": 315,
"height": 65
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": -237
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
"_N$hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"_enabled": true,
"_spriteFrame": {
"__uuid__": "b9760d5c-3be4-4477-adcb-7dc11ffaae75"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_N$target": {
"__id__": 71
}
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "c95b87c8/BJkodcD4qD3/hZ",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 82
},
"_enabled": true
},
{
"__type__": "cc.Node",
"_name": "share",
"_name": "rank",
"_objFlags": 0,
"_parent": {
"__id__": 70
"__id__": 72
},
"_children": [
{
"__id__": 78
}
],
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 80
"__id__": 86
},
{
"__id__": 81
"__id__": 87
}
],
"_prefab": null,
"_id": "9fkEt9/JZAybLgSsYv2MBi",
"_id": "74Z8jjsdpL4J6e88V0YIuO",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 218,
"g": 185,
"b": 132,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -3084,8 +3248,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50
"width": 90,
"height": 30
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -3093,8 +3257,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 2,
"y": -153
"x": 122,
"y": -305
},
"_skewX": 0,
"_skewY": 0,
......@@ -3104,28 +3268,66 @@
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "d0e4df99-ac2c-4b0d-9b04-eae52b8e2138"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "fbe28oGaA1IQ4sHT8uMvTBy",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_enabled": true
},
{
"__type__": "cc.Node",
"_name": "Label",
"_name": "rank",
"_objFlags": 0,
"_parent": {
"__id__": 77
"__id__": 2
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
"_children": [
{
"__id__": 79
"__id__": 89
},
{
"__id__": 91
}
],
"_tag": -1,
"_active": false,
"_components": [],
"_prefab": null,
"_id": "4701tnMPlGBLb9z9U6ekKm",
"_id": "11YibS/WZNOK/gDZ0JSB2n",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 247,
"g": 242,
"b": 224,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -3136,8 +3338,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -3156,39 +3358,150 @@
"groupIndex": 0
},
{
"__type__": "cc.Label",
"__type__": "cc.Node",
"_name": "chart",
"_objFlags": 0,
"_parent": {
"__id__": 88
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 90
}
],
"_prefab": null,
"_id": "b7owenR+lBfaF1/mmsJF/r",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 376,
"height": 560
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.85,
"_scaleY": 0.85,
"_position": {
"__type__": "cc.Vec2",
"x": 1,
"y": 40
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 89
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "炫耀一下",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1
"_spriteFrame": {
"__uuid__": "d5dc6cc1-e18f-42ee-96de-d54e423d911e"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Node",
"_name": "playAgain",
"_objFlags": 0,
"_parent": {
"__id__": 88
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 92
},
{
"__id__": 93
}
],
"_prefab": null,
"_id": "0bqmbNqGBBQa4ydjBmacXC",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 318,
"height": 65
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 1,
"y": -266
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
"__id__": 91
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
"__uuid__": "b9760d5c-3be4-4477-adcb-7dc11ffaae75"
},
"_type": 1,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
......@@ -3204,92 +3517,143 @@
"_atlas": null
},
{
"__type__": "cc.Button",
"__type__": "c95b87c8/BJkodcD4qD3/hZ",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
"__id__": 91
},
"_enabled": true
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"transition": 2,
"pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_designResolution": {
"__type__": "cc.Size",
"width": 375,
"height": 667
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_fitWidth": false,
"_fitHeight": true
},
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
{
"__type__": "e4c9b01WKRDtYbVX2Ed1Nfl",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_enabled": true,
"logo": {
"__id__": 24
},
"start_btn": {
"__id__": 8
},
"teacher": {
"__id__": 26
},
"classroom": {
"__id__": 5
},
"index": {
"__id__": 7
},
"hand": {
"__id__": 53
},
"score_number": {
"__id__": 47
},
"board": {
"__id__": 37
},
"level": {
"__id__": 52
},
"failure": {
"__id__": 56
},
"success": {
"__id__": 72
},
"success_result": {
"__id__": 78
},
"bgMusic": {
"__id__": 96
},
"clickMusic": {
"__id__": 98
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
"roarMusic": {
"__id__": 100
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"policeMusic": {
"__id__": 102
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"heartMusic": {
"__id__": 104
},
"_N$hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"slider1": {
"__id__": 19
},
"hoverSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
"slider2": {
"__id__": 17
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
"slider3": {
"__id__": 15
},
"_N$target": {
"__id__": 77
"spriteFrame": null,
"rank": {
"__id__": 88
}
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": true,
"_clip": {
"__uuid__": "859ee3f9-e04e-4f60-afa6-4a4ae658f51f"
},
"_volume": 1,
"_mute": false,
"_loop": true,
"playOnLoad": true,
"preload": false
},
{
"__type__": "cc.Node",
"_name": "title",
"_name": "bgMusic",
"_objFlags": 0,
"_parent": {
"__id__": 70
"__id__": 1
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 83
"__id__": 96
}
],
"_prefab": null,
"_id": "e0OR+IaP5HNZhSpDNepvFM",
"_id": "72tipjH+VAPLZ8S6F8BLZt",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 8,
"g": 8,
"b": 8,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -3300,8 +3664,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 40
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -3309,8 +3673,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 241
"x": 187.5,
"y": 375
},
"_skewX": 0,
"_skewY": 0,
......@@ -3320,50 +3684,45 @@
"groupIndex": 0
},
{
"__type__": "cc.Label",
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
"__id__": 99
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 40,
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "下课了",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0
"_clip": {
"__uuid__": "c7c26aa4-5ab0-4d39-927d-3fecc953a0e2"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false
},
{
"__type__": "cc.Node",
"_name": "heart",
"_name": "clickMusic",
"_objFlags": 0,
"_parent": {
"__id__": 70
"__id__": 1
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 85
"__id__": 98
}
],
"_prefab": null,
"_id": "3aknsEYHdEy6VKNCQJ1AUD",
"_id": "deyYifQLtK3JySv1OKZtgd",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 22,
"g": 21,
"b": 21,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -3374,8 +3733,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 40
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -3383,8 +3742,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 188
"x": 187.5,
"y": 333.5
},
"_skewX": 0,
"_skewY": 0,
......@@ -3394,50 +3753,45 @@
"groupIndex": 0
},
{
"__type__": "cc.Label",
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 101
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 20,
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "心动值",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0
"_clip": {
"__uuid__": "52e445de-6427-4ca3-82ab-4cb9d1188a79"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false
},
{
"__type__": "cc.Node",
"_name": "result",
"_name": "roarMusic",
"_objFlags": 0,
"_parent": {
"__id__": 70
"__id__": 1
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 87
"__id__": 100
}
],
"_prefab": null,
"_id": "21YxOimdhJd5+Pc5LXSRHD",
"_id": "1eRMRDZC9LcaMOwfTh3RZF",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 218,
"g": 185,
"b": 132,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -3448,8 +3802,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 56,
"height": 100
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -3458,7 +3812,7 @@
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 120
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -3468,121 +3822,94 @@
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 100,
"_fontSize": 100,
"_lineHeight": 100,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_N$string": "0",
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0
},
{
"__type__": "cc.Canvas",
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"__id__": 103
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 375,
"height": 667
"_clip": {
"__uuid__": "daf303d3-bc68-460d-879e-0b52e9846414"
},
"_fitWidth": false,
"_fitHeight": true
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false
},
{
"__type__": "e4c9b01WKRDtYbVX2Ed1Nfl",
"_name": "",
"__type__": "cc.Node",
"_name": "policeMusic",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"logo": {
"__id__": 13
},
"start_btn": {
"__id__": 8
},
"teacher": {
"__id__": 26
},
"classroom": {
"__id__": 5
},
"index": {
"__id__": 7
},
"hand": {
"__id__": 49
},
"score_number": {
"__id__": 43
},
"board": {
"__id__": 33
},
"level": {
"__id__": 48
},
"failure": {
"__id__": 52
},
"success": {
"__id__": 70
},
"success_result": {
"__id__": 87
"_parent": {
"__id__": 1
},
"bgMusic": {
"__id__": 90
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 102
}
],
"_prefab": null,
"_id": "21r9iautRP5a72VndfON/d",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"slider1": {
"__id__": 21
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"slider2": {
"__id__": 19
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"slider3": {
"__id__": 17
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"spriteFrame": null
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 105
},
"_enabled": true,
"_clip": {
"__uuid__": "859ee3f9-e04e-4f60-afa6-4a4ae658f51f"
"__uuid__": "2d128c56-7853-4690-a188-2ef27d4cc5b4"
},
"_volume": 1,
"_mute": false,
"_loop": true,
"playOnLoad": true,
"_loop": false,
"playOnLoad": false,
"preload": false
},
{
"__type__": "cc.Node",
"_name": "bgMusic",
"_name": "heartMusic",
"_objFlags": 0,
"_parent": {
"__id__": 1
......@@ -3592,11 +3919,11 @@
"_active": true,
"_components": [
{
"__id__": 90
"__id__": 104
}
],
"_prefab": null,
"_id": "72tipjH+VAPLZ8S6F8BLZt",
"_id": "55+w0xAFlFX7dgtQSV8n0L",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -3622,8 +3949,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 187.5,
"y": 375
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......
{
"ver": "1.0.0",
"uuid": "6090b59d-b68e-4425-ae70-d291ca8e3af2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"btn-again": {
"ver": "1.0.3",
"uuid": "b9760d5c-3be4-4477-adcb-7dc11ffaae75",
"rawTextureUuid": "6090b59d-b68e-4425-ae70-d291ca8e3af2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": -2,
"trimX": 6,
"trimY": 10,
"width": 550,
"height": 108,
"rawWidth": 564,
"rawHeight": 124,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.0.0",
"uuid": "123ad958-ccc3-4310-9c8d-d4caa90c4904",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"btn-share": {
"ver": "1.0.3",
"uuid": "bd1cedb8-1632-442f-bd36-64f2657dff0f",
"rawTextureUuid": "123ad958-ccc3-4310-9c8d-d4caa90c4904",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 6,
"trimY": 8,
"width": 552,
"height": 108,
"rawWidth": 564,
"rawHeight": 124,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.0.0",
"uuid": "2692e93c-0077-4f62-9ef1-96527535deb9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"btn-show": {
"ver": "1.0.3",
"uuid": "a832448c-48d1-4848-963f-6bbfab302024",
"rawTextureUuid": "2692e93c-0077-4f62-9ef1-96527535deb9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -4,
"trimX": 6,
"trimY": 12,
"width": 552,
"height": 108,
"rawWidth": 564,
"rawHeight": 124,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.0.0",
"uuid": "c1bf603b-29e3-4ad9-b332-7be2edfabdea",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"chart": {
"ver": "1.0.3",
"uuid": "d5dc6cc1-e18f-42ee-96de-d54e423d911e",
"rawTextureUuid": "c1bf603b-29e3-4ad9-b332-7be2edfabdea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": -12,
"trimX": 48,
"trimY": 103,
"width": 652,
"height": 778,
"rawWidth": 750,
"rawHeight": 960,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.0.0",
"uuid": "3284b7ab-7c6e-4d88-855b-ab2b0a228c18",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"data": {
"ver": "1.0.3",
"uuid": "d0e4df99-ac2c-4b0d-9b04-eae52b8e2138",
"rawTextureUuid": "3284b7ab-7c6e-4d88-855b-ab2b0a228c18",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 194,
"height": 54,
"rawWidth": 200,
"rawHeight": 58,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.0.0",
"uuid": "52acb06b-35fa-42c1-a48c-190c283b935f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"failImage": {
"ver": "1.0.3",
"uuid": "d1dfa86a-f3aa-4764-b9e8-eac1a6e8ca3f",
"rawTextureUuid": "52acb06b-35fa-42c1-a48c-190c283b935f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -1,
"trimX": 0,
"trimY": 3,
"width": 750,
"height": 462,
"rawWidth": 750,
"rawHeight": 466,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/images/logo.png

14.2 KB | W: | H:

assets/images/logo.png

27.2 KB | W: | H:

assets/images/logo.png
assets/images/logo.png
assets/images/logo.png
assets/images/logo.png
  • 2-up
  • Swipe
  • Onion skin
{
"ver": "1.0.0",
"uuid": "d3b617e9-e315-42a7-aaa4-7f1b67e9df35",
"uuid": "5263ac39-6329-44a0-9072-27995d2e1e68",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"logo": {
"ver": "1.0.3",
"uuid": "26869b11-f810-4bbe-994e-793228a11892",
"rawTextureUuid": "d3b617e9-e315-42a7-aaa4-7f1b67e9df35",
"uuid": "7123ec22-5e64-49d2-9841-c87ffc49b634",
"rawTextureUuid": "5263ac39-6329-44a0-9072-27995d2e1e68",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 332,
"height": 110,
"rawWidth": 332,
"rawHeight": 110,
"offsetY": 1,
"trimX": 11,
"trimY": 10,
"width": 482,
"height": 210,
"rawWidth": 504,
"rawHeight": 232,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "1.0.0",
"uuid": "b6d7d820-6cd3-44b3-8b40-54693bedcde8",
"uuid": "0167ae5c-9658-4bd6-a0b5-fd8c45cefdf8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"heart": {
"stupidHead": {
"ver": "1.0.3",
"uuid": "203a4498-7630-44ec-b721-b71e8b43723c",
"rawTextureUuid": "b6d7d820-6cd3-44b3-8b40-54693bedcde8",
"uuid": "b22e746a-2b44-4038-ad97-9b602b1020be",
"rawTextureUuid": "0167ae5c-9658-4bd6-a0b5-fd8c45cefdf8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 20,
"offsetY": -2.5,
"trimX": 0,
"trimY": 5,
"width": 412,
"height": 43,
"rawWidth": 452,
"rawHeight": 52,
"width": 136,
"height": 387,
"rawWidth": 136,
"rawHeight": 392,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -89,6 +89,30 @@ cc.Class({
type: cc.AudioSource,
},
// 点击音乐节点
clickMusic: {
default: null,
type: cc.AudioSource,
},
// 咆哮音乐
roarMusic: {
default: null,
type: cc.AudioSource,
},
// 报警音乐
policeMusic: {
default: null,
type: cc.AudioSource,
},
// 心跳音乐
heartMusic: {
default: null,
type: cc.AudioSource,
},
// slider节点
slider1: {
default: null,
......@@ -108,6 +132,12 @@ cc.Class({
default: null,
type: cc.SpriteFrame
},
// 排行榜节点
rank: {
default: null,
type: cc.Node,
},
},
initNode: function() {
......@@ -121,7 +151,7 @@ cc.Class({
initData: function() {
// 初始化游戏数据
this.score = 0; // 分数
this.timer = 3; // 每一盘游戏的总时间
this.timer = 30; // 每一盘游戏的总时间
this.leftLife = 3; // 剩余的命条数
this.swivelAnimationTime = 0.5; //转头动画时间 (单向)
this.flirtAnimationTime = 0.5; //摸的动画时间(单向)
......@@ -143,19 +173,37 @@ cc.Class({
var hand = cc.find('hand', this.node)
hand.getComponent('Hand').game = this
// 将Game组件的实例传入playAgain
// 将Game组件的实例传入成功的playAgain
var successPlayAgain = cc.find('success/playAgain', this.node)
successPlayAgain.getComponent('Restart').game = this
// 将Game组件的实例传入失败的playAgain
var failurePlayAgain = cc.find('failure/playAgain', this.node)
failurePlayAgain.getComponent('Restart').game = this
// 将Game组件的实例传入成功的Share
var successShare = cc.find('success/share', this.node)
successShare.getComponent('Share').game = this
// 将Game组件的实例传入失败的Share
var failureShare = cc.find('failure/share', this.node)
failureShare.getComponent('Share').game = this
// 将Game组件的实例传入成功的 Rank
var successRank = cc.find('success/rank', this.node)
successRank.getComponent('Rank').game = this
// 将Game组件的实例传入失败的Rank
var failureRank = cc.find('failure/rank', this.node)
failureRank.getComponent('Rank').game = this
// 将Game组件的实例传入排行榜Rank
var RankTop = cc.find('rank/playAgain', this.node)
RankTop.getComponent('Restart').game = this
// 播放背景音乐
this.playBackgroundMusic()
// 执行轮播图
},
// 更改时间进度条
......@@ -171,17 +219,17 @@ cc.Class({
if(this.level.progress < 0.8 && this.level.progress > 0.2) {
this.level.barSprite.node.color = {
a: 255,
b: 234,
g: 56,
r: 241
a: 1,
b: 64,
g: 178,
r: 239
}
} else if (this.level.progress <= 0.2) {
this.level.barSprite.node.color = {
a: 255,
b: 0,
g: 0,
r: 255,
a: 1,
b: 75,
g: 76,
r: 232,
}
}
},
......@@ -190,7 +238,7 @@ cc.Class({
gainScore: function() {
var isYelling = this.teacher.getComponent('Teacher').isYelling
if (!isYelling) {
this.score += 1;
this.score += 3;
this.score_number.string = this.score.toString();
}
},
......@@ -200,16 +248,42 @@ cc.Class({
var isFlirting = this.hand.getComponent('Hand').isFlirting
var isSwiveling = this.teacher.getComponent('Teacher').isSwiveling
if (isFlirting) {
this.heartMusic.play()
}
return isSwiveling && isFlirting
},
// 添加背景音乐
// 播放背景音乐
playBackgroundMusic: function() {
this.bgMusic.play()
},
// 停止背景音乐
stopBackgroundMusic: function() {
this.bgMusic.pause()
},
// 添加点击音效
clickSound: function () {
this.clickMusic.play()
},
// 播发咆哮音效
playRoarMusic: function() {
this.roarMusic.play()
},
// 播放报警音乐
playPoliceMusic: function() {
this.policeMusic.play()
},
// 播放心跳音乐
playHeartMusic: function() {
this.heartMusic.play()
},
// 游戏帧循环
update: function(dt) {
if (this.gameState === 'action') {
......
cc.Class({
extends: cc.Component,
properties: {
},
navigateToRankPage: function () {
var self = this
console.info('跳转 rank page')
self.game.clickSound()
self.game.classroom.active = false
self.game.index.active = false
self.game.board.active = false
self.game.teacher.active = false
self.game.failure.active = false
self.game.success.active = false
self.game.rank.active = true
self.game.gameState = 'stop'
},
onLoad: function () {
var self = this
self.node.on(cc.Node.EventType.TOUCH_START, (event) => {
this.navigateToRankPage()
})
}
});
{
"ver": "1.0.5",
"uuid": "fbe28a06-680d-4843-8b07-4fcb8cbd3072",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -8,11 +8,15 @@ cc.Class({
},
restartGame: function() {
var self = this;
var self = this
self.game.clickSound()
self.game.startGame()
},
onLoad: function() {
this.node.on('click', this.restartGame, this)
var self = this
self.node.on(cc.Node.EventType.TOUCH_START, (event) => {
this.restartGame()
})
}
});
cc.Class({
extends: cc.Component,
properties: {
},
shareGame: function () {
var self = this
self.game.clickSound()
},
onLoad: function () {
var self = this
self.node.on(cc.Node.EventType.TOUCH_START, (event) => {
this.shareGame()
})
}
});
\ No newline at end of file
{
"ver": "1.0.5",
"uuid": "906785ee-cf90-47d6-9e02-acd395976964",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -9,6 +9,7 @@ cc.Class({
setTouchBtnListener: function () {
var self = this;
self.node.on(cc.Node.EventType.TOUCH_START, function (event) {
self.game.clickSound()
self.game.classroom.active = true
self.game.index.active = false
self.game.board.active = true
......
......@@ -109,11 +109,14 @@ cc.Class({
this.isYelling = true
var gameFail = cc.callFunc(function() {
this.game.gameFail()
this.game.playPoliceMusic()
}, this)
var action = cc.sequence(
cc.moveTo(0.2, cc.p(260, -30)),
cc.delayTime(40),
this.game.stopBackgroundMusic(),
this.game.playRoarMusic(),
cc.delayTime(2.5),
gameFail,
)
......
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