Commit 90bc30e8 authored by Master Q's avatar Master Q

第一版修改

parent cae287e2
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
canvas.height = document.body.clientHeight * (window.devicePixelRatio || 1) canvas.height = document.body.clientHeight * (window.devicePixelRatio || 1)
var main = new Main(canvas, { var main = new Main(canvas, {
isNewGuy: true, isNewGuy: true,
debug: true, debug: false,
musicSwitchDefault: false musicSwitchDefault: false
}); });
var mouseEvent = main.stage.onMouseEvent.bind(main.stage); var mouseEvent = main.stage.onMouseEvent.bind(main.stage);
......
...@@ -66,7 +66,7 @@ export class ConveyorBelt extends FYGE.Container { ...@@ -66,7 +66,7 @@ export class ConveyorBelt extends FYGE.Container {
isMove: boolean = false // 是否已经开始 isMove: boolean = false // 是否已经开始
clock: Clock clock: Clock
conveyorItems: Array<ConveyorBeltItemConstruct> = [] conveyorItems: Array<ConveyorBeltItemConstruct> = []
scaleEndProportion: number = 0.5 scaleEndProportion: number = 0.3
_config: ConveyorItemConfig _config: ConveyorItemConfig
totalTy: number = 0 // 一共走了多少距离 计算分数 totalTy: number = 0 // 一共走了多少距离 计算分数
updateScore: Function updateScore: Function
......
...@@ -32,7 +32,7 @@ export const GameDiffConfig: GameDiffConfigType = (function() { ...@@ -32,7 +32,7 @@ export const GameDiffConfig: GameDiffConfigType = (function() {
speed: 330, speed: 330,
}, },
{ {
mileage: 200, mileage: 2200,
proportion: [0.1,0.7,1], proportion: [0.1,0.7,1],
speed: 500, speed: 500,
} }
......
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