Commit 281d7037 by william

feat: add result image at game success

parent 7e654e47
......@@ -17,19 +17,19 @@
"__id__": 2
},
{
"__id__": 97
"__id__": 100
},
{
"__id__": 99
"__id__": 102
},
{
"__id__": 101
"__id__": 104
},
{
"__id__": 103
"__id__": 106
},
{
"__id__": 105
"__id__": 108
}
],
"_tag": -1,
......@@ -80,16 +80,16 @@
"__id__": 7
},
{
"__id__": 26
"__id__": 17
},
{
"__id__": 36
"__id__": 18
},
{
"__id__": 37
"__id__": 34
},
{
"__id__": 53
"__id__": 37
},
{
"__id__": 56
......@@ -99,16 +99,19 @@
},
{
"__id__": 88
},
{
"__id__": 94
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 94
"__id__": 97
},
{
"__id__": 95
"__id__": 98
}
],
"_prefab": null,
......@@ -306,7 +309,7 @@
},
{
"__type__": "cc.Node",
"_name": "index",
"_name": "teacher",
"_objFlags": 0,
"_parent": {
"__id__": 2
......@@ -316,20 +319,24 @@
"__id__": 8
},
{
"__id__": 13
"__id__": 10
},
{
"__id__": 14
"__id__": 12
},
{
"__id__": 24
"__id__": 14
}
],
"_tag": -1,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 16
}
],
"_prefab": null,
"_id": "11Whf+9qZFC6iWPyh0zx07",
"_id": "67K6Y1EOVDuJEJ6kufn8TI",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -346,8 +353,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 375,
"height": 750
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -355,8 +362,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"x": -259,
"y": 147
},
"_skewX": 0,
"_skewY": 0,
......@@ -367,28 +374,21 @@
},
{
"__type__": "cc.Node",
"_name": "start_btn",
"_name": "big_head",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 9
}
],
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 12
"__id__": 9
}
],
"_prefab": null,
"_id": "76fnYIsz9C3IspRGkUQPm6",
"_id": "86ETxMK7RIpblbOvw3Jlsc",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -405,17 +405,17 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"height": 184
"width": 136,
"height": 387
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.6,
"_scaleY": 0.6,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": -2,
"y": -199
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -425,22 +425,48 @@
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "09d89bc6-37a2-46c9-9a55-020b4eb52067"
},
"_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": "Start",
"_name": "coming",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 7
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 10
"__id__": 11
}
],
"_prefab": null,
"_id": "f6tbdlSzFHwKHIkKiKfGBl",
"_id": "00UJM5Q2VHs51Ic6ECKqsP",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -457,16 +483,16 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 317,
"height": 235
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"x": -47,
"y": 0
},
"_skewX": 0,
......@@ -477,25 +503,15 @@
"groupIndex": 0
},
{
"__type__": "729abdON3JFXqpKBchOOYfX",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"isOpenGame": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
"__id__": 10
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "39ffe8bc-c233-4562-94b9-3c2f2c82b452"
"__uuid__": "4dc33e6a-f362-45a9-ba81-09b423a784cd"
},
"_type": 0,
"_sizeMode": 1,
......@@ -513,18 +529,8 @@
"_atlas": null
},
{
"__type__": "729abdON3JFXqpKBchOOYfX",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"isOpenGame": false
},
{
"__type__": "cc.Node",
"_name": "spec",
"_name": "stupid_head",
"_objFlags": 0,
"_parent": {
"__id__": 7
......@@ -532,9 +538,13 @@
"_children": [],
"_tag": -1,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 13
}
],
"_prefab": null,
"_id": "72MxmRAUBDAr9h3ZlHM/EX",
"_id": "0c7zeAZrxMiYNYH8GpWwIU",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -551,16 +561,16 @@
},
"_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": 0,
"x": 558,
"y": 0
},
"_skewX": 0,
......@@ -571,90 +581,48 @@
"groupIndex": 0
},
{
"__type__": "cc.Node",
"_name": "sliderPanel",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 15
},
{
"__id__": 17
},
{
"__id__": 19
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 21
},
{
"__id__": 22
},
{
"__id__": 23
}
],
"_prefab": null,
"_id": "7cuvehax1I7q9S3d7qPbhH",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4999999999999997,
"y": 0.5248972027567038
"node": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 343,
"height": 155
"_enabled": true,
"_spriteFrame": {
"__uuid__": "b22e746a-2b44-4038-ad97-9b602b1020be"
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "cc.Node",
"_name": "slider3",
"_name": "failImage",
"_objFlags": 0,
"_parent": {
"__id__": 14
"__id__": 7
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 15
}
],
"_prefab": null,
"_id": "48lWZw7hBFTZ76kBMRaOaX",
"_id": "54lGHMW1tJKZv9HlrmIOFt",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -671,8 +639,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 685,
"height": 311
"width": 750,
"height": 462
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -680,8 +648,8 @@
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": 343,
"y": 0
"x": 750,
"y": -30
},
"_skewX": 0,
"_skewY": 0,
......@@ -695,11 +663,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
"__id__": 14
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f4f49579-65f6-4f9f-abef-74f31468e7d5"
"__uuid__": "d1dfa86a-f3aa-4764-b9e8-eac1a6e8ca3f"
},
"_type": 0,
"_sizeMode": 1,
......@@ -717,22 +685,98 @@
"_atlas": null
},
{
"__type__": "cc.Node",
"_name": "slider2",
"_objFlags": 0,
"_parent": {
"__type__": "7ddb2dyGexMPL9N4moJYFg4",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"game": null,
"bigHead": {
"__id__": 8
},
"coming": {
"__id__": 10
},
"stupidHead": {
"__id__": 12
},
"failImage": {
"__id__": 14
}
},
{
"__type__": "cc.Node",
"_name": "student",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
"_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,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Node",
"_name": "board",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 18
"__id__": 19
},
{
"__id__": 24
},
{
"__id__": 29
}
],
"_tag": -1,
"_active": false,
"_components": [],
"_prefab": null,
"_id": "1f1LKL2U5Nw4pBw+Z7+deF",
"_id": "b6UhBzM8tC8qOPuU1bO60n",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -749,17 +793,17 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 685,
"height": 311
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 343,
"y": 0
"x": 0,
"y": -30
},
"_skewX": 0,
"_skewY": 0,
......@@ -769,48 +813,77 @@
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"__type__": "cc.Node",
"_name": "timer",
"_objFlags": 0,
"node": {
"__id__": 17
"_parent": {
"__id__": 18
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f409b697-49a0-46d5-9077-8e11bf45a204"
"_children": [
{
"__id__": 20
},
{
"__id__": 22
}
],
"_tag": -1,
"_active": true,
"_components": [],
"_prefab": null,
"_id": "72oI+QL4FHkLRzPjbmVAKC",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"_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,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Node",
"_name": "slider1",
"_name": "icon-clock",
"_objFlags": 0,
"_parent": {
"__id__": 14
"__id__": 19
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 20
"__id__": 21
}
],
"_prefab": null,
"_id": "42g7Yl1Q5JxqjR0OCd0euF",
"_id": "deXc31eDVCZo9MvZZ844dL",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -827,17 +900,17 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 685,
"height": 311
"width": 40,
"height": 40
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"x": -150,
"y": 296
},
"_skewX": 0,
"_skewY": 0,
......@@ -851,11 +924,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 20
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "6ba718e6-8958-40cf-8686-358a6f812baa"
"__uuid__": "3a67a3d3-9dc3-4a7d-81d0-ecbe373d913e"
},
"_type": 0,
"_sizeMode": 0,
......@@ -873,70 +946,28 @@
"_atlas": null
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_type": 0,
"_segements": 64,
"_N$spriteFrame": null,
"_N$alphaThreshold": 1,
"_N$inverted": false
},
{
"__type__": "729abdON3JFXqpKBchOOYfX",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"isOpenGame": false
},
{
"__type__": "818dac8WKVDPJ63bvn9kfx8",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"slider1": {
"__id__": 19
},
"slider2": {
"__id__": 17
},
"slider3": {
"__id__": 15
}
},
{
"__type__": "cc.Node",
"_name": "logo",
"_name": "tip",
"_objFlags": 0,
"_parent": {
"__id__": 7
"__id__": 19
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 23
}
],
"_prefab": null,
"_id": "54PD3rRh9FjIktkKQ23+hu",
"_id": "c8zMwQKq5HjJvw8NqQBrVG",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -947,8 +978,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 241,
"height": 105
"width": 84,
"height": 40
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -956,8 +987,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 3,
"y": 195
"x": -65,
"y": 311
},
"_skewX": 0,
"_skewY": 0,
......@@ -967,61 +998,47 @@
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 22
},
"_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
"_useOriginalSize": false,
"_actualFontSize": 14,
"_fontSize": 14,
"_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
},
{
"__type__": "cc.Node",
"_name": "teacher",
"_name": "score",
"_objFlags": 0,
"_parent": {
"__id__": 2
"__id__": 18
},
"_children": [
{
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 31
"__id__": 25
},
{
"__id__": 33
"__id__": 27
}
],
"_tag": -1,
"_active": false,
"_components": [
{
"__id__": 35
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_id": "67K6Y1EOVDuJEJ6kufn8TI",
"_id": "91m1cv1EdIX4yug893AJz7",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1047,8 +1064,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -259,
"y": 147
"x": 0,
"y": 26
},
"_skewX": 0,
"_skewY": 0,
......@@ -1059,21 +1076,21 @@
},
{
"__type__": "cc.Node",
"_name": "big_head",
"_name": "icon-points",
"_objFlags": 0,
"_parent": {
"__id__": 26
"__id__": 24
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 26
}
],
"_prefab": null,
"_id": "86ETxMK7RIpblbOvw3Jlsc",
"_id": "44Ol6rpilNKoOL1g5b7MSn",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1090,17 +1107,17 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 136,
"height": 387
"width": 86,
"height": 86
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"x": -131,
"y": -265
},
"_skewX": 0,
"_skewY": 0,
......@@ -1114,14 +1131,14 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
"__id__": 25
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "09d89bc6-37a2-46c9-9a55-020b4eb52067"
"__uuid__": "29ceedec-bce6-4b8e-b3ac-7f6caba37028"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -1137,48 +1154,129 @@
},
{
"__type__": "cc.Node",
"_name": "coming",
"_name": "number",
"_objFlags": 0,
"_parent": {
"__id__": 26
"__id__": 24
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 28
}
],
"_prefab": null,
"_id": "aaEEUbHJZIEo3BGi4q50y5",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 14,
"height": 40
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -131,
"y": -280
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 26,
"_fontSize": 26,
"_lineHeight": 40,
"_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": "level",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [
{
"__id__": 30
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 32
},
{
"__id__": 33
}
],
"_prefab": null,
"_id": "00UJM5Q2VHs51Ic6ECKqsP",
"_id": "15XhkBE11JnJsxsEnJRT8e",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 253,
"g": 247,
"b": 248,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"x": 0.0019445215964414156,
"y": 0.5252747309574319
},
"_contentSize": {
"__type__": "cc.Size",
"width": 317,
"height": 235
"width": 140,
"height": 10
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -47,
"y": 0
"x": -106,
"y": 286
},
"_skewX": 0,
"_skewY": 0,
......@@ -1188,75 +1286,49 @@
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "4dc33e6a-f362-45a9-ba81-09b423a784cd"
},
"_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": "stupid_head",
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 26
"__id__": 29
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 32
"__id__": 31
}
],
"_prefab": null,
"_id": "0c7zeAZrxMiYNYH8GpWwIU",
"_id": "deaPYhJC5OfJxPycDf38Po",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 58,
"g": 235,
"b": 14,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"x": 0,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 136,
"height": 387
"width": 140,
"height": 9
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 600,
"y": 0
"x": 0,
"y": -0.3
},
"_skewX": 0,
"_skewY": 0,
......@@ -1270,14 +1342,40 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
"__id__": 30
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "b22e746a-2b44-4038-ad97-9b602b1020be"
"__uuid__": "67e68bc9-dad5-4ad9-a2d8-7e03d458e32f"
},
"_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.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "88e79fd5-96b4-4a77-a1f4-312467171014"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -1292,22 +1390,41 @@
"_atlas": null
},
{
"__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_N$totalLength": 140,
"_N$barSprite": {
"__id__": 31
},
"_N$mode": 0,
"_N$progress": 1,
"_N$reverse": false
},
{
"__type__": "cc.Node",
"_name": "failImage",
"_name": "hand",
"_objFlags": 0,
"_parent": {
"__id__": 26
"__id__": 2
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 35
},
{
"__id__": 36
}
],
"_prefab": null,
"_id": "54lGHMW1tJKZv9HlrmIOFt",
"_id": "c91SgtpVVI44d283YT+CO9",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1319,22 +1436,22 @@
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"x": -0.10710900464873996,
"y": 1.825698062942886
},
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 462
"width": 296,
"height": 378
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_scaleX": 0.6,
"_scaleY": 0.6,
"_position": {
"__type__": "cc.Vec2",
"x": 750,
"y": -30
"x": 6,
"y": 30
},
"_skewX": 0,
"_skewY": 0,
......@@ -1348,11 +1465,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 34
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "d1dfa86a-f3aa-4764-b9e8-eac1a6e8ca3f"
"__uuid__": "b5b26273-de9d-42a1-94c5-7b4839b6e1cf"
},
"_type": 0,
"_sizeMode": 1,
......@@ -1364,84 +1481,23 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": false,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
},
{
"__type__": "7ddb2dyGexMPL9N4moJYFg4",
"__type__": "e6d845SY8hNwLgiBI/kYtQY",
"_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,
"y": 0
"__id__": 34
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
"_enabled": true
},
{
"__type__": "cc.Node",
"_name": "board",
"_name": "index",
"_objFlags": 0,
"_parent": {
"__id__": 2
......@@ -1454,14 +1510,17 @@
"__id__": 43
},
{
"__id__": 48
"__id__": 44
},
{
"__id__": 54
}
],
"_tag": -1,
"_active": false,
"_active": true,
"_components": [],
"_prefab": null,
"_id": "b6UhBzM8tC8qOPuU1bO60n",
"_id": "11Whf+9qZFC6iWPyh0zx07",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1478,8 +1537,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 375,
"height": 750
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -1488,7 +1547,7 @@
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": -30
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -1499,7 +1558,7 @@
},
{
"__type__": "cc.Node",
"_name": "timer",
"_name": "start_btn",
"_objFlags": 0,
"_parent": {
"__id__": 37
......@@ -1507,16 +1566,20 @@
"_children": [
{
"__id__": 39
},
{
"__id__": 41
}
],
"_tag": -1,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 41
},
{
"__id__": 42
}
],
"_prefab": null,
"_id": "72oI+QL4FHkLRzPjbmVAKC",
"_id": "76fnYIsz9C3IspRGkUQPm6",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1533,17 +1596,17 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 180,
"height": 184
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_scaleX": 0.6,
"_scaleY": 0.6,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"x": -2,
"y": -199
},
"_skewX": 0,
"_skewY": 0,
......@@ -1554,7 +1617,7 @@
},
{
"__type__": "cc.Node",
"_name": "icon-clock",
"_name": "Start",
"_objFlags": 0,
"_parent": {
"__id__": 38
......@@ -1568,7 +1631,7 @@
}
],
"_prefab": null,
"_id": "deXc31eDVCZo9MvZZ844dL",
"_id": "f6tbdlSzFHwKHIkKiKfGBl",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1585,8 +1648,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -1594,8 +1657,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -150,
"y": 296
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -1605,18 +1668,28 @@
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"__type__": "729abdON3JFXqpKBchOOYfX",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"isOpenGame": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "3a67a3d3-9dc3-4a7d-81d0-ecbe373d913e"
"__uuid__": "39ffe8bc-c233-4562-94b9-3c2f2c82b452"
},
"_type": 0,
"_sizeMode": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -1631,28 +1704,34 @@
"_atlas": null
},
{
"__type__": "729abdON3JFXqpKBchOOYfX",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"isOpenGame": false
},
{
"__type__": "cc.Node",
"_name": "tip",
"_name": "spec",
"_objFlags": 0,
"_parent": {
"__id__": 38
"__id__": 37
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 42
}
],
"_components": [],
"_prefab": null,
"_id": "c8zMwQKq5HjJvw8NqQBrVG",
"_id": "72MxmRAUBDAr9h3ZlHM/EX",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -1663,8 +1742,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 84,
"height": 40
"width": 0,
"height": 0
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -1672,8 +1751,8 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -65,
"y": 311
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -1683,47 +1762,38 @@
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 14,
"_fontSize": 14,
"_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
},
{
"__type__": "cc.Node",
"_name": "score",
"_name": "sliderPanel",
"_objFlags": 0,
"_parent": {
"__id__": 37
},
"_children": [
{
"__id__": 44
"__id__": 45
},
{
"__id__": 46
"__id__": 47
},
{
"__id__": 49
}
],
"_tag": -1,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 51
},
{
"__id__": 52
},
{
"__id__": 53
}
],
"_prefab": null,
"_id": "91m1cv1EdIX4yug893AJz7",
"_id": "7cuvehax1I7q9S3d7qPbhH",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1735,13 +1805,13 @@
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"x": 0.4999999999999997,
"y": 0.5248972027567038
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 343,
"height": 155
},
"_rotationX": 0,
"_rotationY": 0,
......@@ -1750,7 +1820,7 @@
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 26
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -1761,21 +1831,21 @@
},
{
"__type__": "cc.Node",
"_name": "icon-points",
"_name": "slider3",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 44
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 46
}
],
"_prefab": null,
"_id": "44Ol6rpilNKoOL1g5b7MSn",
"_id": "48lWZw7hBFTZ76kBMRaOaX",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -1792,17 +1862,17 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 86,
"height": 86
"width": 685,
"height": 311
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": -131,
"y": -265
"x": 343,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -1816,14 +1886,14 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 45
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "29ceedec-bce6-4b8e-b3ac-7f6caba37028"
"__uuid__": "f4f49579-65f6-4f9f-abef-74f31468e7d5"
},
"_type": 0,
"_sizeMode": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -1839,27 +1909,27 @@
},
{
"__type__": "cc.Node",
"_name": "number",
"_name": "slider2",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 44
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 47
"__id__": 48
}
],
"_prefab": null,
"_id": "aaEEUbHJZIEo3BGi4q50y5",
"_id": "1f1LKL2U5Nw4pBw+Z7+deF",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
......@@ -1870,98 +1940,17 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 14,
"height": 40
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": -131,
"y": -280
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"_useOriginalSize": false,
"_actualFontSize": 26,
"_fontSize": 26,
"_lineHeight": 40,
"_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": "level",
"_objFlags": 0,
"_parent": {
"__id__": 37
},
"_children": [
{
"__id__": 49
}
],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 51
},
{
"__id__": 52
}
],
"_prefab": null,
"_id": "15XhkBE11JnJsxsEnJRT8e",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 253,
"g": 247,
"b": 248,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.0019445215964414156,
"y": 0.5252747309574319
},
"_contentSize": {
"__type__": "cc.Size",
"width": 140,
"height": 10
"width": 685,
"height": 311
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": -106,
"y": 286
"x": 343,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -1971,11 +1960,37 @@
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "f409b697-49a0-46d5-9077-8e11bf45a204"
},
"_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": "bar",
"_name": "slider1",
"_objFlags": 0,
"_parent": {
"__id__": 48
"__id__": 44
},
"_children": [],
"_tag": -1,
......@@ -1986,34 +2001,34 @@
}
],
"_prefab": null,
"_id": "deaPYhJC5OfJxPycDf38Po",
"_id": "42g7Yl1Q5JxqjR0OCd0euF",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 58,
"g": 235,
"b": 14,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 140,
"height": 9
"width": 685,
"height": 311
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 1,
"_scaleY": 1,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": -0.3
"y": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -2031,9 +2046,9 @@
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "67e68bc9-dad5-4ad9-a2d8-7e03d458e32f"
"__uuid__": "6ba718e6-8958-40cf-8686-358a6f812baa"
},
"_type": 1,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
......@@ -2049,67 +2064,64 @@
"_atlas": null
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 44
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "88e79fd5-96b4-4a77-a1f4-312467171014"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"_segements": 64,
"_N$spriteFrame": null,
"_N$alphaThreshold": 1,
"_N$inverted": false
},
{
"__type__": "729abdON3JFXqpKBchOOYfX",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_atlas": null
"_enabled": true,
"isOpenGame": false
},
{
"__type__": "cc.ProgressBar",
"__type__": "818dac8WKVDPJ63bvn9kfx8",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 44
},
"_enabled": true,
"_N$totalLength": 140,
"_N$barSprite": {
"__id__": 50
"slider1": {
"__id__": 49
},
"_N$mode": 0,
"_N$progress": 1,
"_N$reverse": false
"slider2": {
"__id__": 47
},
"slider3": {
"__id__": 45
}
},
{
"__type__": "cc.Node",
"_name": "hand",
"_name": "logo",
"_objFlags": 0,
"_parent": {
"__id__": 2
"__id__": 37
},
"_children": [],
"_tag": -1,
"_active": true,
"_components": [
{
"__id__": 54
},
{
"__id__": 55
}
],
"_prefab": null,
"_id": "c91SgtpVVI44d283YT+CO9",
"_id": "54PD3rRh9FjIktkKQ23+hu",
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -2121,22 +2133,22 @@
"_cascadeOpacityEnabled": true,
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": -0.3908599025019699,
"y": 2.7455060244598446
"x": 0.5,
"y": 0.5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 302,
"height": 378
"width": 241,
"height": 105
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.4,
"_scaleY": 0.4,
"_scaleX": 1,
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 6,
"y": 30
"x": 3,
"y": 195
},
"_skewX": 0,
"_skewY": 0,
......@@ -2150,14 +2162,14 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 54
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "b5b26273-de9d-42a1-94c5-7b4839b6e1cf"
"__uuid__": "7123ec22-5e64-49d2-9841-c87ffc49b634"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -2172,15 +2184,6 @@
"_atlas": null
},
{
"__type__": "e6d845SY8hNwLgiBI/kYtQY",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true
},
{
"__type__": "cc.Node",
"_name": "failure",
"_objFlags": 0,
......@@ -2437,7 +2440,7 @@
"_scaleY": 1,
"_position": {
"__type__": "cc.Vec2",
"x": 3,
"x": -1,
"y": 8
},
"_skewX": 0,
......@@ -2456,7 +2459,7 @@
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "14ce6955-7406-477d-b8bb-f98b662fd140"
"__uuid__": "478e6a9d-e52f-4442-8017-73be1a28bcaf"
},
"_type": 0,
"_sizeMode": 0,
......@@ -3526,6 +3529,96 @@
"_enabled": true
},
{
"__type__": "cc.Node",
"_name": "link",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_tag": -1,
"_active": false,
"_components": [
{
"__id__": 95
},
{
"__id__": 96
}
],
"_prefab": null,
"_id": "09jdjTfe5K/K9z9fsSW7jm",
"_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": 1334
},
"_rotationX": 0,
"_rotationY": 0,
"_scaleX": 0.5,
"_scaleY": 0.5,
"_position": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_skewX": 0,
"_skewY": 0,
"_localZOrder": 0,
"_globalZOrder": 0,
"_opacityModifyRGB": false,
"groupIndex": 0
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"_spriteFrame": {
"__uuid__": "95d998d5-21ef-47b2-a6e0-6d3f7fb3aaf9"
},
"_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__": "06630OePhVJta4JPqYyjk7w",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
......@@ -3550,31 +3643,31 @@
},
"_enabled": true,
"logo": {
"__id__": 24
"__id__": 54
},
"start_btn": {
"__id__": 8
"__id__": 38
},
"teacher": {
"__id__": 26
"__id__": 7
},
"classroom": {
"__id__": 5
},
"index": {
"__id__": 7
"__id__": 37
},
"hand": {
"__id__": 53
"__id__": 34
},
"score_number": {
"__id__": 47
"__id__": 28
},
"board": {
"__id__": 37
"__id__": 18
},
"level": {
"__id__": 52
"__id__": 33
},
"failure": {
"__id__": 56
......@@ -3586,32 +3679,35 @@
"__id__": 78
},
"bgMusic": {
"__id__": 96
"__id__": 99
},
"clickMusic": {
"__id__": 98
"__id__": 101
},
"roarMusic": {
"__id__": 100
"__id__": 103
},
"policeMusic": {
"__id__": 102
"__id__": 105
},
"heartMusic": {
"__id__": 104
"__id__": 107
},
"slider1": {
"__id__": 19
"__id__": 49
},
"slider2": {
"__id__": 17
"__id__": 47
},
"slider3": {
"__id__": 15
"__id__": 45
},
"spriteFrame": null,
"rank": {
"__id__": 88
},
"link": {
"__id__": 94
}
},
{
......@@ -3619,7 +3715,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 100
},
"_enabled": true,
"_clip": {
......@@ -3643,7 +3739,7 @@
"_active": true,
"_components": [
{
"__id__": 96
"__id__": 99
}
],
"_prefab": null,
......@@ -3688,7 +3784,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
"__id__": 102
},
"_enabled": true,
"_clip": {
......@@ -3712,7 +3808,7 @@
"_active": true,
"_components": [
{
"__id__": 98
"__id__": 101
}
],
"_prefab": null,
......@@ -3757,7 +3853,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
"__id__": 104
},
"_enabled": true,
"_clip": {
......@@ -3781,7 +3877,7 @@
"_active": true,
"_components": [
{
"__id__": 100
"__id__": 103
}
],
"_prefab": null,
......@@ -3826,7 +3922,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
"__id__": 106
},
"_enabled": true,
"_clip": {
......@@ -3850,7 +3946,7 @@
"_active": true,
"_components": [
{
"__id__": 102
"__id__": 105
}
],
"_prefab": null,
......@@ -3895,7 +3991,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 108
},
"_enabled": true,
"_clip": {
......@@ -3919,7 +4015,7 @@
"_active": true,
"_components": [
{
"__id__": 104
"__id__": 107
}
],
"_prefab": null,
......
assets/images/hand.png

43.4 KB | W: | H:

assets/images/hand.png

51.1 KB | W: | H:

assets/images/hand.png
assets/images/hand.png
assets/images/hand.png
assets/images/hand.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -12,14 +12,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 2,
"offsetY": 0,
"trimX": 4,
"trimY": 0,
"width": 302,
"offsetX": 0,
"offsetY": -111,
"trimX": 112,
"trimY": 222,
"width": 296,
"height": 378,
"rawWidth": 306,
"rawHeight": 378,
"rawWidth": 520,
"rawHeight": 600,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "1.0.0",
"uuid": "d6d5a5b2-191a-4c6e-8468-91b458db29ab",
"uuid": "3f9b07d9-b4af-4978-9831-37e849eace53",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"pic": {
"link": {
"ver": "1.0.3",
"uuid": "14ce6955-7406-477d-b8bb-f98b662fd140",
"rawTextureUuid": "d6d5a5b2-191a-4c6e-8468-91b458db29ab",
"uuid": "95d998d5-21ef-47b2-a6e0-6d3f7fb3aaf9",
"rawTextureUuid": "3f9b07d9-b4af-4978-9831-37e849eace53",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......@@ -16,10 +16,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 600,
"height": 400,
"rawWidth": 600,
"rawHeight": 400,
"width": 750,
"height": 1334,
"rawWidth": 750,
"rawHeight": 1334,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "1.0.0",
"uuid": "8fecea43-0672-4efd-9348-6a5d418dc84e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"p": {
"ver": "1.0.3",
"uuid": "478e6a9d-e52f-4442-8017-73be1a28bcaf",
"rawTextureUuid": "8fecea43-0672-4efd-9348-6a5d418dc84e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 296,
"height": 189,
"rawWidth": 296,
"rawHeight": 189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "fe0014e5-7ed9-438e-b903-a236580d7dc3",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.0.0",
"uuid": "83dedfc0-7e6a-4ef4-b415-c1294c36a108",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"p1": {
"ver": "1.0.3",
"uuid": "fa7ed5b1-ede6-4f01-9603-4f218b71f336",
"rawTextureUuid": "83dedfc0-7e6a-4ef4-b415-c1294c36a108",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 296,
"height": 189,
"rawWidth": 296,
"rawHeight": 189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.0.0",
"uuid": "3e3c7274-437b-4f89-9a4a-feac15237989",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"p2": {
"ver": "1.0.3",
"uuid": "851c8953-d1a0-4baf-89c9-ecf238b94a84",
"rawTextureUuid": "3e3c7274-437b-4f89-9a4a-feac15237989",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 296,
"height": 189,
"rawWidth": 296,
"rawHeight": 189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.0.0",
"uuid": "470b489a-3063-49d2-a264-0c088c40b7af",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"subMetas": {
"p3": {
"ver": "1.0.3",
"uuid": "19a79d0e-7b4b-403f-9b84-dfdc4a49bbba",
"rawTextureUuid": "470b489a-3063-49d2-a264-0c088c40b7af",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 296,
"height": 189,
"rawWidth": 296,
"rawHeight": 189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -139,6 +139,12 @@ cc.Class({
default: null,
type: cc.Node,
},
// link结点
link: {
default: null,
type: cc.Node,
}
},
// 初始化节点
......@@ -201,6 +207,10 @@ cc.Class({
var RankTop = cc.find('rank/playAgain', this.node)
RankTop.getComponent('Restart').game = this
// 将Game组件的实例传入分享link
var Link = cc.find('link', this.node)
Link.getComponent('Link').game = this
// 播放背景音乐
this.playBackgroundMusic()
......@@ -236,7 +246,7 @@ cc.Class({
// 添加分数
gainScore: function() {
var isYelling = this.teacher.getComponent('Teacher').isYelling
if (!isYelling) {
if (!isYelling && this.gameState === 'action') {
this.score += 3;
this.score_number.string = this.score.toString();
}
......@@ -320,74 +330,27 @@ cc.Class({
this.gameState = 'waiting'
this.bgMusic.volume = 1
var remoteDomain = 'https://nzr2ybsda.qnssl.com/images/153823/'
var pictures = [
{
"level": 1,
"pictures": [
"https://nzr2ybsda.qnssl.com/images/153823/Fo5on4A0pScy96ePN-2vtToLhHWN.jpg?imageMogr2/strip/thumbnail/260x260>/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/FlJQyhmeWyked6lekjh-Yln9nJUD.jpg?imageMogr2/strip/thumbnail/260x260>/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/Filk-VYB6CVCDEkHHgRPUc2c6k9T.jpg?imageMogr2/strip/thumbnail/130x130>/interlace/1/format/jpg"
]
},
{
"level": 2,
"pictures": [
"https://nzr2ybsda.qnssl.com/images/153823/FukPQtvtJr-lKlYJPANNPdjjEiyt.jpeg?imageMogr2/strip/thumbnail/130x130>/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/Flhh6hGAhnSbuHajEEN-c2dCJfaK.jpg?imageMogr2/strip/thumbnail/130x130>/quality/90!/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/FjcKpOaAtIfz4L4Vvkif-EClqn64.jpg?imageMogr2/strip/thumbnail/260x260>/quality/90!/interlace/1/format/jpg"
]
},
{
"level": 3,
"pictures": [
"https://nzr2ybsda.qnssl.com/images/153823/FpyOcbiPM8tDXogYzGDPDEFrO_T9.jpg?imageMogr2/strip/thumbnail/130x130>/quality/90!/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/Fn939nNNkFzW_htvSvBkvwvl6TMh.jpg?imageMogr2/strip/thumbnail/130x130>/quality/90!/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/Fo_IiyCr10dZIR6J7dJ9y7hs8nae.jpeg?imageMogr2/strip/thumbnail/260x260>/quality/90!/interlace/1/format/jpg"
]
},
{
"level": 4,
"pictures": [
"https://nzr2ybsda.qnssl.com/images/153823/FhUfcO8E990i02gJ7hnpz7xCSc3o.jpg?imageMogr2/strip/thumbnail/130x130>/quality/90!/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/FvoIECoOwdGFgeFMuIOIWzAkg61Y.jpg?imageMogr2/strip/thumbnail/260x260>/quality/90!/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/FqxgwpiGV-U3KiwK4CHUm1B0zdSH.jpg?imageMogr2/strip/thumbnail/260x260>/interlace/1/format/jpg"
]
},
{
"level": 5,
"pictures": [
"https://nzr2ybsda.qnssl.com/images/153823/Fk-9x5cihrhKFGMZHMglOqQEddkv.jpg?imageMogr2/strip/thumbnail/260x260>/quality/90!/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/FkdzV_YWdahiMGKB02Yp2CoTYgMS.jpg?imageMogr2/strip/thumbnail/260x260>/quality/90!/interlace/1/format/jpg",
"https://nzr2ybsda.qnssl.com/images/153823/Fi76VUfm2q-M-4Yyls6V8SbGOBIn.jpg?imageMogr2/strip/thumbnail/260x260>/quality/90!/interlace/1/format/jpg"
]
}
]
var index = Math.floor(Math.random()*3)
// var index = Math.floor(Math.random()*3)
var pictureUrl = ''
if (this.score < 300) {
pictureUrl = pictures[0].pictures[index]
} else if (this.score < 600) {
pictureUrl = pictures[1].pictures[index]
} else if (this.score < 900) {
pictureUrl = pictures[2].pictures[index]
} else if (this.score < 1200) {
pictureUrl = pictures[3].pictures[index]
} else if (this.score < 1500) {
pictureUrl = pictures[4].pictures[index]
} else if (this.score < 1800) {
pictureUrl = pictures[5].pictures[index]
} else {
pictureUrl = pictures[index].pictures[index]
}
if (this.score < 600) {
pictureUrl = 'p1'
} else if (this.score < 2000) {
pictureUrl = 'p2'
} else if (this.score > 2000) {
pictureUrl = 'p3'
}
self.success.addComponent(cc.Sprite)
cc.loader.load(pictureUrl, function (err, texture) {
// Use texture to create sprite frame
var picture = new cc.SpriteFrame(texture);
console.info(picture)
self.success.getComponent(cc.Sprite).spriteFrame = picture;
});
cc.loader.loadRes(pictureUrl, cc.SpriteFrame, function (err, spriteFrame) {
console.info(self.success.getComponent(cc.Sprite))
self.success.getComponent(cc.Sprite).spriteFrame = spriteFrame
})
// cc.loader.load(pictureUrl, function (err, texture) {
// // Use texture to create sprite frame
// var picture = new cc.SpriteFrame(texture);
// console.info(picture)
// self.success.getComponent(cc.Sprite).spriteFrame = picture;
// });
},
});
......@@ -22,7 +22,7 @@ cc.Class({
},
endFlirtingAction: function() {
return cc.moveTo(0.1, cc.p(0, 0))
return cc.moveTo(0.1, cc.p(0, 10))
},
setTouchScreenControl: function() {
......
cc.Class({
extends: cc.Component,
properties: {},
navigateToFinishPage: function () {
var self = this
self.game.clickSound()
self.game.startGame()
},
onLoad: function () {
var self = this
self.node.on(cc.Node.EventType.TOUCH_START, (event) => {
this.navigateToFinishPage()
})
}
});
\ No newline at end of file
{
"ver": "1.0.5",
"uuid": "0663039e-3e15-49b5-ae09-3ea6328e4ef0",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -7,6 +7,15 @@ cc.Class({
shareGame: function () {
var self = this
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 = false
self.game.link.active = true
self.game.gameState = 'stop'
},
onLoad: function () {
......
......@@ -13,7 +13,7 @@ cc.Class({
default: null,
type: cc.Node,
},
stupidHead: { // [600, 0]
stupidHead: { // [558, 0]
default: null,
type: cc.Node,
},
......@@ -57,7 +57,7 @@ cc.Class({
cc.moveTo(5 * time, cc.p(430, 20)),
enableSwivel,
cc.delayTime(4 * time),
cc.moveTo(time, cc.p(600, 0)),
cc.moveTo(time, cc.p(558, 0)),
disableSwivel,
)
if (!this.isYelling) {
......
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