Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg_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
dg_video
Commits
86364e5b
Commit
86364e5b
authored
Nov 02, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更换提示位置
parent
689cb710
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
200 additions
and
200 deletions
+200
-200
.DS_Store
.DS_Store
+0
-0
dg_video.fire
assets/dg_video/Scene/dg_video.fire
+190
-190
dg_video.js
assets/dg_video/Scene/dg_video.js
+1
-1
text_tips.png
assets/dg_video/Texture/video/text_tips.png
+0
-0
text_tips.png.meta
assets/dg_video/Texture/video/text_tips.png.meta
+9
-9
No files found.
.DS_Store
View file @
86364e5b
No preview for this file type
assets/dg_video/Scene/dg_video.fire
View file @
86364e5b
...
...
@@ -90,13 +90,16 @@
"__id__": 28
},
{
"__id__": 7
6
"__id__": 7
4
},
{
"__id__": 10
6
"__id__": 10
4
},
{
"__id__": 111
"__id__": 109
},
{
"__id__": 112
}
],
"_active": true,
...
...
@@ -1258,10 +1261,10 @@
"__id__": 31
},
{
"__id__": 6
6
"__id__": 6
4
},
{
"__id__":
71
"__id__":
69
}
],
"_active": true,
...
...
@@ -1433,18 +1436,15 @@
},
{
"__id__": 59
},
{
"__id__": 62
}
],
"_active": true,
"_components": [
{
"__id__": 6
4
"__id__": 6
2
},
{
"__id__": 6
5
"__id__": 6
3
}
],
"_prefab": null,
...
...
@@ -2824,100 +2824,6 @@
"_originalHeight": 0,
"_id": "eaEgqRSfZHC4HlsZG+u5Ih"
},
{
"__type__": "cc.Node",
"_name": "text_tips",
"_objFlags": 0,
"_parent": {
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 235,
"height": 116
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-83.07,
109.589,
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": "97xxyP9tlIDauk/ycRdi02"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c4ea6240-75df-47f8-aa4e-e77c1ac4806e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4eSLHdRBRFyp08vEy+C7J3"
},
{
"__type__": "cc.Sprite",
"_name": "",
...
...
@@ -2978,13 +2884,13 @@
"_active": true,
"_components": [
{
"__id__": 6
7
"__id__": 6
5
},
{
"__id__": 6
8
"__id__": 6
6
},
{
"__id__": 6
9
"__id__": 6
7
}
],
"_prefab": null,
...
...
@@ -3040,7 +2946,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
6
"__id__": 6
4
},
"_enabled": true,
"_materials": [
...
...
@@ -3072,7 +2978,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
6
"__id__": 6
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -3099,7 +3005,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
6
"__id__": 6
4
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3108,7 +3014,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__":
70
"__id__":
68
}
],
"_N$interactable": true,
...
...
@@ -3187,13 +3093,13 @@
"_active": false,
"_components": [
{
"__id__": 7
2
"__id__": 7
0
},
{
"__id__": 7
3
"__id__": 7
1
},
{
"__id__": 7
4
"__id__": 7
2
}
],
"_prefab": null,
...
...
@@ -3249,7 +3155,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
71
"__id__":
69
},
"_enabled": true,
"_materials": [
...
...
@@ -3281,7 +3187,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
71
"__id__":
69
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -3308,7 +3214,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
71
"__id__":
69
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3317,7 +3223,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 7
5
"__id__": 7
3
}
],
"_N$interactable": true,
...
...
@@ -3394,16 +3300,16 @@
},
"_children": [
{
"__id__": 7
7
"__id__": 7
5
}
],
"_active": true,
"_components": [
{
"__id__": 10
4
"__id__": 10
2
},
{
"__id__": 10
5
"__id__": 10
3
}
],
"_prefab": null,
...
...
@@ -3459,17 +3365,17 @@
"_name": "view",
"_objFlags": 0,
"_parent": {
"__id__": 7
6
"__id__": 7
4
},
"_children": [
{
"__id__": 7
8
"__id__": 7
6
}
],
"_active": true,
"_components": [
{
"__id__": 10
3
"__id__": 10
1
}
],
"_prefab": null,
...
...
@@ -3525,17 +3431,17 @@
"_name": "content",
"_objFlags": 0,
"_parent": {
"__id__": 7
7
"__id__": 7
5
},
"_children": [
{
"__id__": 7
9
"__id__": 7
7
}
],
"_active": true,
"_components": [
{
"__id__": 10
2
"__id__": 10
0
}
],
"_prefab": null,
...
...
@@ -3591,23 +3497,23 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 7
8
"__id__": 7
6
},
"_children": [
{
"__id__":
80
"__id__":
78
},
{
"__id__": 8
8
"__id__": 8
6
},
{
"__id__": 9
8
"__id__": 9
6
}
],
"_active": false,
"_components": [
{
"__id__":
100
"__id__":
98
}
],
"_prefab": null,
...
...
@@ -3663,23 +3569,23 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 7
9
"__id__": 7
7
},
"_children": [
{
"__id__":
81
"__id__":
79
},
{
"__id__": 8
3
"__id__": 8
1
},
{
"__id__": 8
5
"__id__": 8
3
}
],
"_active": true,
"_components": [
{
"__id__": 8
7
"__id__": 8
5
}
],
"_prefab": null,
...
...
@@ -3735,13 +3641,13 @@
"_name": "cover_bg",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
78
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
2
"__id__": 8
0
}
],
"_prefab": null,
...
...
@@ -3797,7 +3703,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
81
"__id__":
79
},
"_enabled": true,
"_materials": [
...
...
@@ -3829,13 +3735,13 @@
"_name": "num",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
78
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
4
"__id__": 8
2
}
],
"_prefab": null,
...
...
@@ -3849,7 +3755,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
36.36
,
"width":
42.12
,
"height": 45.36
},
"_anchorPoint": {
...
...
@@ -3891,7 +3797,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
1
},
"_enabled": true,
"_materials": [
...
...
@@ -3926,13 +3832,13 @@
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
78
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
6
"__id__": 8
4
}
],
"_prefab": null,
...
...
@@ -3988,7 +3894,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
5
"__id__": 8
3
},
"_enabled": true,
"_materials": [
...
...
@@ -4023,7 +3929,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
80
"__id__":
78
},
"_enabled": true,
"_materials": [
...
...
@@ -4055,9 +3961,12 @@
"_name": "item_active",
"_objFlags": 0,
"_parent": {
"__id__": 7
9
"__id__": 7
7
},
"_children": [
{
"__id__": 87
},
{
"__id__": 89
},
...
...
@@ -4066,15 +3975,12 @@
},
{
"__id__": 93
},
{
"__id__": 95
}
],
"_active": false,
"_components": [
{
"__id__": 9
7
"__id__": 9
5
}
],
"_prefab": null,
...
...
@@ -4130,13 +4036,13 @@
"_name": "cover_bg",
"_objFlags": 0,
"_parent": {
"__id__": 8
8
"__id__": 8
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
90
"__id__":
88
}
],
"_prefab": null,
...
...
@@ -4192,7 +4098,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
9
"__id__": 8
7
},
"_enabled": true,
"_materials": [
...
...
@@ -4224,13 +4130,13 @@
"_name": "num",
"_objFlags": 0,
"_parent": {
"__id__": 8
8
"__id__": 8
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
2
"__id__": 9
0
}
],
"_prefab": null,
...
...
@@ -4286,7 +4192,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
91
"__id__":
89
},
"_enabled": true,
"_materials": [
...
...
@@ -4321,13 +4227,13 @@
"_name": "img_audio_ske",
"_objFlags": 0,
"_parent": {
"__id__": 8
8
"__id__": 8
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
4
"__id__": 9
2
}
],
"_prefab": null,
...
...
@@ -4383,7 +4289,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
3
"__id__": 9
1
},
"_enabled": true,
"_materials": [
...
...
@@ -4423,13 +4329,13 @@
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 8
8
"__id__": 8
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
6
"__id__": 9
4
}
],
"_prefab": null,
...
...
@@ -4485,7 +4391,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
3
},
"_enabled": true,
"_materials": [
...
...
@@ -4520,7 +4426,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
8
"__id__": 8
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4552,13 +4458,13 @@
"_name": "cover",
"_objFlags": 0,
"_parent": {
"__id__": 7
9
"__id__": 7
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
9
"__id__": 9
7
}
],
"_prefab": null,
...
...
@@ -4614,7 +4520,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
8
"__id__": 9
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4646,7 +4552,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
9
"__id__": 7
7
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -4655,7 +4561,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__":
101
"__id__":
99
}
],
"_N$interactable": true,
...
...
@@ -4711,7 +4617,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 7
9
"__id__": 7
7
},
"_id": "3dj3ADC/hLFruCaVj3/4i+"
},
...
...
@@ -4730,7 +4636,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
8
"__id__": 7
6
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -4762,7 +4668,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
7
"__id__": 7
5
},
"_enabled": true,
"_materials": [
...
...
@@ -4782,7 +4688,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
6
"__id__": 7
4
},
"_enabled": true,
"_materials": [
...
...
@@ -4812,7 +4718,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
6
"__id__": 7
4
},
"_enabled": true,
"horizontal": false,
...
...
@@ -4824,10 +4730,10 @@
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 7
8
"__id__": 7
6
},
"content": {
"__id__": 7
8
"__id__": 7
6
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null,
...
...
@@ -4844,13 +4750,13 @@
"_active": true,
"_components": [
{
"__id__": 10
7
"__id__": 10
5
},
{
"__id__": 10
8
"__id__": 10
6
},
{
"__id__": 1
10
"__id__": 1
08
}
],
"_prefab": null,
...
...
@@ -4906,7 +4812,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
6
"__id__": 10
4
},
"_enabled": true,
"_materials": [
...
...
@@ -4938,7 +4844,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
6
"__id__": 10
4
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -4947,7 +4853,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 10
9
"__id__": 10
7
}
],
"_N$interactable": true,
...
...
@@ -5003,7 +4909,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 10
6
"__id__": 10
4
},
"_id": "061nio61NCY59bxanik7WY"
},
...
...
@@ -5022,7 +4928,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
6
"__id__": 10
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -5055,10 +4961,10 @@
"_active": true,
"_components": [
{
"__id__": 11
2
"__id__": 11
0
},
{
"__id__": 11
3
"__id__": 11
1
}
],
"_prefab": null,
...
...
@@ -5114,7 +5020,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
11
"__id__": 1
09
},
"_enabled": true,
"_materials": [
...
...
@@ -5147,7 +5053,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
11
"__id__": 1
09
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -5169,6 +5075,100 @@
"_originalHeight": 0,
"_id": "d6uElD7YpDSqbgj6JRUBgC"
},
{
"__type__": "cc.Node",
"_name": "text_tips",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 113
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 248,
"height": 109
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-300.398,
192.721,
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": "97xxyP9tlIDauk/ycRdi02"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c4ea6240-75df-47f8-aa4e-e77c1ac4806e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4eSLHdRBRFyp08vEy+C7J3"
},
{
"__type__": "cc.Canvas",
"_name": "",
...
...
assets/dg_video/Scene/dg_video.js
View file @
86364e5b
...
...
@@ -436,7 +436,7 @@ cc.Class({
return
;
}
const
{
width
,
height
}
=
cc
.
find
(
`Canvas/bg`
);
cc
.
find
(
`Canvas/
Controls/ProgressBar/
text_tips`
).
active
=
false
;
cc
.
find
(
`Canvas/text_tips`
).
active
=
false
;
cc
.
find
(
`Canvas/bg`
).
active
=
false
;
cc
.
find
(
`Canvas/bgwhite`
).
active
=
false
;
cc
.
find
(
`Canvas/bg_video_shadow`
).
active
=
false
;
...
...
assets/dg_video/Texture/video/text_tips.png
View replaced file @
689cb710
View file @
86364e5b
6.71 KB
|
W:
|
H:
6.91 KB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/dg_video/Texture/video/text_tips.png.meta
View file @
86364e5b
...
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2
35
,
"height": 1
16
,
"width": 2
80
,
"height": 1
25
,
"platformSettings": {},
"subMetas": {
"text_tips": {
...
...
@@ -19,13 +19,13 @@
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY":
0
,
"trimX":
0
,
"trimY":
0
,
"width": 2
35
,
"height": 1
16
,
"rawWidth": 2
35
,
"rawHeight": 1
16
,
"offsetY":
-1
,
"trimX":
16
,
"trimY":
9
,
"width": 2
48
,
"height": 1
09
,
"rawWidth": 2
80
,
"rawHeight": 1
25
,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
...
...
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