Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
wildfirecode13
xiaoxiaole
Commits
efbba2f5
Commit
efbba2f5
authored
Jan 19, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f1dde60f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
18 deletions
+19
-18
index.html
egret/index.html
+2
-2
loading.jpg
egret/resource/assets/loading.jpg
+0
-0
startscenebg.jpg
egret/resource/assets/startScene/startscenebg.jpg
+0
-0
loading_animals.svga
egret/resource/assets/svgas/loading_animals.svga
+0
-0
StartSkin.exml
egret/resource/skins/StartSkin.exml
+11
-10
ElementType.ts
egret/src/something/enum/ElementType.ts
+5
-5
StartScene.ts
egret/src/startScene/StartScene.ts
+1
-1
No files found.
egret/index.html
View file @
efbba2f5
...
...
@@ -18,8 +18,8 @@
background-repeat
:
no-repeat
;
background-color
:
#000
;
background-size
:
100%
;
background-position
:
top
;
background-image
:
url("
https://yun.duiba.com.cn/db_games/activity/game/1577351394
/resource/assets/startScene/startscenebg.jpg")
;
background-position
:
center
;
background-image
:
url("
//localhost:8080/egret
/resource/assets/startScene/startscenebg.jpg")
;
padding
:
0
;
border
:
0
;
margin
:
0
;
...
...
egret/resource/assets/loading.jpg
View replaced file @
f1dde60f
View file @
efbba2f5
89.2 KB
|
W:
|
H:
162 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/startScene/startscenebg.jpg
View replaced file @
f1dde60f
View file @
efbba2f5
740 KB
|
W:
|
H:
206 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/svgas/loading_animals.svga
View file @
efbba2f5
No preview for this file type
egret/resource/skins/StartSkin.exml
View file @
efbba2f5
...
...
@@ -3,10 +3,11 @@
<w:Config
id=
"16705cb4eec"
/>
<e:Label
id=
"FZY3JW"
text=
" "
y=
"1048"
textColor=
"0x244B00"
fontFamily=
"FZY3JW"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Label
id=
"FZY4JW"
text=
" "
y=
"1048"
textColor=
"0x244B00"
fontFamily=
"FZY4JW"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Component
id=
"bg"
width=
"750"
height=
"1624"
/>
<e:Component
id=
"container2"
width=
"20"
height=
"20"
x=
"0"
y=
"0"
/>
<e:Component
id=
"container1"
width=
"20"
height=
"20"
x=
"0"
y=
"160"
/>
<e:Group
x=
"140"
y=
"944.67"
>
<e:Component
id=
"bg"
width=
"750"
height=
"1624"
verticalCenter=
"0"
/>
<e:Component
id=
"container2"
x=
"0"
width=
"750"
height=
"1624"
verticalCenter=
"0"
/>
<e:Component
id=
"container1"
x=
"0"
width=
"750"
height=
"1624"
verticalCenter=
"240"
/>
<e:Group
verticalCenter=
"475"
width=
"750"
x=
"0"
>
<e:Group
y=
"30.94"
x=
"140"
>
<e:Image
source=
"loadingbg_png"
y=
"0"
x=
"0"
/>
<e:Group
id=
"maskwrapper"
x=
"14.56"
y=
"7.14"
locked=
"true"
>
<e:Group
id=
"container4"
x=
"0"
y=
"0"
>
...
...
@@ -17,7 +18,7 @@
</e:Group>
<e:Image
id=
"progressmask2"
y=
"9.14"
x=
"16"
source=
"mask2_png"
width=
"444"
height=
"60"
scaleX=
"1"
/>
</e:Group>
<e:Image
source=
"头顶树丛_png"
x=
"0"
y=
"0"
visible=
"false
"
/>
<e:Label
id=
"tips"
text=
"正在加载中,请稍后"
y=
"913.73"
horizontalCenter=
"0"
size=
"24"
textColor=
"0x00000
0"
/>
<
e:Label
id=
"percentTxt"
text=
"63%"
y=
"1030.73"
horizontalCenter=
"0.5"
textColor=
"0x000000"
/
>
<e:Label
id=
"tips"
text=
"正在加载中,请稍后"
y=
"0"
size=
"24"
textColor=
"0xfcd364"
horizontalCenter=
"0
"
/>
<e:Label
id=
"percentTxt"
text=
"63%"
y=
"117"
textColor=
"0xfcd364"
horizontalCenter=
"
0"
/>
<
/e:Group
>
</e:Skin>
\ No newline at end of file
egret/src/something/enum/ElementType.ts
View file @
efbba2f5
...
...
@@ -191,11 +191,11 @@ export const submitTran = {
6
:
3
,
9
:
2
,
10
:
10
,
22
:
1
0
,
23
:
1
0
,
24
:
1
0
,
25
:
1
0
,
26
:
1
0
22
:
1
1
,
23
:
1
2
,
24
:
1
3
,
25
:
1
4
,
26
:
1
5
}
// SCORE(1, "分数"),
...
...
egret/src/startScene/StartScene.ts
View file @
efbba2f5
...
...
@@ -24,6 +24,7 @@ export default class StartScene extends Scene {
async
start
(
data
?)
{
super
.
start
();
this
.
height
=
this
.
stage
.
stageHeight
;
if
(
data
)
this
.
level
=
data
.
level
;
this
[
'container1'
].
x
=
20
;
...
...
@@ -34,7 +35,6 @@ export default class StartScene extends Scene {
this
[
'percentTxt'
].
text
=
`0%`
;
const
index
=
Math
.
floor
(
Math
.
random
()
*
list
.
length
);
this
[
'tips'
].
text
=
list
[
index
];
// setGlow(this['tips'], 0xffffff, 1);
console
.
log
(
data
);
if
(
data
&&
Array
.
isArray
(
data
))
{
this
[
'container3'
].
addChild
(
data
[
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