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
229d6e20
Commit
229d6e20
authored
Sep 22, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
ee730b1f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
110 additions
and
180 deletions
+110
-180
cartoon_video.meta
assets/cartoon_video.meta
+1
-15
cartoon_video.fire
assets/cartoon_video/Scene/cartoon_video.fire
+103
-163
cartoon_video.js
assets/cartoon_video/Scene/cartoon_video.js
+5
-1
defaultData.js
assets/cartoon_video/Script/defaultData.js
+1
-1
No files found.
assets/cartoon_video.meta
View file @
229d6e20
{
{"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 @
229d6e20
...
@@ -75,28 +75,28 @@
...
@@ -75,28 +75,28 @@
"__id__": 5
"__id__": 5
},
},
{
{
"__id__": 1
7
"__id__": 1
5
},
},
{
{
"__id__":
20
"__id__":
18
},
},
{
{
"__id__": 2
3
"__id__": 2
1
},
},
{
{
"__id__": 2
6
"__id__": 2
4
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
60
"__id__":
58
},
},
{
{
"__id__":
61
"__id__":
59
},
},
{
{
"__id__": 6
2
"__id__": 6
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -266,14 +266,11 @@
...
@@ -266,14 +266,11 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 15
"__id__": 14
},
{
"__id__": 16
}
}
],
],
"_prefab": null,
"_prefab": null,
"_opacity":
0
,
"_opacity":
255
,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
...
@@ -528,7 +525,7 @@
...
@@ -528,7 +525,7 @@
"__uuid__": "086afe24-36cf-4acb-a26e-0cf3fade2b6e"
"__uuid__": "086afe24-36cf-4acb-a26e-0cf3fade2b6e"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -580,9 +577,6 @@
...
@@ -580,9 +577,6 @@
"_components": [
"_components": [
{
{
"__id__": 13
"__id__": 13
},
{
"__id__": 14
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -596,8 +590,8 @@
...
@@ -596,8 +590,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1280
,
"width":
896
,
"height":
720
"height":
504
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -608,15 +602,15 @@
...
@@ -608,15 +602,15 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
-500
0,
2.842170943040401e-14
,
-5000
,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0.7
,
1
,
0.7
,
1
,
0.7
0.7
]
]
},
},
...
@@ -653,60 +647,6 @@
...
@@ -653,60 +647,6 @@
"_N$keepAspectRatio": true,
"_N$keepAspectRatio": true,
"_id": "fce7ZaGl9IwYI1a7QJjapU"
"_id": "fce7ZaGl9IwYI1a7QJjapU"
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 5.684341886080802e-14,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "1fqYsocEpLwaEFWHsef/gC"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_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",
"__type__": "cc.Mask",
"_name": "",
"_name": "",
...
@@ -738,10 +678,10 @@
...
@@ -738,10 +678,10 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
8
"__id__": 1
6
},
},
{
{
"__id__": 1
9
"__id__": 1
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -797,7 +737,7 @@
...
@@ -797,7 +737,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
7
"__id__": 1
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -829,7 +769,7 @@
...
@@ -829,7 +769,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
7
"__id__": 1
5
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -862,10 +802,10 @@
...
@@ -862,10 +802,10 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
21
"__id__":
19
},
},
{
{
"__id__": 2
2
"__id__": 2
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -921,7 +861,7 @@
...
@@ -921,7 +861,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
20
"__id__":
18
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -953,7 +893,7 @@
...
@@ -953,7 +893,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
20
"__id__":
18
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -986,10 +926,10 @@
...
@@ -986,10 +926,10 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
4
"__id__": 2
2
},
},
{
{
"__id__": 2
5
"__id__": 2
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1045,7 +985,7 @@
...
@@ -1045,7 +985,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
3
"__id__": 2
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1077,7 +1017,7 @@
...
@@ -1077,7 +1017,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
3
"__id__": 2
1
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1108,13 +1048,13 @@
...
@@ -1108,13 +1048,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 2
7
"__id__": 2
5
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
9
"__id__": 5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1149,7 +1089,7 @@
...
@@ -1149,7 +1089,7 @@
1,
1,
0.5,
0.5,
0.5,
0.5,
1
0.5
]
]
},
},
"_eulerAngles": {
"_eulerAngles": {
...
@@ -1170,35 +1110,35 @@
...
@@ -1170,35 +1110,35 @@
"_name": "ProgressBar",
"_name": "ProgressBar",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
6
"__id__": 2
4
},
},
"_children": [
"_children": [
{
{
"__id__": 2
8
"__id__": 2
6
},
},
{
{
"__id__": 3
3
"__id__": 3
1
},
},
{
{
"__id__":
40
"__id__":
38
},
},
{
{
"__id__": 4
7
"__id__": 4
5
},
},
{
{
"__id__":
51
"__id__":
49
},
},
{
{
"__id__": 5
4
"__id__": 5
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
7
"__id__": 5
5
},
},
{
{
"__id__": 5
8
"__id__": 5
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1254,20 +1194,20 @@
...
@@ -1254,20 +1194,20 @@
"_name": "bar",
"_name": "bar",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
5
},
},
"_children": [
"_children": [
{
{
"__id__": 2
9
"__id__": 2
7
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
31
"__id__":
29
},
},
{
{
"__id__": 3
2
"__id__": 3
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1323,13 +1263,13 @@
...
@@ -1323,13 +1263,13 @@
"_name": "bar_tag",
"_name": "bar_tag",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
8
"__id__": 2
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
30
"__id__":
28
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1385,7 +1325,7 @@
...
@@ -1385,7 +1325,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
9
"__id__": 2
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1417,7 +1357,7 @@
...
@@ -1417,7 +1357,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
8
"__id__": 2
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1449,7 +1389,7 @@
...
@@ -1449,7 +1389,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
8
"__id__": 2
6
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1476,20 +1416,20 @@
...
@@ -1476,20 +1416,20 @@
"_name": "Play",
"_name": "Play",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
5
},
},
"_children": [
"_children": [
{
{
"__id__": 3
4
"__id__": 3
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
7
"__id__": 3
5
},
},
{
{
"__id__": 3
9
"__id__": 3
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1545,16 +1485,16 @@
...
@@ -1545,16 +1485,16 @@
"_name": "Background",
"_name": "Background",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__": 3
3
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
5
"__id__": 3
3
},
},
{
{
"__id__": 3
6
"__id__": 3
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1610,7 +1550,7 @@
...
@@ -1610,7 +1550,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
4
"__id__": 3
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1642,7 +1582,7 @@
...
@@ -1642,7 +1582,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
4
"__id__": 3
2
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 0,
"alignMode": 0,
...
@@ -1669,7 +1609,7 @@
...
@@ -1669,7 +1609,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
1
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -1678,7 +1618,7 @@
...
@@ -1678,7 +1618,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 3
8
"__id__": 3
6
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -1744,7 +1684,7 @@
...
@@ -1744,7 +1684,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
},
"_N$target": {
"_N$target": {
"__id__": 3
4
"__id__": 3
2
},
},
"_id": "a8bWaLdnFKA5ITxJunB2R2"
"_id": "a8bWaLdnFKA5ITxJunB2R2"
},
},
...
@@ -1763,7 +1703,7 @@
...
@@ -1763,7 +1703,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
1
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1790,20 +1730,20 @@
...
@@ -1790,20 +1730,20 @@
"_name": "Pause",
"_name": "Pause",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
5
},
},
"_children": [
"_children": [
{
{
"__id__":
41
"__id__":
39
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 4
4
"__id__": 4
2
},
},
{
{
"__id__": 4
6
"__id__": 4
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1859,16 +1799,16 @@
...
@@ -1859,16 +1799,16 @@
"_name": "Background",
"_name": "Background",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__":
40
"__id__":
38
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
2
"__id__": 4
0
},
},
{
{
"__id__": 4
3
"__id__": 4
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1924,7 +1864,7 @@
...
@@ -1924,7 +1864,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
41
"__id__":
39
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1956,7 +1896,7 @@
...
@@ -1956,7 +1896,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
41
"__id__":
39
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 0,
"alignMode": 0,
...
@@ -1983,7 +1923,7 @@
...
@@ -1983,7 +1923,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
40
"__id__":
38
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -1992,7 +1932,7 @@
...
@@ -1992,7 +1932,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 4
5
"__id__": 4
3
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -2048,7 +1988,7 @@
...
@@ -2048,7 +1988,7 @@
"hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"_N$target": {
"__id__":
41
"__id__":
39
},
},
"_id": "94dhG7VhpIZZJp5e+IJuYc"
"_id": "94dhG7VhpIZZJp5e+IJuYc"
},
},
...
@@ -2067,7 +2007,7 @@
...
@@ -2067,7 +2007,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
40
"__id__":
38
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2094,19 +2034,19 @@
...
@@ -2094,19 +2034,19 @@
"_name": "CurrentLabel",
"_name": "CurrentLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
8
"__id__": 4
6
},
},
{
{
"__id__": 4
9
"__id__": 4
7
},
},
{
{
"__id__":
50
"__id__":
48
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2162,7 +2102,7 @@
...
@@ -2162,7 +2102,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
7
"__id__": 4
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2195,7 +2135,7 @@
...
@@ -2195,7 +2135,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
7
"__id__": 4
5
},
},
"_enabled": false,
"_enabled": false,
"_color": {
"_color": {
...
@@ -2213,7 +2153,7 @@
...
@@ -2213,7 +2153,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
7
"__id__": 4
5
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2240,16 +2180,16 @@
...
@@ -2240,16 +2180,16 @@
"_name": "TimeLabel",
"_name": "TimeLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
2
"__id__": 5
0
},
},
{
{
"__id__": 5
3
"__id__": 5
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2305,7 +2245,7 @@
...
@@ -2305,7 +2245,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
51
"__id__":
49
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2338,7 +2278,7 @@
...
@@ -2338,7 +2278,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
51
"__id__":
49
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2365,16 +2305,16 @@
...
@@ -2365,16 +2305,16 @@
"_name": "text_tips_left",
"_name": "text_tips_left",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
5
"__id__": 5
3
},
},
{
{
"__id__": 5
6
"__id__": 5
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2430,7 +2370,7 @@
...
@@ -2430,7 +2370,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
4
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2462,7 +2402,7 @@
...
@@ -2462,7 +2402,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
4
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2489,7 +2429,7 @@
...
@@ -2489,7 +2429,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
7
"__id__": 2
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2503,7 +2443,7 @@
...
@@ -2503,7 +2443,7 @@
"__uuid__": "4a11e302-ced0-4bf8-bdc3-baf51bf64c3a"
"__uuid__": "4a11e302-ced0-4bf8-bdc3-baf51bf64c3a"
},
},
"_type": 1,
"_type": 1,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2521,7 +2461,7 @@
...
@@ -2521,7 +2461,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
7
"__id__": 2
5
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2548,7 +2488,7 @@
...
@@ -2548,7 +2488,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
6
"__id__": 2
4
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2626,28 +2566,28 @@
...
@@ -2626,28 +2566,28 @@
"__id__": 13
"__id__": 13
},
},
"ProgressBar": {
"ProgressBar": {
"__id__": 2
7
"__id__": 2
5
},
},
"playButton": {
"playButton": {
"__id__": 3
7
"__id__": 3
5
},
},
"pauseButton": {
"pauseButton": {
"__id__": 4
4
"__id__": 4
2
},
},
"restartButton": null,
"restartButton": null,
"backButton": null,
"backButton": null,
"forwardButton": null,
"forwardButton": null,
"durationLabel": {
"durationLabel": {
"__id__": 5
2
"__id__": 5
0
},
},
"currentTimeLabel": {
"currentTimeLabel": {
"__id__": 4
8
"__id__": 4
6
},
},
"barTag": {
"barTag": {
"__id__": 2
9
"__id__": 2
7
},
},
"bar": {
"bar": {
"__id__": 2
8
"__id__": 2
6
},
},
"_id": "ec0d87qy5Eoavi5EqUiZj3"
"_id": "ec0d87qy5Eoavi5EqUiZj3"
}
}
...
...
assets/cartoon_video/Scene/cartoon_video.js
View file @
229d6e20
...
@@ -388,12 +388,16 @@ cc.Class({
...
@@ -388,12 +388,16 @@ cc.Class({
},
},
play
(){
play
(){
const
{
width
,
height
}
=
cc
.
find
(
`Canvas/bg`
);
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`
).
active
=
false
;
cc
.
find
(
`Canvas/bgwhite`
).
active
=
false
;
cc
.
find
(
`Canvas/bgwhite`
).
active
=
false
;
cc
.
find
(
`Canvas/bg_empty`
).
active
=
false
;
cc
.
find
(
`Canvas/bg_empty`
).
active
=
false
;
cc
.
find
(
`Canvas/video_node`
).
opacity
=
255
;
cc
.
find
(
'
Canvas/video_node/bg
'
).
width
=
width
;
cc
.
find
(
'
Canvas/video_node/bg
'
).
height
=
height
;
this
.
videoPlayer
.
node
.
x
=
0
;
this
.
videoPlayer
.
node
.
y
=
0
;
// this.videoPlayer.node.active = true;
// this.videoPlayer.node.active = true;
this
.
videoPlayer
.
play
();
this
.
videoPlayer
.
play
();
this
.
triggerInteractive
()
this
.
triggerInteractive
()
...
...
assets/cartoon_video/Script/defaultData.js
View file @
229d6e20
export
const
defaultData
=
{
export
const
defaultData
=
{
"
video_url
"
:
"
http
s://iplayabc-teach-yun-test.oss-cn-beijing.aliyuncs.com/movie2
.mp4
"
"
video_url
"
:
"
http
://staging-teach.cdn.ireadabc.com/1dde63cee33e4445fbab13297479e733
.mp4
"
}
}
\ No newline at end of file
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