Commit d88643fc authored by spc's avatar spc

modified: src/xiaoxiaole/XxlConfig.ts

parent 43483a7c
export const config = {
//倒计时时间s
time: 120,
time: 12,
//3关分数
first: 1000,
second: 2000,
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment