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
734492a0
Commit
734492a0
authored
Dec 31, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
控件ui更换完毕
parent
44a8fae4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
220 additions
and
121 deletions
+220
-121
dg29_museum.fire
assets/dg29_museum/scene/dg29_museum.fire
+218
-121
videoCtrl_DG16.ts
assets/dg29_museum/script/ui/videoCtrl_DG16.ts
+2
-0
No files found.
assets/dg29_museum/scene/dg29_museum.fire
View file @
734492a0
...
...
@@ -84,22 +84,22 @@
"__id__": 151
},
{
"__id__": 18
1
"__id__": 18
3
},
{
"__id__": 20
1
"__id__": 20
3
}
],
"_active": true,
"_components": [
{
"__id__": 20
3
"__id__": 20
5
},
{
"__id__": 20
4
"__id__": 20
6
},
{
"__id__": 20
5
"__id__": 20
7
}
],
"_prefab": null,
...
...
@@ -5554,22 +5554,22 @@
"__id__": 152
},
{
"__id__": 1
58
"__id__": 1
60
},
{
"__id__": 16
2
"__id__": 16
4
}
],
"_active": true,
"_components": [
{
"__id__": 1
78
"__id__": 1
80
},
{
"__id__": 1
79
"__id__": 1
81
},
{
"__id__": 18
0
"__id__": 18
2
}
],
"_prefab": null,
...
...
@@ -5630,18 +5630,21 @@
"_children": [
{
"__id__": 153
},
{
"__id__": 155
}
],
"_active": true,
"_components": [
{
"__id__": 15
5
"__id__": 15
7
},
{
"__id__": 15
6
"__id__": 15
8
},
{
"__id__": 15
7
"__id__": 15
9
}
],
"_prefab": null,
...
...
@@ -5655,8 +5658,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
18
0,
"height":
18
0
"width":
9
0,
"height":
9
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5667,8 +5670,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-8
40
,
-4
00
,
-8
33.906
,
-4
58.762
,
0,
0,
0,
...
...
@@ -5717,8 +5720,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
180
,
"height":
180
"width":
44
,
"height":
52
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5752,7 +5755,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
6ck/9SMhxH+LsrVNCS7Y63
"
"_id": "
8bHT1nlx5DNaX2mAKeeOgj
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -5770,7 +5773,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
fd424e5d-3c81-48a8-ad3a-da73d317554
e"
"__uuid__": "
727d5c88-6ea7-45d0-a80e-2d7710ba95d
e"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -5784,14 +5787,76 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "83WT2/xfNHLonWY8cW++NM"
"_id": "79hOR4VZVGPIPyK//Kk7in"
},
{
"__type__": "cc.Node",
"_name": "play",
"_objFlags": 0,
"_parent": {
"__id__": 152
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 156
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 57,
"height": 69
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
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": "48lCgApe5DdpKY7LOmC2dN"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
2
"__id__": 15
5
},
"_enabled": true,
"_materials": [
...
...
@@ -5802,7 +5867,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
6173cb60-eda6-4d76-866f-e15500700d0c
"
"__uuid__": "
8873f3b1-e9c5-4d2d-9951-fb34b5e4275d
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -5816,6 +5881,38 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6a25yOMPtIHLazAjifgIn3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6173cb60-eda6-4d76-866f-e15500700d0c"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "642vxS1V5HT4xGmbZiZ55s"
},
{
...
...
@@ -5829,10 +5926,10 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 12,
"_left":
50
,
"_left":
101.09400000000005
,
"_right": 0,
"_top": 0,
"_bottom":
50
,
"_bottom":
36.238
,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
...
...
@@ -5922,13 +6019,13 @@
},
"_children": [
{
"__id__": 1
59
"__id__": 1
61
}
],
"_active": false,
"_components": [
{
"__id__": 16
1
"__id__": 16
3
}
],
"_prefab": null,
...
...
@@ -5984,13 +6081,13 @@
"_name": "stop",
"_objFlags": 0,
"_parent": {
"__id__": 1
58
"__id__": 1
60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
0
"__id__": 16
2
}
],
"_prefab": null,
...
...
@@ -6046,7 +6143,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
59
"__id__": 1
61
},
"_enabled": true,
"_materials": [
...
...
@@ -6078,7 +6175,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
58
"__id__": 1
60
},
"_enabled": true,
"_materials": [
...
...
@@ -6113,9 +6210,6 @@
"__id__": 151
},
"_children": [
{
"__id__": 163
},
{
"__id__": 165
},
...
...
@@ -6123,22 +6217,25 @@
"__id__": 167
},
{
"__id__": 1
71
"__id__": 1
69
},
{
"__id__": 173
},
{
"__id__": 175
}
],
"_active": true,
"_components": [
{
"__id__": 17
5
"__id__": 17
7
},
{
"__id__": 17
6
"__id__": 17
8
},
{
"__id__": 17
7
"__id__": 17
9
}
],
"_prefab": null,
...
...
@@ -6152,7 +6249,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
124
,
"width": 1
388
,
"height": 12
},
"_anchorPoint": {
...
...
@@ -6164,8 +6261,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-
56
2,
-
384
,
-
749.40
2,
-
465.695
,
0,
0,
0,
...
...
@@ -6194,13 +6291,13 @@
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 16
2
"__id__": 16
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
4
"__id__": 16
6
}
],
"_prefab": null,
...
...
@@ -6256,7 +6353,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
3
"__id__": 16
5
},
"_enabled": true,
"_materials": [
...
...
@@ -6288,13 +6385,13 @@
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 16
2
"__id__": 16
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
6
"__id__": 16
8
}
],
"_prefab": null,
...
...
@@ -6350,7 +6447,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
5
"__id__": 16
7
},
"_enabled": true,
"_materials": [
...
...
@@ -6382,17 +6479,17 @@
"_name": "Handle",
"_objFlags": 0,
"_parent": {
"__id__": 16
2
"__id__": 16
4
},
"_children": [
{
"__id__": 1
68
"__id__": 1
70
}
],
"_active": true,
"_components": [
{
"__id__": 17
0
"__id__": 17
2
}
],
"_prefab": null,
...
...
@@ -6448,13 +6545,13 @@
"_name": "Handle copy",
"_objFlags": 0,
"_parent": {
"__id__": 16
7
"__id__": 16
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
69
"__id__": 1
71
}
],
"_prefab": null,
...
...
@@ -6468,8 +6565,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
84
,
"height":
84
"width":
56
,
"height":
56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6481,7 +6578,7 @@
"ctor": "Float64Array",
"array": [
0,
-8.334
,
0.145
,
0,
0,
0,
...
...
@@ -6510,7 +6607,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
68
"__id__": 1
70
},
"_enabled": true,
"_materials": [
...
...
@@ -6521,7 +6618,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
a6134d05-8bf8-4016-8203-c1ca575777b4
"
"__uuid__": "
8a399ec0-aa9c-4fe5-b990-a4355ddc9caf
"
},
"_type": 1,
"_sizeMode": 2,
...
...
@@ -6542,7 +6639,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
7
"__id__": 16
9
},
"_enabled": true,
"_normalMaterial": {
...
...
@@ -6617,7 +6714,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 16
7
"__id__": 16
9
},
"_id": "b6AurW2UZMu6klj5I0iivx"
},
...
...
@@ -6626,13 +6723,13 @@
"_name": "lb_time1",
"_objFlags": 0,
"_parent": {
"__id__": 16
2
"__id__": 16
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
2
"__id__": 17
4
}
],
"_prefab": null,
...
...
@@ -6658,8 +6755,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-93.204
,
0
,
1469.179
,
7.559
,
0,
0,
0,
...
...
@@ -6688,7 +6785,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
1
"__id__": 17
3
},
"_enabled": true,
"_materials": [
...
...
@@ -6721,13 +6818,13 @@
"_name": "lb_time2",
"_objFlags": 0,
"_parent": {
"__id__": 16
2
"__id__": 16
4
},
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 17
4
"__id__": 17
6
}
],
"_prefab": null,
...
...
@@ -6753,8 +6850,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1
253.551
,
0
,
1
468.23
,
-38.165
,
0,
0,
0,
...
...
@@ -6783,7 +6880,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
3
"__id__": 17
5
},
"_enabled": true,
"_materials": [
...
...
@@ -6816,13 +6913,13 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
2
"__id__": 16
4
},
"_enabled": true,
"direction": 0,
"slideEvents": [],
"_N$handle": {
"__id__": 17
0
"__id__": 17
2
},
"_N$progress": 0.2,
"_id": "94vlNB86NGBo0zzT7ycqox"
...
...
@@ -6832,7 +6929,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
2
"__id__": 16
4
},
"_enabled": true,
"_materials": [
...
...
@@ -6843,7 +6940,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6
efc57c6-7ec8-4726-abb4-3ffe18ed7454
"
"__uuid__": "6
67a35fb-fe5c-44cf-b101-6623785e1786
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -6864,7 +6961,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
2
"__id__": 16
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -6873,9 +6970,9 @@
"_left": 454.086,
"_right": 0,
"_top": 0,
"_bottom":
150
,
"_bottom":
68.305
,
"_verticalCenter": 0,
"_horizontalCenter":
0
,
"_horizontalCenter":
-55.402000000000044
,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
...
...
@@ -6925,19 +7022,19 @@
"__id__": 152
},
"vidoStateIcon": {
"__id__": 1
58
"__id__": 1
60
},
"vidoSlider": {
"__id__": 17
5
"__id__": 17
7
},
"playbar": {
"__id__": 16
5
"__id__": 16
7
},
"nowTime": {
"__id__": 17
2
"__id__": 17
4
},
"totalTime": {
"__id__": 17
4
"__id__": 17
6
},
"_id": "40uKOXbmdKqIs73UDwwRGu"
},
...
...
@@ -6960,13 +7057,13 @@
},
"_children": [
{
"__id__": 18
2
"__id__": 18
4
},
{
"__id__": 18
7
"__id__": 18
9
},
{
"__id__": 1
88
"__id__": 1
90
}
],
"_active": true,
...
...
@@ -7024,14 +7121,14 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 18
1
"__id__": 18
3
},
"_children": [
{
"__id__": 18
3
"__id__": 18
5
},
{
"__id__": 18
5
"__id__": 18
7
}
],
"_active": true,
...
...
@@ -7089,13 +7186,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 18
2
"__id__": 18
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
4
"__id__": 18
6
}
],
"_prefab": null,
...
...
@@ -7151,7 +7248,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
3
"__id__": 18
5
},
"_enabled": true,
"_materials": [
...
...
@@ -7186,13 +7283,13 @@
"_name": "MuliBold",
"_objFlags": 0,
"_parent": {
"__id__": 18
2
"__id__": 18
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
6
"__id__": 18
8
}
],
"_prefab": null,
...
...
@@ -7248,7 +7345,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
5
"__id__": 18
7
},
"_enabled": true,
"_materials": [
...
...
@@ -7283,7 +7380,7 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 18
1
"__id__": 18
3
},
"_children": [],
"_active": true,
...
...
@@ -7341,12 +7438,9 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 18
1
"__id__": 18
3
},
"_children": [
{
"__id__": 189
},
{
"__id__": 191
},
...
...
@@ -7361,6 +7455,9 @@
},
{
"__id__": 199
},
{
"__id__": 201
}
],
"_active": true,
...
...
@@ -7418,13 +7515,13 @@
"_name": "dispear",
"_objFlags": 0,
"_parent": {
"__id__": 1
88
"__id__": 1
90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
0
"__id__": 19
2
}
],
"_prefab": null,
...
...
@@ -7480,7 +7577,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
89
"__id__": 1
91
},
"_enabled": true,
"_clip": {
...
...
@@ -7499,13 +7596,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 1
88
"__id__": 1
90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
2
"__id__": 19
4
}
],
"_prefab": null,
...
...
@@ -7561,7 +7658,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
1
"__id__": 19
3
},
"_enabled": true,
"_clip": {
...
...
@@ -7580,13 +7677,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 1
88
"__id__": 1
90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
4
"__id__": 19
6
}
],
"_prefab": null,
...
...
@@ -7642,7 +7739,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
3
"__id__": 19
5
},
"_enabled": true,
"_clip": {
...
...
@@ -7661,13 +7758,13 @@
"_name": "lose",
"_objFlags": 0,
"_parent": {
"__id__": 1
88
"__id__": 1
90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
6
"__id__": 19
8
}
],
"_prefab": null,
...
...
@@ -7723,7 +7820,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
5
"__id__": 19
7
},
"_enabled": true,
"_clip": {
...
...
@@ -7742,13 +7839,13 @@
"_name": "win",
"_objFlags": 0,
"_parent": {
"__id__": 1
88
"__id__": 1
90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
198
"__id__":
200
}
],
"_prefab": null,
...
...
@@ -7804,7 +7901,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
7
"__id__": 19
9
},
"_enabled": true,
"_clip": {
...
...
@@ -7823,13 +7920,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 1
88
"__id__": 1
90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
0
"__id__": 20
2
}
],
"_prefab": null,
...
...
@@ -7885,7 +7982,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
199
"__id__":
201
},
"_enabled": true,
"_clip": {
...
...
@@ -7910,7 +8007,7 @@
"_active": true,
"_components": [
{
"__id__": 20
2
"__id__": 20
4
}
],
"_prefab": null,
...
...
@@ -7966,7 +8063,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
1
"__id__": 20
3
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -8051,7 +8148,7 @@
"__id__": 151
},
"touchlayer": {
"__id__": 20
1
"__id__": 20
3
},
"root_game": {
"__id__": 143
...
...
assets/dg29_museum/script/ui/videoCtrl_DG16.ts
View file @
734492a0
...
...
@@ -71,11 +71,13 @@ export default class videoCtrl extends cc.Component {
setCanPlay
()
{
this
.
btn_vido
.
getChildByName
(
"
stop
"
).
active
=
false
;
this
.
btn_vido
.
getChildByName
(
"
play
"
).
active
=
true
;
this
.
vidoStateIcon
.
getChildByName
(
"
stop
"
).
active
=
false
;
}
setCanStop
()
{
this
.
btn_vido
.
getChildByName
(
"
stop
"
).
active
=
true
this
.
btn_vido
.
getChildByName
(
"
play
"
).
active
=
false
;
this
.
vidoStateIcon
.
getChildByName
(
"
stop
"
).
active
=
true
;
}
onClickBtn
()
{
...
...
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