Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg29_museum
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
dg29_museum
Commits
4f795494
Commit
4f795494
authored
Dec 22, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理视频中
parent
c15a4b45
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
33 additions
and
11 deletions
+33
-11
dg18_tianci.fire
assets/dg18_tianci/scene/dg18_tianci.fire
+8
-8
dg18_tianci.ts
assets/dg18_tianci/scene/dg18_tianci.ts
+4
-1
video_player_dg18_tianci.ts
assets/dg18_tianci/scene/video_player_dg18_tianci.ts
+0
-1
A_Macro_dg18_tianci.ts
assets/dg18_tianci/script/A_Macro_dg18_tianci.ts
+2
-0
A_Macro_dg18_tianci.ts.meta
assets/dg18_tianci/script/A_Macro_dg18_tianci.ts.meta
+9
-0
CoCosMacro_dg18_tianci.js
assets/dg18_tianci/script/CoCosMacro_dg18_tianci.js
+1
-0
CoCosMacro_dg18_tianci.js.meta
assets/dg18_tianci/script/CoCosMacro_dg18_tianci.js.meta
+9
-0
MyCocosSceneComponent_dg18_tianci.ts
...s/dg18_tianci/script/MyCocosSceneComponent_dg18_tianci.ts
+0
-1
No files found.
assets/dg18_tianci/scene/dg18_tianci.fire
View file @
4f795494
...
...
@@ -236,7 +236,7 @@
},
"_enabled": true,
"_cullingMask": 4294967295,
"_clearFlags":
7
,
"_clearFlags":
6
,
"_backgroundColor": {
"__type__": "cc.Color",
"r": 0,
...
...
@@ -1147,7 +1147,7 @@
"__id__": 2
},
"_children": [],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__": 26
...
...
@@ -1245,7 +1245,7 @@
"__id__": 28
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__": 30
...
...
@@ -1433,7 +1433,7 @@
"__id__": 2
},
"_children": [],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__": 32
...
...
@@ -1544,7 +1544,7 @@
"__id__": 48
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [],
"_prefab": null,
"_opacity": 255,
...
...
@@ -2600,7 +2600,7 @@
"__id__": 57
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__": 61
...
...
@@ -3007,7 +3007,7 @@
"__id__": 66
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [],
"_prefab": null,
"_opacity": 255,
...
...
@@ -3257,7 +3257,7 @@
"__id__": 69
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [],
"_prefab": null,
"_opacity": 255,
...
...
assets/dg18_tianci/scene/dg18_tianci.ts
View file @
4f795494
import
macro
from
'
../script/A_Macro_dg18_tianci
'
import
{
asyncDelay
,
onHomeworkFinish
}
from
"
../script/util_dg18_tianci
"
;
import
{
MyCocosSceneComponent
}
from
"
../script/MyCocosSceneComponent_dg18_tianci
"
;
import
pg
from
"
./pg_dg18_tianci
"
;
...
...
@@ -290,8 +291,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
setTimeout
(()
=>
{
this
.
videoPlayer
.
node
.
x
=
0
;
this
.
videoPlayer
.
node
.
y
=
0
;
this
.
videoPlayer
.
stayOnBottom
=
true
;
},
3
000
);
},
2
000
);
// this.time1 = setTimeout(() => {
...
...
assets/dg18_tianci/scene/video_player_dg18_tianci.ts
View file @
4f795494
...
...
@@ -19,7 +19,6 @@ export default class NewClass extends cc.Component {
// LIFE-CYCLE CALLBACKS:
onLoad
()
{
cc
.
macro
.
ENABLE_TRANSPARENT_CANVAS
=
true
}
start
()
{
...
...
assets/dg18_tianci/script/A_Macro_dg18_tianci.ts
0 → 100644
View file @
4f795494
cc
.
macro
.
ENABLE_TRANSPARENT_CANVAS
=
true
;
export
default
{}
\ No newline at end of file
assets/dg18_tianci/script/A_Macro_dg18_tianci.ts.meta
0 → 100644
View file @
4f795494
{
"ver": "1.0.8",
"uuid": "52ac7c65-4054-4c43-8346-d4ceeb6f6151",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
assets/dg18_tianci/script/CoCosMacro_dg18_tianci.js
0 → 100644
View file @
4f795494
cc
.
macro
.
ENABLE_TRANSPARENT_CANVAS
=
true
;
\ No newline at end of file
assets/dg18_tianci/script/CoCosMacro_dg18_tianci.js.meta
0 → 100644
View file @
4f795494
{
"ver": "1.0.8",
"uuid": "a2572a3f-29aa-40d9-a9c2-0033862838e6",
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
assets/dg18_tianci/script/MyCocosSceneComponent_dg18_tianci.ts
View file @
4f795494
...
...
@@ -4,7 +4,6 @@ export class MyCocosSceneComponent extends cc.Component {
// 生命周期 onLoad
onLoad
()
{
cc
.
macro
.
ENABLE_TRANSPARENT_CANVAS
=
true
;
this
.
initSceneData
();
this
.
initSize
();
}
...
...
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