整理代码,略微调整小游戏dtw的交互
This commit is contained in:
@@ -12,13 +12,12 @@ local speed=0
|
||||
local maxSpeed=260
|
||||
|
||||
function scene.sceneInit()
|
||||
BG.set("grey")
|
||||
BGM.play("push")
|
||||
love.keyboard.setKeyRepeat(false)
|
||||
|
||||
lastKey=nil
|
||||
speed=0
|
||||
keyTime={}for i=1,20 do keyTime[i]=-1e99 end
|
||||
love.keyboard.setKeyRepeat(false)
|
||||
BG.set("grey")
|
||||
BGM.play("push")
|
||||
end
|
||||
function scene.sceneBack()
|
||||
love.keyboard.setKeyRepeat(true)
|
||||
|
||||
Reference in New Issue
Block a user