Commit 028a89ab authored by 李维's avatar 李维

更新素材

parent 12c66479
......@@ -87,34 +87,37 @@
"__id__": 32
},
{
"__id__": 78
"__id__": 34
},
{
"__id__": 114
"__id__": 80
},
{
"__id__": 119
"__id__": 118
},
{
"__id__": 130
"__id__": 123
},
{
"__id__": 133
"__id__": 134
},
{
"__id__": 135
"__id__": 137
},
{
"__id__": 139
}
],
"_active": true,
"_components": [
{
"__id__": 137
"__id__": 141
},
{
"__id__": 138
"__id__": 142
},
{
"__id__": 139
"__id__": 143
}
],
"_prefab": null,
......@@ -301,14 +304,14 @@
"ctor": "Float64Array",
"array": [
-5000,
-5001.455,
-5000,
0,
0,
0,
0,
1,
1,
1,
1.01,
1.01,
1
]
},
......@@ -890,8 +893,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-3.9589999999999996,
97.67,
-3,
102,
0,
0,
0,
......@@ -928,7 +931,7 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "bbf1e3a9-27e1-420a-adf7-4bede4e54e51"
......@@ -1438,7 +1441,7 @@
}
],
"_spriteFrame": {
"__uuid__": "c86b01f7-bb47-4e8b-be05-e2e043ebd036"
"__uuid__": "4942db0a-b739-4f31-987a-a9b8c76ed038"
},
"_type": 2,
"_segments": 64,
......@@ -1446,6 +1449,100 @@
"_N$inverted": true,
"_id": "ceXLtbCx9CFpBTVj3bmgMt"
},
{
"__type__": "cc.Node",
"_name": "noPlayCover",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 33
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 967,
"height": 544
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-6.121,
146.852,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "58vSxG3SxATZLWP0LnjzUa"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5a86e45d-0e83-4ce9-bd11-41747db25b06"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7b5sRUbupEjqOh7vZC/qCe"
},
{
"__type__": "cc.Node",
"_name": "Controls",
......@@ -1455,16 +1552,16 @@
},
"_children": [
{
"__id__": 33
"__id__": 35
},
{
"__id__": 35
"__id__": 37
},
{
"__id__": 68
"__id__": 70
},
{
"__id__": 73
"__id__": 75
}
],
"_active": true,
......@@ -1522,13 +1619,13 @@
"_name": "bg_video_bottom",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 34
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 34
"__id__": 36
}
],
"_prefab": null,
......@@ -1584,7 +1681,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 35
},
"_enabled": true,
"_materials": [
......@@ -1616,35 +1713,35 @@
"_name": "ProgressBar",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 34
},
"_children": [
{
"__id__": 36
"__id__": 38
},
{
"__id__": 40
"__id__": 42
},
{
"__id__": 47
"__id__": 49
},
{
"__id__": 53
"__id__": 55
},
{
"__id__": 59
"__id__": 61
},
{
"__id__": 63
"__id__": 65
}
],
"_active": true,
"_components": [
{
"__id__": 66
"__id__": 68
},
{
"__id__": 67
"__id__": 69
}
],
"_prefab": null,
......@@ -1700,17 +1797,17 @@
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 35
"__id__": 37
},
"_children": [
{
"__id__": 37
"__id__": 39
}
],
"_active": true,
"_components": [
{
"__id__": 39
"__id__": 41
}
],
"_prefab": null,
......@@ -1766,13 +1863,13 @@
"_name": "bar_tag",
"_objFlags": 0,
"_parent": {
"__id__": 36
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 40
}
],
"_prefab": null,
......@@ -1786,8 +1883,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 68,
"height": 68
"width": 67,
"height": 69
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1828,7 +1925,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
"__id__": 39
},
"_enabled": true,
"_materials": [
......@@ -1836,7 +1933,7 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b42b439b-c03b-4687-98c4-39a3b8fe830f"
......@@ -1860,7 +1957,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
"__id__": 38
},
"_enabled": true,
"_materials": [
......@@ -1892,20 +1989,20 @@
"_name": "Play",
"_objFlags": 0,
"_parent": {
"__id__": 35
"__id__": 37
},
"_children": [
{
"__id__": 41
"__id__": 43
}
],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 46
},
{
"__id__": 46
"__id__": 48
}
],
"_prefab": null,
......@@ -1961,16 +2058,16 @@
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 40
"__id__": 42
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 42
"__id__": 44
},
{
"__id__": 43
"__id__": 45
}
],
"_prefab": null,
......@@ -2026,7 +2123,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 43
},
"_enabled": true,
"_materials": [
......@@ -2058,7 +2155,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 43
},
"_enabled": true,
"alignMode": 0,
......@@ -2085,7 +2182,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
"__id__": 42
},
"_enabled": true,
"_normalMaterial": null,
......@@ -2094,7 +2191,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 45
"__id__": 47
}
],
"_N$interactable": true,
......@@ -2160,7 +2257,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 41
"__id__": 43
},
"_id": "23ncTWRGlPnoE1fQ/Wtni2"
},
......@@ -2179,7 +2276,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
"__id__": 42
},
"_enabled": true,
"alignMode": 1,
......@@ -2206,20 +2303,20 @@
"_name": "Pause",
"_objFlags": 0,
"_parent": {
"__id__": 35
"__id__": 37
},
"_children": [
{
"__id__": 48
"__id__": 50
}
],
"_active": false,
"_components": [
{
"__id__": 50
"__id__": 52
},
{
"__id__": 52
"__id__": 54
}
],
"_prefab": null,
......@@ -2275,13 +2372,13 @@
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 47
"__id__": 49
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
"__id__": 51
}
],
"_prefab": null,
......@@ -2337,7 +2434,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 50
},
"_enabled": true,
"_materials": [
......@@ -2369,7 +2466,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
"__id__": 49
},
"_enabled": true,
"_normalMaterial": null,
......@@ -2378,7 +2475,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 51
"__id__": 53
}
],
"_N$interactable": true,
......@@ -2434,7 +2531,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 48
"__id__": 50
},
"_id": "ae3/NvQbdIeopzDreOCUx9"
},
......@@ -2453,7 +2550,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
"__id__": 49
},
"_enabled": true,
"alignMode": 1,
......@@ -2480,20 +2577,20 @@
"_name": "Restart",
"_objFlags": 0,
"_parent": {
"__id__": 35
"__id__": 37
},
"_children": [
{
"__id__": 54
"__id__": 56
}
],
"_active": false,
"_components": [
{
"__id__": 56
"__id__": 58
},
{
"__id__": 58
"__id__": 60
}
],
"_prefab": null,
......@@ -2549,13 +2646,13 @@
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 53
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 55
"__id__": 57
}
],
"_prefab": null,
......@@ -2611,7 +2708,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
"__id__": 56
},
"_enabled": true,
"_materials": [
......@@ -2643,7 +2740,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 55
},
"_enabled": true,
"_normalMaterial": null,
......@@ -2652,7 +2749,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 57
"__id__": 59
}
],
"_N$interactable": true,
......@@ -2708,7 +2805,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 54
"__id__": 56
},
"_id": "38T9ftK/VJsoxPSrZNXkof"
},
......@@ -2727,7 +2824,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 55
},
"_enabled": true,
"alignMode": 1,
......@@ -2754,19 +2851,19 @@
"_name": "CurrentLabel",
"_objFlags": 0,
"_parent": {
"__id__": 35
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 60
"__id__": 62
},
{
"__id__": 61
"__id__": 63
},
{
"__id__": 62
"__id__": 64
}
],
"_prefab": null,
......@@ -2822,7 +2919,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 61
},
"_enabled": true,
"_materials": [
......@@ -2855,7 +2952,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 61
},
"_enabled": false,
"_color": {
......@@ -2873,7 +2970,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 61
},
"_enabled": true,
"alignMode": 1,
......@@ -2900,16 +2997,16 @@
"_name": "TimeLabel",
"_objFlags": 0,
"_parent": {
"__id__": 35
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 64
"__id__": 66
},
{
"__id__": 65
"__id__": 67
}
],
"_prefab": null,
......@@ -2965,7 +3062,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 65
},
"_enabled": true,
"_materials": [
......@@ -2998,7 +3095,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 65
},
"_enabled": true,
"alignMode": 1,
......@@ -3025,7 +3122,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 37
},
"_enabled": true,
"_materials": [
......@@ -3057,12 +3154,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 37
},
"_enabled": true,
"_N$totalLength": 1,
"_N$barSprite": {
"__id__": 39
"__id__": 41
},
"_N$mode": 2,
"_N$progress": 1,
......@@ -3074,19 +3171,19 @@
"_name": "fullscreen",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
"__id__": 71
},
{
"__id__": 70
"__id__": 72
},
{
"__id__": 71
"__id__": 73
}
],
"_prefab": null,
......@@ -3142,7 +3239,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 70
},
"_enabled": true,
"_materials": [
......@@ -3174,7 +3271,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
......@@ -3201,7 +3298,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 70
},
"_enabled": true,
"_normalMaterial": null,
......@@ -3210,7 +3307,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 72
"__id__": 74
}
],
"_N$interactable": true,
......@@ -3283,19 +3380,19 @@
"_name": "exitfull",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 34
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 74
"__id__": 76
},
{
"__id__": 75
"__id__": 77
},
{
"__id__": 76
"__id__": 78
}
],
"_prefab": null,
......@@ -3351,7 +3448,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -3383,7 +3480,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 75
},
"_enabled": true,
"alignMode": 1,
......@@ -3410,7 +3507,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 75
},
"_enabled": true,
"_normalMaterial": null,
......@@ -3419,7 +3516,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 77
"__id__": 79
}
],
"_N$interactable": true,
......@@ -3496,16 +3593,16 @@
},
"_children": [
{
"__id__": 79
"__id__": 81
}
],
"_active": true,
"_components": [
{
"__id__": 112
"__id__": 116
},
{
"__id__": 113
"__id__": 117
}
],
"_prefab": null,
......@@ -3561,17 +3658,17 @@
"_name": "view",
"_objFlags": 0,
"_parent": {
"__id__": 78
"__id__": 80
},
"_children": [
{
"__id__": 80
"__id__": 82
}
],
"_active": true,
"_components": [
{
"__id__": 111
"__id__": 115
}
],
"_prefab": null,
......@@ -3627,17 +3724,17 @@
"_name": "content",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 81
},
"_children": [
{
"__id__": 81
"__id__": 83
}
],
"_active": true,
"_components": [
{
"__id__": 110
"__id__": 114
}
],
"_prefab": null,
......@@ -3693,20 +3790,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 80
"__id__": 82
},
"_children": [
{
"__id__": 82
"__id__": 84
},
{
"__id__": 94
"__id__": 98
}
],
"_active": false,
"_components": [
{
"__id__": 108
"__id__": 112
}
],
"_prefab": null,
......@@ -3762,26 +3859,29 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 83
},
"_children": [
{
"__id__": 83
},
{
"__id__": 85
},
{
"__id__": 89
"__id__": 87
},
{
"__id__": 91
},
{
"__id__": 93
},
{
"__id__": 95
}
],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 97
}
],
"_prefab": null,
......@@ -3837,13 +3937,13 @@
"_name": "cover_bg",
"_objFlags": 0,
"_parent": {
"__id__": 82
"__id__": 84
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 84
"__id__": 86
}
],
"_prefab": null,
......@@ -3899,7 +3999,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
"__id__": 85
},
"_enabled": true,
"_materials": [
......@@ -3931,17 +4031,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 82
"__id__": 84
},
"_children": [
{
"__id__": 86
"__id__": 88
}
],
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 90
}
],
"_prefab": null,
......@@ -3956,7 +4056,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 348,
"height": 222
"height": 228
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3997,13 +4097,13 @@
"_name": "cover",
"_objFlags": 0,
"_parent": {
"__id__": 85
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 87
"__id__": 89
}
],
"_prefab": null,
......@@ -4059,7 +4159,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 88
},
"_enabled": true,
"_materials": [
......@@ -4091,7 +4191,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
"__id__": 87
},
"_enabled": true,
"_materials": [
......@@ -4113,13 +4213,13 @@
"_name": "num",
"_objFlags": 0,
"_parent": {
"__id__": 82
"__id__": 84
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 90
"__id__": 92
}
],
"_prefab": null,
......@@ -4175,7 +4275,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 91
},
"_enabled": true,
"_materials": [
......@@ -4210,13 +4310,13 @@
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 82
"__id__": 84
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 92
"__id__": 94
}
],
"_prefab": null,
......@@ -4272,7 +4372,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -4300,12 +4400,102 @@
"_N$cacheMode": 0,
"_id": "97CMqYKjBNybYhv5jJX92Q"
},
{
"__type__": "cc.Node",
"_name": "color",
"_objFlags": 0,
"_parent": {
"__id__": 84
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 96
}
],
"_prefab": null,
"_opacity": 211,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 335,
"height": 217
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a8UT7Xu5NDgYvkZxoq4B3f"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
"__id__": 95
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "aef08c6d-14fd-4aa9-8dc3-e3510e282b74"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "85An/8kLhARaUxyu7sUB8N"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_materials": [
......@@ -4337,29 +4527,29 @@
"_name": "item_active",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 83
},
"_children": [
{
"__id__": 95
"__id__": 99
},
{
"__id__": 97
"__id__": 101
},
{
"__id__": 99
"__id__": 103
},
{
"__id__": 101
"__id__": 105
},
{
"__id__": 105
"__id__": 109
}
],
"_active": false,
"_components": [
{
"__id__": 107
"__id__": 111
}
],
"_prefab": null,
......@@ -4415,13 +4605,13 @@
"_name": "cover_bg",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 98
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 96
"__id__": 100
}
],
"_prefab": null,
......@@ -4477,7 +4667,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
"__id__": 99
},
"_enabled": true,
"_materials": [
......@@ -4509,13 +4699,13 @@
"_name": "num",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 98
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 98
"__id__": 102
}
],
"_prefab": null,
......@@ -4571,7 +4761,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 101
},
"_enabled": true,
"_materials": [
......@@ -4606,13 +4796,13 @@
"_name": "img_audio_ske",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 98
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 100
"__id__": 104
}
],
"_prefab": null,
......@@ -4668,7 +4858,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
"__id__": 103
},
"_enabled": true,
"_materials": [
......@@ -4708,17 +4898,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 98
},
"_children": [
{
"__id__": 102
"__id__": 106
}
],
"_active": true,
"_components": [
{
"__id__": 104
"__id__": 108
}
],
"_prefab": null,
......@@ -4774,13 +4964,13 @@
"_name": "cover",
"_objFlags": 0,
"_parent": {
"__id__": 101
"__id__": 105
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 103
"__id__": 107
}
],
"_prefab": null,
......@@ -4836,7 +5026,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 106
},
"_enabled": true,
"_materials": [
......@@ -4868,7 +5058,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
"__id__": 105
},
"_enabled": true,
"_materials": [
......@@ -4890,13 +5080,13 @@
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 98
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 106
"__id__": 110
}
],
"_prefab": null,
......@@ -4952,7 +5142,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 109
},
"_enabled": true,
"_materials": [
......@@ -4985,7 +5175,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
"__id__": 98
},
"_enabled": true,
"_materials": [
......@@ -5017,7 +5207,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 83
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5026,7 +5216,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 109
"__id__": 113
}
],
"_N$interactable": true,
......@@ -5082,7 +5272,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 81
"__id__": 83
},
"_id": "7aTx3B2HJO6oViYBGBm/73"
},
......@@ -5101,7 +5291,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 82
},
"_enabled": true,
"_layoutSize": {
......@@ -5133,7 +5323,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 81
},
"_enabled": true,
"_materials": [
......@@ -5153,7 +5343,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 80
},
"_enabled": true,
"_materials": [
......@@ -5183,7 +5373,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 80
},
"_enabled": true,
"horizontal": true,
......@@ -5195,10 +5385,10 @@
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 80
"__id__": 82
},
"content": {
"__id__": 80
"__id__": 82
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null,
......@@ -5215,13 +5405,13 @@
"_active": true,
"_components": [
{
"__id__": 115
"__id__": 119
},
{
"__id__": 116
"__id__": 120
},
{
"__id__": 118
"__id__": 122
}
],
"_prefab": null,
......@@ -5277,7 +5467,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 118
},
"_enabled": true,
"_materials": [
......@@ -5309,7 +5499,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 118
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5318,7 +5508,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 117
"__id__": 121
}
],
"_N$interactable": true,
......@@ -5374,7 +5564,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 114
"__id__": 118
},
"_id": "3fGEyP6+lCsbQfSxz4x/Lb"
},
......@@ -5393,7 +5583,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 118
},
"_enabled": true,
"alignMode": 1,
......@@ -5424,10 +5614,10 @@
},
"_children": [
{
"__id__": 120
"__id__": 124
},
{
"__id__": 125
"__id__": 129
}
],
"_active": true,
......@@ -5485,19 +5675,19 @@
"_name": "btn_last",
"_objFlags": 0,
"_parent": {
"__id__": 119
"__id__": 123
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 121
"__id__": 125
},
{
"__id__": 122
"__id__": 126
},
{
"__id__": 124
"__id__": 128
}
],
"_prefab": null,
......@@ -5553,7 +5743,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 124
},
"_enabled": true,
"_materials": [
......@@ -5585,7 +5775,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 124
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5594,7 +5784,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 123
"__id__": 127
}
],
"_N$interactable": true,
......@@ -5650,7 +5840,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 120
"__id__": 124
},
"_id": "63sqlR0bVEJrqaAhyT+FzF"
},
......@@ -5669,7 +5859,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 124
},
"_enabled": true,
"alignMode": 1,
......@@ -5698,19 +5888,19 @@
"_name": "btn_next",
"_objFlags": 0,
"_parent": {
"__id__": 119
"__id__": 123
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 126
"__id__": 130
},
{
"__id__": 127
"__id__": 131
},
{
"__id__": 129
"__id__": 133
}
],
"_prefab": null,
......@@ -5766,7 +5956,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
"__id__": 129
},
"_enabled": true,
"_materials": [
......@@ -5798,7 +5988,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
"__id__": 129
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5807,7 +5997,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 128
"__id__": 132
}
],
"_N$interactable": true,
......@@ -5863,7 +6053,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 125
"__id__": 129
},
"_id": "3aZJp/FzlONJO+/okrPRip"
},
......@@ -5882,7 +6072,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
"__id__": 129
},
"_enabled": true,
"alignMode": 1,
......@@ -5917,10 +6107,10 @@
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 135
},
{
"__id__": 132
"__id__": 136
}
],
"_prefab": null,
......@@ -5976,7 +6166,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
"__id__": 134
},
"_enabled": true,
"_materials": [
......@@ -6009,7 +6199,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
"__id__": 134
},
"_enabled": true,
"alignMode": 1,
......@@ -6042,7 +6232,7 @@
"_active": false,
"_components": [
{
"__id__": 134
"__id__": 138
}
],
"_prefab": null,
......@@ -6098,7 +6288,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 137
},
"_enabled": true,
"_materials": [
......@@ -6136,7 +6326,7 @@
"_active": false,
"_components": [
{
"__id__": 136
"__id__": 140
}
],
"_prefab": null,
......@@ -6192,7 +6382,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 135
"__id__": 139
},
"_enabled": true,
"_materials": [
......@@ -6283,33 +6473,36 @@
"__id__": 6
},
"ProgressBar": {
"__id__": 35
"__id__": 37
},
"playButton": {
"__id__": 44
"__id__": 46
},
"pauseButton": {
"__id__": 50
"__id__": 52
},
"restartButton": {
"__id__": 56
"__id__": 58
},
"backButton": null,
"forwardButton": null,
"durationLabel": {
"__id__": 64
"__id__": 66
},
"currentTimeLabel": {
"__id__": 60
"__id__": 62
},
"barTag": {
"__id__": 37
"__id__": 39
},
"bar": {
"__id__": 36
"__id__": 38
},
"loadingSprite": {
"__id__": 135
"__id__": 139
},
"noPlayCover": {
"__id__": 32
},
"_id": "c0ovD3YW1IbKk/Fh2N2zzp"
}
......
......@@ -41,6 +41,9 @@ export default class VideoPlayerComponent extends cc.Component {
@property(cc.Node)
loadingSprite: cc.Node = null;
@property(cc.Node)
noPlayCover: cc.Node = null;
_designSize: cc.Size = null;
_frameSize: cc.Size = null;
_mapScaleMin: number = null;
......@@ -147,9 +150,11 @@ export default class VideoPlayerComponent extends cc.Component {
this.videoPlayer.currentTime = 0;
this.play();
});
this.videoPlayer.node.on('meta-loaded', () => {
console.log('meta-loaded');
});
this.videoPlayer.node.on('clicked', () => {
console.log('clicked');
if (this.isVideoFull) {
......@@ -164,6 +169,7 @@ export default class VideoPlayerComponent extends cc.Component {
}, 6000);
}
});
this.videoPlayer.node.on('touchstarted', () => {
console.log('touchstarted');
if (this.isVideoFull) {
......@@ -178,6 +184,7 @@ export default class VideoPlayerComponent extends cc.Component {
}, 6000);
}
});
this.videoPlayer.node.on(cc.Node.EventType.TOUCH_START, () => {
console.log('touchstarted');
if (this.isVideoFull) {
......@@ -192,24 +199,28 @@ export default class VideoPlayerComponent extends cc.Component {
}, 6000);
}
});
this.videoPlayer.node.on('playing', () => {
this.durationLabel.string = this.formatTime(this.videoPlayer.getDuration());
this.playButton.node.active = false;
this.restartButton.node.active = false;
this.pauseButton.node.active = true;
this.noPlayCover.active = false;
});
this.videoPlayer.node.on('paused', () => {
});
this.videoPlayer.node.on('stopped', () => {
});
this.videoPlayer.node.on('completed', async () => {
this.videoPlayer.node.on('completed', async () => {
this._isPlayComplated = true;
this.playButton.node.active = false;
this.pauseButton.node.active = false;
this.restartButton.node.active = false;
this.restartButton.node.active = true;
const nextItem = this.videoItemList[this.videoPlayIndex + 1];
if (nextItem) {
......@@ -218,6 +229,7 @@ export default class VideoPlayerComponent extends cc.Component {
this.videoItemList[0].emit('my_item_click');
}
});
cc.view.setResizeCallback(() => {
this.initdDrag();
});
......@@ -429,7 +441,7 @@ export default class VideoPlayerComponent extends cc.Component {
cc.find(`Canvas/video_node`).width *= 1.2;
cc.find(`Canvas/video_node`).height *= 1.2;
cc.find(`Canvas/video_node`).y = 93.311;
cc.find(`Canvas/VideoNode`).scale = 1.439;
cc.find(`Canvas/VideoNode`).scale = 1.45;
cc.find(`Canvas/Controls`).scale = 1.2;
cc.find(`Canvas/Controls`).y = -670;
cc.find(`Canvas/Controls`).x += 50;
......@@ -663,25 +675,25 @@ export default class VideoPlayerComponent extends cc.Component {
if (ct) {
this.updateBarByTime(ct);
}
if (this.videoPlayer.isPlaying()) {
if (this.playButton.node.active) {
this.playButton.node.active = false;
this.restartButton.node.active = false;
}
if (!this.pauseButton.node.active) {
this.pauseButton.node.active = true;
}
} else {
if (!this.playButton.node.active) {
this.playButton.node.active = true;
}
if (this.pauseButton.node.active) {
this.pauseButton.node.active = false;
}
if (this.restartButton.node.active) {
this.playButton.node.active = false;
}
}
// if (this.videoPlayer.isPlaying()) {
// if (this.playButton.node.active) {
// this.playButton.node.active = false;
// this.restartButton.node.active = false;
// }
// if (!this.pauseButton.node.active) {
// this.pauseButton.node.active = true;
// }
// } else {
// if (!this.playButton.node.active) {
// this.playButton.node.active = true;
// }
// if (this.pauseButton.node.active) {
// this.pauseButton.node.active = false;
// }
// if (this.restartButton.node.active) {
// this.playButton.node.active = false;
// }
// }
}
}
}
\ No newline at end of file
......@@ -4,11 +4,11 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 68,
"height": 68,
"width": 73,
"height": 73,
"platformSettings": {},
"subMetas": {
"btn_tiao": {
......@@ -19,13 +19,13 @@
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 68,
"height": 68,
"rawWidth": 68,
"rawHeight": 68,
"offsetY": 1,
"trimX": 3,
"trimY": 1,
"width": 67,
"height": 69,
"rawWidth": 73,
"rawHeight": 73,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "4e79555e-fb4b-4880-ba7b-c2adbd68a951",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 967,
"height": 544,
"platformSettings": {},
"subMetas": {
"bg_top": {
"ver": "1.0.4",
"uuid": "5a86e45d-0e83-4ce9-bd11-41747db25b06",
"rawTextureUuid": "4e79555e-fb4b-4880-ba7b-c2adbd68a951",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 967,
"height": 544,
"rawWidth": 967,
"rawHeight": 544,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -4,10 +4,10 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 971,
"width": 1065,
"height": 717,
"platformSettings": {},
"subMetas": {
......@@ -19,12 +19,12 @@
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0.5,
"offsetY": 0,
"trimX": 4,
"trimY": 2,
"width": 1058,
"height": 712,
"rawWidth": 1066,
"trimY": 4,
"width": 1057,
"height": 709,
"rawWidth": 1065,
"rawHeight": 717,
"borderTop": 0,
"borderBottom": 0,
......
......@@ -4,11 +4,11 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 971,
"height": 717,
"width": 967,
"height": 544,
"platformSettings": {},
"subMetas": {
"bg_video_bg_mask": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 81.5,
"trimX": 50,
"trimY": 6,
"width": 870,
"height": 542,
"rawWidth": 971,
"rawHeight": 717,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 967,
"height": 544,
"rawWidth": 967,
"rawHeight": 544,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "cba0b144-43ae-4729-bce9-711a87f5fe63",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 348,
"height": 228,
"platformSettings": {},
"subMetas": {
"bg_video_unchosen_mask": {
"ver": "1.0.4",
"uuid": "aef08c6d-14fd-4aa9-8dc3-e3510e282b74",
"rawTextureUuid": "cba0b144-43ae-4729-bce9-711a87f5fe63",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0.5,
"trimX": 6,
"trimY": 5,
"width": 335,
"height": 217,
"rawWidth": 348,
"rawHeight": 228,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment