Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qiaqia_qx
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
邱旭
qiaqia_qx
Commits
d1adc856
Commit
d1adc856
authored
Jun 03, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
2b7e615e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
19 deletions
+43
-19
workspace.xml
.idea/workspace.xml
+25
-19
LoadingScene.ts
src/scenes/LoadingScene.ts
+18
-0
No files found.
.idea/workspace.xml
View file @
d1adc856
...
...
@@ -3,8 +3,6 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"31be0130-d27d-4740-b668-956a8050e1bf"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/parts/Game/Effects/BirthEffect.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/parts/Game/Effects/BirthEffect.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scenes/GameScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scenes/GameScene.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scenes/LoadingScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scenes/LoadingScene.ts"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -85,9 +83,9 @@
</configuration>
<recent_temporary>
<list>
<item
itemvalue=
"npm.dev"
/>
<item
itemvalue=
"npm.handleRes"
/>
<item
itemvalue=
"npm.flushRes"
/>
<item
itemvalue=
"npm.dev"
/>
</list>
</recent_temporary>
</component>
...
...
@@ -104,7 +102,8 @@
<workItem
from=
"1590749939792"
duration=
"84000"
/>
<workItem
from=
"1590976087296"
duration=
"15316000"
/>
<workItem
from=
"1590996860067"
duration=
"14333000"
/>
<workItem
from=
"1591062735465"
duration=
"26724000"
/>
<workItem
from=
"1591062735465"
duration=
"27334000"
/>
<workItem
from=
"1591148883764"
duration=
"476000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"1"
>
<created>
1591003912929
</created>
...
...
@@ -134,7 +133,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1591099412217
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"5"
/>
<task
id=
"LOCAL-00005"
summary=
"111"
>
<created>
1591101112588
</created>
<option
name=
"number"
value=
"00005"
/>
<option
name=
"presentableId"
value=
"LOCAL-00005"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1591101112588
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"6"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -147,40 +153,40 @@
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"111"
/>
</component>
<component
name=
"WindowStateProjectService"
>
<state
x=
"467"
y=
"108"
key=
"CommitChangelistDialog2"
timestamp=
"1591
09941193
5"
>
<state
x=
"467"
y=
"108"
key=
"CommitChangelistDialog2"
timestamp=
"1591
10111210
5"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
<state
x=
"466"
y=
"108"
key=
"CommitChangelistDialog2/35.23.1645.1027/1680.-199.1920.1177@35.23.1645.1027"
timestamp=
"1591003912498"
/>
<state
x=
"467"
y=
"108"
key=
"CommitChangelistDialog2/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
09941193
5"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1591
099896058
"
>
<state
x=
"467"
y=
"108"
key=
"CommitChangelistDialog2/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
10111210
5"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1591
107083854
"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
<state
width=
"499"
height=
"907"
key=
"GridCell.Tab.0.bottom/35.23.1645.1027/1680.-199.1920.1177@35.23.1645.1027"
timestamp=
"1591065953118"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.bottom/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
099896058
"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.center"
timestamp=
"1591
099896058
"
>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.bottom/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
107083854
"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.center"
timestamp=
"1591
107083851
"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
<state
width=
"499"
height=
"907"
key=
"GridCell.Tab.0.center/35.23.1645.1027/1680.-199.1920.1177@35.23.1645.1027"
timestamp=
"1591065953116"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.center/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
099896058
"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.left"
timestamp=
"1591
099896055
"
>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.center/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
107083851
"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.left"
timestamp=
"1591
107083851
"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
<state
width=
"499"
height=
"907"
key=
"GridCell.Tab.0.left/35.23.1645.1027/1680.-199.1920.1177@35.23.1645.1027"
timestamp=
"1591065953114"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.left/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
099896055
"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.right"
timestamp=
"1591
099896058
"
>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.left/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
107083851
"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.right"
timestamp=
"1591
107083852
"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
<state
width=
"499"
height=
"907"
key=
"GridCell.Tab.0.right/35.23.1645.1027/1680.-199.1920.1177@35.23.1645.1027"
timestamp=
"1591065953118"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.right/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
099896058
"
/>
<state
width=
"303"
height=
"907"
key=
"GridCell.Tab.0.right/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
107083852
"
/>
<state
x=
"615"
y=
"245"
key=
"RollbackChangesDialog"
timestamp=
"1591077661188"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
<state
x=
"614"
y=
"245"
key=
"RollbackChangesDialog/35.23.1645.1027/1680.-199.1920.1177@35.23.1645.1027"
timestamp=
"1590993046653"
/>
<state
x=
"615"
y=
"245"
key=
"RollbackChangesDialog/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591077661188"
/>
<state
x=
"457"
y=
"276"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"1591
099413476
"
>
<state
x=
"457"
y=
"276"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"1591
101114140
"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
<state
x=
"457"
y=
"276"
key=
"Vcs.Push.Dialog.v2/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
099413476
"
/>
<state
x=
"457"
y=
"276"
key=
"Vcs.Push.Dialog.v2/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"1591
101114140
"
/>
<state
x=
"564"
y=
"285"
width=
"587"
height=
"502"
key=
"find.popup"
timestamp=
"1591099201430"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
...
...
@@ -189,10 +195,10 @@
<screen
x=
"35"
y=
"23"
width=
"1645"
height=
"1027"
/>
</state>
<state
x=
"586"
y=
"314"
key=
"refactoring.ChangeSignatureDialog/35.23.1645.1027/1680.-199.1920.1177@35.23.1645.1027"
timestamp=
"1590980819551"
/>
<state
x=
"523"
y=
"250"
width=
"670"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"15911
00526463
"
>
<state
x=
"523"
y=
"250"
width=
"670"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"15911
49243614
"
>
<screen
x=
"37"
y=
"23"
width=
"1643"
height=
"1027"
/>
</state>
<state
x=
"522"
y=
"250"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/35.23.1645.1027/1680.-199.1920.1177@35.23.1645.1027"
timestamp=
"1591066027960"
/>
<state
x=
"523"
y=
"250"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"15911
00526463
"
/>
<state
x=
"523"
y=
"250"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/37.23.1643.1027/1680.-199.1920.1177@37.23.1643.1027"
timestamp=
"15911
49243614
"
/>
</component>
</project>
\ No newline at end of file
src/scenes/LoadingScene.ts
View file @
d1adc856
...
...
@@ -11,6 +11,7 @@ import SceneCtrl from "../../module/ctrls/sceneCtrl";
import
{
GameScene
}
from
"./GameScene"
;
import
OptionPool
from
"../const/OptionPool"
;
import
PlantEffectPool
from
"../const/PlantEffectPool"
;
import
TextField
=
FYGE
.
TextField
;
export
class
LoadingScene
extends
Scene
{
...
...
@@ -24,6 +25,7 @@ export class LoadingScene extends Scene {
private
progressBar
:
Container
;
private
progressMask
:
Graphics
;
private
progressFill
:
Sprite
;
private
tips
:
TextField
;
initUi
()
{
this
.
addChild
(
Tool
.
getSprite
(
'loading_bg.jpg'
));
...
...
@@ -55,6 +57,13 @@ export class LoadingScene extends Scene {
this
.
progressMask
.
drawRect
(
38
,
10
,
464
,
56
);
this
.
progressFill
.
mask
=
this
.
progressMask
;
// tips
this
.
tips
=
this
.
addChild
(
new
TextField
());
this
.
tips
.
text
=
'正在加载中,请稍后'
;
this
.
tips
.
size
=
24
;
this
.
tips
.
fillColor
=
'#244b00'
;
this
.
tips
.
position
.
set
((
this
.
width
-
this
.
tips
.
textWidth
)
/
2
,
1260
);
}
start
()
{
...
...
@@ -68,6 +77,10 @@ export class LoadingScene extends Scene {
OptionPool
.
ins
;
PlantEffectPool
.
ins
;
Tween
.
get
(
this
.
tips
,
{
loop
:
true
})
.
to
({
alpha
:
0.5
},
500
,
Ease
.
quadInOut
)
.
to
({
alpha
:
1
},
500
,
Ease
.
quadInOut
);
this
.
titleEffect
().
call
(()
=>
{
this
.
startLoading
().
call
(()
=>
{
SceneCtrl
.
instance
.
change
(
GameScene
);
...
...
@@ -104,5 +117,10 @@ export class LoadingScene extends Scene {
}
public
destroy
()
{
super
.
destroy
();
Tween
.
removeTweens
(
this
.
tips
);
}
}
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