Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_DG
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
middleLayer_for_DG
Commits
7108c116
Commit
7108c116
authored
Nov 02, 2022
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改加载页设计
parent
40a19edc
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
473 additions
and
50 deletions
+473
-50
progressScript.js
assets/middleLayer_for_DG/prefab/js/progressScript.js
+3
-6
middleLayer_for_DG.fire
assets/middleLayer_for_DG/scene/middleLayer_for_DG.fire
+326
-44
dg_bg_progress.png
assets/middleLayer_for_DG/textures/dg_bg_progress.png
+0
-0
dg_bg_progress.png.meta
assets/middleLayer_for_DG/textures/dg_bg_progress.png.meta
+36
-0
dg_progress.png
assets/middleLayer_for_DG/textures/dg_progress.png
+0
-0
dg_progress.png.meta
assets/middleLayer_for_DG/textures/dg_progress.png.meta
+36
-0
dige_bg.png
assets/middleLayer_for_DG/textures/dige_bg.png
+0
-0
dige_bg.png.meta
assets/middleLayer_for_DG/textures/dige_bg.png.meta
+36
-0
logo.png
assets/middleLayer_for_DG/textures/logo.png
+0
-0
logo.png.meta
assets/middleLayer_for_DG/textures/logo.png.meta
+36
-0
No files found.
assets/middleLayer_for_DG/prefab/js/progressScript.js
View file @
7108c116
...
...
@@ -54,19 +54,16 @@ cc.Class({
},
setProgress
(
progress
)
{
setTimeout
(()
=>
{
if
(
!
this
.
barSf
)
{
return
;
}
const
w
=
this
.
barBaseW
*
progress
;
const
rect
=
this
.
barSf
.
getRect
();
rect
.
width
=
w
;
// const rect = this.barSf.getRect();
// rect.width = w;
this
.
bar
.
width
=
w
;
this
.
barSpr
.
spriteFrame
.
setRect
(
rect
);
//
this.barSpr.spriteFrame.setRect(rect);
},
1
);
},
// update (dt) {},
});
assets/middleLayer_for_DG/scene/middleLayer_for_DG.fire
View file @
7108c116
...
...
@@ -299,22 +299,25 @@
"__id__": 9
},
{
"__id__": 1
1
"__id__": 1
2
},
{
"__id__":
21
"__id__":
14
},
{
"__id__": 23
"__id__": 28
},
{
"__id__": 30
}
],
"_active": true,
"_components": [
{
"__id__":
25
"__id__":
32
},
{
"__id__":
26
"__id__":
33
}
],
"_prefab": null,
...
...
@@ -367,7 +370,7 @@
},
{
"__type__": "cc.Node",
"_name": "
layout
",
"_name": "
bg
",
"_objFlags": 0,
"_parent": {
"__id__": 8
...
...
@@ -377,6 +380,130 @@
"_components": [
{
"__id__": 10
},
{
"__id__": 11
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "257PAYiXZOZ6+dZT3NxWNJ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4dc12c19-1fc3-47ba-b2b4-70db9d7117fa"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e6sbErr+RGV4FeODZxsZYQ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1920,
"_originalHeight": 1080,
"_id": "05puSIk+dIBKoq8maVGGP2"
},
{
"__type__": "cc.Node",
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
}
],
"_prefab": null,
...
...
@@ -432,7 +559,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
9
"__id__":
12
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -468,16 +595,19 @@
},
"_children": [
{
"__id__": 12
"__id__": 15
},
{
"__id__": 18
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__":
19
"__id__":
26
},
{
"__id__": 2
0
"__id__": 2
7
}
],
"_prefab": null,
...
...
@@ -528,29 +658,156 @@
"groupIndex": 0,
"_id": "74vmJ2zBBM+bb8ymP3WkKK"
},
{
"__type__": "cc.Node",
"_name": "logo",
"_objFlags": 0,
"_parent": {
"__id__": 14
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 17
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 466,
"height": 292
},
"_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": "3fM6uFXcFLaYbQhswIEd2h"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c1b69609-010b-4b03-a828-a5151d20deaf"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "67pRrjf7NDP4aLeNChWH0X"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_left": 1133.5,
"_right": 3400.5,
"_top": 2289.462,
"_bottom": 2418.538,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 466,
"_originalHeight": 292,
"_id": "29kmlZlX5BIqelGKzjDdHe"
},
{
"__type__": "cc.Node",
"_name": "progress",
"_objFlags": 0,
"_parent": {
"__id__": 1
1
"__id__": 1
4
},
"_children": [
{
"__id__": 1
3
"__id__": 1
9
}
],
"_active": true,
"_components": [
{
"__id__":
16
"__id__":
22
},
{
"__id__": 17
"__id__": 23
},
{
"__id__": 24
}
],
"_prefab": {
"__id__":
18
"__id__":
25
},
"_opacity": 255,
"_color": {
...
...
@@ -562,8 +819,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
51
1,
"height":
45
"width":
116
1,
"height":
81
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -574,8 +831,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-
255
.5,
-
138.77
,
-
580
.5,
-
200
,
0,
0,
0,
...
...
@@ -604,17 +861,17 @@
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 1
2
"__id__": 1
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
14
"__id__":
20
}
],
"_prefab": {
"__id__":
15
"__id__":
21
},
"_opacity": 255,
"_color": {
...
...
@@ -626,8 +883,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
490
,
"height":
26
"width":
1148
,
"height":
70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -638,8 +895,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
11.627
,
4.096
,
4.627000000000001
,
0.453
,
0,
0,
0,
...
...
@@ -668,7 +925,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
3
"__id__": 1
9
},
"_enabled": true,
"_materials": [
...
...
@@ -679,9 +936,9 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
c8263dcf-d226-41b6-8cea-42be19fdb92
a"
"__uuid__": "
2efad969-f259-40fc-bbfe-7d6f3cc610a
a"
},
"_type":
0
,
"_type":
1
,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
...
...
@@ -698,7 +955,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
2
"__id__": 1
8
},
"asset": {
"__uuid__": "3d356c4d-cb23-4239-aa5f-8a913f420fa4"
...
...
@@ -711,7 +968,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
2
"__id__": 1
8
},
"_enabled": true,
"_materials": [
...
...
@@ -722,7 +979,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
a72e2ca1-5791-4a3f-8a09-5e73e061b76a
"
"__uuid__": "
863771ab-1fe7-442b-90a5-2ddada7dcd8f
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -743,15 +1000,42 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
2
"__id__": 1
8
},
"_enabled": true,
"_id": "3eMT/DXoJNGZT/8Z3nuTUH"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": -200,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "d6Ppg9c8dAeY6b8VGFwPaY"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
2
"__id__": 1
8
},
"asset": {
"__uuid__": "3d356c4d-cb23-4239-aa5f-8a913f420fa4"
...
...
@@ -764,7 +1048,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
1
"__id__": 1
4
},
"_enabled": true,
"_materials": [
...
...
@@ -774,9 +1058,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
...
...
@@ -796,7 +1078,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
1
"__id__": 1
4
},
"_enabled": true,
"_id": "d9Sm5lOKBAxKufJF2Q8Nr8"
...
...
@@ -812,7 +1094,7 @@
"_active": false,
"_components": [
{
"__id__": 2
2
"__id__": 2
9
}
],
"_prefab": null,
...
...
@@ -868,7 +1150,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
1
"__id__": 2
8
},
"_enabled": true,
"_materials": [
...
...
@@ -906,7 +1188,7 @@
"_active": false,
"_components": [
{
"__id__":
24
"__id__":
31
}
],
"_prefab": null,
...
...
@@ -962,7 +1244,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
23
"__id__":
30
},
"_enabled": true,
"_id": "c8RSZKHRJO95/RfIMIkSA5"
...
...
assets/middleLayer_for_DG/textures/dg_bg_progress.png
0 → 100644
View file @
7108c116
4.21 KB
assets/middleLayer_for_DG/textures/dg_bg_progress.png.meta
0 → 100644
View file @
7108c116
{
"ver": "2.3.5",
"uuid": "698f4e75-4b92-48eb-9058-811032a42347",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1161,
"height": 81,
"platformSettings": {},
"subMetas": {
"dg_bg_progress": {
"ver": "1.0.4",
"uuid": "863771ab-1fe7-442b-90a5-2ddada7dcd8f",
"rawTextureUuid": "698f4e75-4b92-48eb-9058-811032a42347",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1161,
"height": 81,
"rawWidth": 1161,
"rawHeight": 81,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/middleLayer_for_DG/textures/dg_progress.png
0 → 100644
View file @
7108c116
3.73 KB
assets/middleLayer_for_DG/textures/dg_progress.png.meta
0 → 100644
View file @
7108c116
{
"ver": "2.3.5",
"uuid": "a655a8d9-db58-4d3b-8362-dab087360507",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1148,
"height": 70,
"platformSettings": {},
"subMetas": {
"dg_progress": {
"ver": "1.0.4",
"uuid": "2efad969-f259-40fc-bbfe-7d6f3cc610aa",
"rawTextureUuid": "a655a8d9-db58-4d3b-8362-dab087360507",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1148,
"height": 70,
"rawWidth": 1148,
"rawHeight": 70,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 39,
"borderRight": 53,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/middleLayer_for_DG/textures/dige_bg.png
0 → 100644
View file @
7108c116
169 KB
assets/middleLayer_for_DG/textures/dige_bg.png.meta
0 → 100644
View file @
7108c116
{
"ver": "2.3.5",
"uuid": "d07b9085-9fd8-4731-ac90-43bd545118f4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1080,
"platformSettings": {},
"subMetas": {
"dige_bg": {
"ver": "1.0.4",
"uuid": "4dc12c19-1fc3-47ba-b2b4-70db9d7117fa",
"rawTextureUuid": "d07b9085-9fd8-4731-ac90-43bd545118f4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 1080,
"rawWidth": 1920,
"rawHeight": 1080,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/middleLayer_for_DG/textures/logo.png
0 → 100644
View file @
7108c116
120 KB
assets/middleLayer_for_DG/textures/logo.png.meta
0 → 100644
View file @
7108c116
{
"ver": "2.3.5",
"uuid": "7ac5d82a-f9bb-4fc2-be2a-0f47c7846f04",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 466,
"height": 292,
"platformSettings": {},
"subMetas": {
"logo": {
"ver": "1.0.4",
"uuid": "c1b69609-010b-4b03-a828-a5151d20deaf",
"rawTextureUuid": "7ac5d82a-f9bb-4fc2-be2a-0f47c7846f04",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 466,
"height": 292,
"rawWidth": 466,
"rawHeight": 292,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ 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