Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cartoon_video
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
cartoon_video
Commits
616930ae
Commit
616930ae
authored
Sep 21, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
325a3828
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
352 additions
and
121 deletions
+352
-121
cartoon_video.meta
assets/cartoon_video.meta
+1
-15
cartoon_video.fire
assets/cartoon_video/Scene/cartoon_video.fire
+343
-100
cartoon_video.js
assets/cartoon_video/Scene/cartoon_video.js
+6
-4
bg.png.meta
assets/cartoon_video/Texture/video/bg.png.meta
+2
-2
No files found.
assets/cartoon_video.meta
View file @
616930ae
{
{"ver":"1.1.2","uuid":"4f557179-a05f-4891-bac0-6a3d0275c8ce","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
"ver": "1.1.2",
\ No newline at end of file
"uuid": "4f557179-a05f-4891-bac0-6a3d0275c8ce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/cartoon_video/Scene/cartoon_video.fire
View file @
616930ae
...
@@ -81,22 +81,19 @@
...
@@ -81,22 +81,19 @@
"__id__": 11
"__id__": 11
},
},
{
{
"__id__": 14
"__id__": 23
},
{
"__id__": 17
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
1
"__id__": 5
7
},
},
{
{
"__id__": 5
2
"__id__": 5
8
},
},
{
{
"__id__": 5
3
"__id__": 5
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -308,7 +305,7 @@
...
@@ -308,7 +305,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
addilquLRBDZBGWaFggTf1
"
"_id": "
bfUxDsKnpGqZGDy79qwcj3
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -340,7 +337,7 @@
...
@@ -340,7 +337,7 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
1eA4bfGG9E5axOtqogt55T
"
"_id": "
bcMnJPYg9HVoJuIfThhqJ7
"
},
},
{
{
"__type__": "cc.Widget",
"__type__": "cc.Widget",
...
@@ -367,7 +364,7 @@
...
@@ -367,7 +364,7 @@
"_isAbsVerticalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalWidth": 1280,
"_originalHeight": 720,
"_originalHeight": 720,
"_id": "
f3AOu8GUhM267nsrpUSJyU
"
"_id": "
58F4qORNBEXrbfjGlUeTRd
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -495,19 +492,218 @@
...
@@ -495,19 +492,218 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_video_shadow
",
"_name": "
video_node
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
},
},
"_children": [],
"_children": [
{
"__id__": 12
},
{
"__id__": 15
},
{
"__id__": 18
}
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
12
"__id__":
21
},
},
{
"__id__": 22
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 896,
"height": 504
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
35,
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": "2eYgDBd01EZbiWfXtGxZk6"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
{
"__id__": 13
"__id__": 13
},
{
"__id__": 14
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-35,
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": "addilquLRBDZBGWaFggTf1"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "82179df8-a8f0-4782-87fb-93835aa2425f"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1eA4bfGG9E5axOtqogt55T"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": -192,
"_right": -192,
"_top": -72.99999999999997,
"_bottom": -142.99999999999997,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "f3AOu8GUhM267nsrpUSJyU"
},
{
"__type__": "cc.Node",
"_name": "bg_video_shadow",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 17
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -534,7 +730,7 @@
...
@@ -534,7 +730,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
42.166
,
20
,
0,
0,
0,
0,
0,
0,
...
@@ -542,7 +738,7 @@
...
@@ -542,7 +738,7 @@
1,
1,
0.5,
0.5,
0.5,
0.5,
1
0.5
]
]
},
},
"_eulerAngles": {
"_eulerAngles": {
...
@@ -563,7 +759,7 @@
...
@@ -563,7 +759,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
"__id__": 1
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -595,7 +791,7 @@
...
@@ -595,7 +791,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
"__id__": 1
5
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -622,16 +818,16 @@
...
@@ -622,16 +818,16 @@
"_name": "VideoNode",
"_name": "VideoNode",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
"__id__":
11
},
},
"_children": [],
"_children": [],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
"_components": [
{
{
"__id__": 1
5
"__id__": 1
9
},
},
{
{
"__id__":
16
"__id__":
20
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -658,7 +854,7 @@
...
@@ -658,7 +854,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
57.701
,
12.324
,
0,
0,
0,
0,
0,
0,
...
@@ -666,7 +862,7 @@
...
@@ -666,7 +862,7 @@
1,
1,
0.7,
0.7,
0.7,
0.7,
1
0.7
]
]
},
},
"_eulerAngles": {
"_eulerAngles": {
...
@@ -687,7 +883,7 @@
...
@@ -687,7 +883,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
4
"__id__": 1
8
},
},
"_enabled": true,
"_enabled": true,
"_resourceType": 0,
"_resourceType": 0,
...
@@ -707,7 +903,7 @@
...
@@ -707,7 +903,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
4
"__id__": 1
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -717,7 +913,7 @@
...
@@ -717,7 +913,7 @@
"_right": 0,
"_right": 0,
"_top": 0,
"_top": 0,
"_bottom": 145.72800000000004,
"_bottom": 145.72800000000004,
"_verticalCenter":
20
,
"_verticalCenter":
12.324
,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsRight": true,
...
@@ -729,6 +925,53 @@
...
@@ -729,6 +925,53 @@
"_originalHeight": 0,
"_originalHeight": 0,
"_id": "1fqYsocEpLwaEFWHsef/gC"
"_id": "1fqYsocEpLwaEFWHsef/gC"
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 192,
"_right": 192,
"_top": 73.00000000000003,
"_bottom": 143,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "852CsUKyVL0p+WuJo3sexA"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": true,
"_id": "c4itMLHXBCxKR1uk46xIT4"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "Controls",
"_name": "Controls",
...
@@ -738,13 +981,13 @@
...
@@ -738,13 +981,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
18
"__id__":
24
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
0
"__id__": 5
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -800,35 +1043,35 @@
...
@@ -800,35 +1043,35 @@
"_name": "ProgressBar",
"_name": "ProgressBar",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
17
"__id__":
23
},
},
"_children": [
"_children": [
{
{
"__id__":
19
"__id__":
25
},
},
{
{
"__id__":
24
"__id__":
30
},
},
{
{
"__id__": 3
1
"__id__": 3
7
},
},
{
{
"__id__":
38
"__id__":
44
},
},
{
{
"__id__": 4
2
"__id__": 4
8
},
},
{
{
"__id__":
45
"__id__":
51
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
48
"__id__":
54
},
},
{
{
"__id__":
49
"__id__":
55
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -884,20 +1127,20 @@
...
@@ -884,20 +1127,20 @@
"_name": "bar",
"_name": "bar",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
18
"__id__":
24
},
},
"_children": [
"_children": [
{
{
"__id__": 2
0
"__id__": 2
6
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
2
"__id__": 2
8
},
},
{
{
"__id__": 2
3
"__id__": 2
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -953,13 +1196,13 @@
...
@@ -953,13 +1196,13 @@
"_name": "bar_tag",
"_name": "bar_tag",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
19
"__id__":
25
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
1
"__id__": 2
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1015,7 +1258,7 @@
...
@@ -1015,7 +1258,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
0
"__id__": 2
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1047,7 +1290,7 @@
...
@@ -1047,7 +1290,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
19
"__id__":
25
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1079,7 +1322,7 @@
...
@@ -1079,7 +1322,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
19
"__id__":
25
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1106,20 +1349,20 @@
...
@@ -1106,20 +1349,20 @@
"_name": "Play",
"_name": "Play",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
18
"__id__":
24
},
},
"_children": [
"_children": [
{
{
"__id__":
25
"__id__":
31
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
28
"__id__":
34
},
},
{
{
"__id__": 3
0
"__id__": 3
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1175,16 +1418,16 @@
...
@@ -1175,16 +1418,16 @@
"_name": "Background",
"_name": "Background",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__":
24
"__id__":
30
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
26
"__id__":
32
},
},
{
{
"__id__":
27
"__id__":
33
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1240,7 +1483,7 @@
...
@@ -1240,7 +1483,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
25
"__id__":
31
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1272,7 +1515,7 @@
...
@@ -1272,7 +1515,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
25
"__id__":
31
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 0,
"alignMode": 0,
...
@@ -1299,7 +1542,7 @@
...
@@ -1299,7 +1542,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
24
"__id__":
30
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -1308,7 +1551,7 @@
...
@@ -1308,7 +1551,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__":
29
"__id__":
35
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -1374,7 +1617,7 @@
...
@@ -1374,7 +1617,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
},
"_N$target": {
"_N$target": {
"__id__":
25
"__id__":
31
},
},
"_id": "a8bWaLdnFKA5ITxJunB2R2"
"_id": "a8bWaLdnFKA5ITxJunB2R2"
},
},
...
@@ -1393,7 +1636,7 @@
...
@@ -1393,7 +1636,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
24
"__id__":
30
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1420,20 +1663,20 @@
...
@@ -1420,20 +1663,20 @@
"_name": "Pause",
"_name": "Pause",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
18
"__id__":
24
},
},
"_children": [
"_children": [
{
{
"__id__": 3
2
"__id__": 3
8
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
35
"__id__":
41
},
},
{
{
"__id__":
37
"__id__":
43
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1489,16 +1732,16 @@
...
@@ -1489,16 +1732,16 @@
"_name": "Background",
"_name": "Background",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__": 3
1
"__id__": 3
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
3
"__id__": 3
9
},
},
{
{
"__id__":
34
"__id__":
40
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1554,7 +1797,7 @@
...
@@ -1554,7 +1797,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
2
"__id__": 3
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1586,7 +1829,7 @@
...
@@ -1586,7 +1829,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
2
"__id__": 3
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 0,
"alignMode": 0,
...
@@ -1613,7 +1856,7 @@
...
@@ -1613,7 +1856,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
1
"__id__": 3
7
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -1622,7 +1865,7 @@
...
@@ -1622,7 +1865,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__":
36
"__id__":
42
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -1678,7 +1921,7 @@
...
@@ -1678,7 +1921,7 @@
"hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"_N$target": {
"__id__": 3
2
"__id__": 3
8
},
},
"_id": "94dhG7VhpIZZJp5e+IJuYc"
"_id": "94dhG7VhpIZZJp5e+IJuYc"
},
},
...
@@ -1697,7 +1940,7 @@
...
@@ -1697,7 +1940,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
1
"__id__": 3
7
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1724,19 +1967,19 @@
...
@@ -1724,19 +1967,19 @@
"_name": "CurrentLabel",
"_name": "CurrentLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
18
"__id__":
24
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
39
"__id__":
45
},
},
{
{
"__id__": 4
0
"__id__": 4
6
},
},
{
{
"__id__": 4
1
"__id__": 4
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1792,7 +2035,7 @@
...
@@ -1792,7 +2035,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
38
"__id__":
44
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1825,7 +2068,7 @@
...
@@ -1825,7 +2068,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
38
"__id__":
44
},
},
"_enabled": false,
"_enabled": false,
"_color": {
"_color": {
...
@@ -1843,7 +2086,7 @@
...
@@ -1843,7 +2086,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
38
"__id__":
44
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1870,16 +2113,16 @@
...
@@ -1870,16 +2113,16 @@
"_name": "TimeLabel",
"_name": "TimeLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
18
"__id__":
24
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
3
"__id__": 4
9
},
},
{
{
"__id__":
44
"__id__":
50
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1935,7 +2178,7 @@
...
@@ -1935,7 +2178,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1968,7 +2211,7 @@
...
@@ -1968,7 +2211,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1995,16 +2238,16 @@
...
@@ -1995,16 +2238,16 @@
"_name": "text_tips_left",
"_name": "text_tips_left",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
18
"__id__":
24
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
46
"__id__":
52
},
},
{
{
"__id__":
47
"__id__":
53
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2060,7 +2303,7 @@
...
@@ -2060,7 +2303,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
45
"__id__":
51
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2092,7 +2335,7 @@
...
@@ -2092,7 +2335,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
45
"__id__":
51
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2119,7 +2362,7 @@
...
@@ -2119,7 +2362,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
18
"__id__":
24
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2151,7 +2394,7 @@
...
@@ -2151,7 +2394,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
18
"__id__":
24
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2178,7 +2421,7 @@
...
@@ -2178,7 +2421,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
17
"__id__":
23
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2253,31 +2496,31 @@
...
@@ -2253,31 +2496,31 @@
},
},
"_enabled": true,
"_enabled": true,
"videoPlayer": {
"videoPlayer": {
"__id__": 1
5
"__id__": 1
9
},
},
"ProgressBar": {
"ProgressBar": {
"__id__":
18
"__id__":
24
},
},
"playButton": {
"playButton": {
"__id__":
28
"__id__":
34
},
},
"pauseButton": {
"pauseButton": {
"__id__":
35
"__id__":
41
},
},
"restartButton": null,
"restartButton": null,
"backButton": null,
"backButton": null,
"forwardButton": null,
"forwardButton": null,
"durationLabel": {
"durationLabel": {
"__id__": 4
3
"__id__": 4
9
},
},
"currentTimeLabel": {
"currentTimeLabel": {
"__id__":
39
"__id__":
45
},
},
"barTag": {
"barTag": {
"__id__": 2
0
"__id__": 2
6
},
},
"bar": {
"bar": {
"__id__":
19
"__id__":
25
},
},
"_id": "ec0d87qy5Eoavi5EqUiZj3"
"_id": "ec0d87qy5Eoavi5EqUiZj3"
}
}
...
...
assets/cartoon_video/Scene/cartoon_video.js
View file @
616930ae
...
@@ -146,8 +146,8 @@ cc.Class({
...
@@ -146,8 +146,8 @@ cc.Class({
cc
.
debug
.
setDisplayStats
(
false
);
cc
.
debug
.
setDisplayStats
(
false
);
this
.
initSize
();
this
.
initSize
();
c
onst
bgNode
=
cc
.
find
(
'
Canvas/bg
'
)
;
c
c
.
find
(
'
Canvas/bg
'
).
scale
=
this
.
_mapScaleMax
;
bgNode
.
scale
=
this
.
_mapScaleMax
;
cc
.
find
(
'
Canvas/video_node/bg
'
)
.
scale
=
this
.
_mapScaleMax
;
this
.
_isReadyToPlay
=
false
;
this
.
_isReadyToPlay
=
false
;
window
[
'
vv
'
]
=
this
;
window
[
'
vv
'
]
=
this
;
...
@@ -389,9 +389,11 @@ cc.Class({
...
@@ -389,9 +389,11 @@ cc.Class({
play
(){
play
(){
cc
.
find
(
`Canvas/Controls/ProgressBar/text_tips_left`
).
active
=
false
;
cc
.
find
(
`Canvas/Controls/ProgressBar/text_tips_left`
).
active
=
false
;
cc
.
find
(
`Canvas/bg`
).
active
=
false
;
cc
.
find
(
`Canvas/bg_empty`
).
active
=
false
;
cc
.
find
(
`Canvas/bg_empty`
).
active
=
false
;
cc
.
find
(
`Canvas/bg_video_shadow`
).
active
=
true
;
this
.
videoPlayer
.
node
.
active
=
true
;
cc
.
find
(
`Canvas/video_node`
).
active
=
true
;
// this.videoPlayer.node.active = true;
this
.
videoPlayer
.
play
();
this
.
videoPlayer
.
play
();
this
.
triggerInteractive
()
this
.
triggerInteractive
()
},
},
...
...
assets/cartoon_video/Texture/video/bg.png.meta
View file @
616930ae
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width":
256
0,
"width":
128
0,
"height":
144
0,
"height":
72
0,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"bg": {
"bg": {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment