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
254f14b8
Commit
254f14b8
authored
Jun 17, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1111
parent
1abe8895
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
12906 deletions
+42
-12906
.gitignore
.gitignore
+2
-0
workspace.xml
.idea/workspace.xml
+32
-42
output.js
output.js
+0
-12857
ShopPanel.ts
src/panels/ShopPanel.ts
+1
-5
GuideLayer.ts
src/parts/Game/GuideLayer.ts
+1
-1
ProgressBar.ts
src/parts/Game/ProgressBar.ts
+0
-1
LoadingScene.ts
src/scenes/LoadingScene.ts
+6
-0
No files found.
.gitignore
View file @
254f14b8
...
...
@@ -2,3 +2,5 @@
node_modules
./released
.DS_Store
output.js
output.js.map
.idea/workspace.xml
View file @
254f14b8
This diff is collapsed.
Click to expand it.
output.js
deleted
100644 → 0
View file @
1abe8895
This diff is collapsed.
Click to expand it.
src/panels/ShopPanel.ts
View file @
254f14b8
...
...
@@ -233,12 +233,8 @@ function MGet() {
return
MPool
.
splice
(
0
,
1
)[
0
]
||
new
ShopItemExchangeInfo
();
}
function
MPush
(
obj
:
ShopItemExchangeInfo
)
{
export
function
MPush
(
obj
:
ShopItemExchangeInfo
)
{
MPool
.
push
(
obj
);
}
for
(
let
i
=
0
;
i
<=
20
;
i
++
)
{
MPush
(
new
ShopItemExchangeInfo
());
}
src/parts/Game/GuideLayer.ts
View file @
254f14b8
...
...
@@ -52,7 +52,7 @@ export default class GuideLayer extends Container {
super
();
this
.
bg
=
this
.
addChild
(
new
FYGE
.
Graphics
());
this
.
bg
.
beginFill
(
0
,
1
);
this
.
bg
.
beginFill
(
0
x000000
,
1
);
this
.
bg
.
drawRect
(
0
,
0
,
750
,
1624
);
this
.
bg
.
endFill
();
this
.
bg
.
alpha
=
0
;
...
...
src/parts/Game/ProgressBar.ts
View file @
254f14b8
...
...
@@ -105,7 +105,6 @@ export default class ProgressBar extends Container {
setTimeout
(()
=>
{
this
.
hidden
();
},
500
);
this
.
dispatchEvent
(
'endTime'
);
}
},
1000
);
...
...
src/scenes/LoadingScene.ts
View file @
254f14b8
...
...
@@ -16,6 +16,7 @@ import Ease = FYGE.Ease;
import
Graphics
=
FYGE
.
Graphics
;
import
TextField
=
FYGE
.
TextField
;
import
{
GuideScene
}
from
"./GuideScene"
;
import
{
MPush
,
ShopItemExchangeInfo
}
from
"../panels/ShopPanel"
;
export
class
LoadingScene
extends
Scene
{
...
...
@@ -143,6 +144,11 @@ export class LoadingScene extends Scene {
SceneCtrl
.
instance
.
change
(
gameInfo
.
guideIsEnd
?
GameScene
:
GuideScene
);
});
});
for
(
let
i
=
0
;
i
<=
20
;
i
++
)
{
MPush
(
new
ShopItemExchangeInfo
());
}
}
start
()
{
...
...
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