Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
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
new_taobao
Commits
d88643fc
Commit
d88643fc
authored
Oct 12, 2020
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: src/xiaoxiaole/XxlConfig.ts
parent
43483a7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
XxlConfig.ts
project/src/canvas/game/src/xiaoxiaole/XxlConfig.ts
+1
-1
XxlScene.ts
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
+3
-1
No files found.
project/src/canvas/game/src/xiaoxiaole/XxlConfig.ts
View file @
d88643fc
export
const
config
=
{
//倒计时时间s
time
:
12
0
,
time
:
12
,
//3关分数
first
:
1000
,
second
:
2000
,
...
...
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
View file @
d88643fc
...
...
@@ -1133,7 +1133,6 @@ export class XxlScene extends Scene {
async
reset
()
{
this
.
selectItems
.
splice
(
0
)
this
.
refresh
()
this
.
isGameEnd
=
false
this
.
isGameStart
=
false
this
.
userScore
=
0
...
...
@@ -1151,6 +1150,9 @@ export class XxlScene extends Scene {
//时间初始化
this
.
timeNum
=
config
.
time
this
.
time
.
text
=
this
.
timeNum
+
""
//关卡难度初始化
this
.
difficulty
=
config
.
difficulty
this
.
refresh
()
if
(
config
.
time
>=
100
)
{
...
...
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