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
Expand all
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
This diff is collapsed.
Click to expand it.
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