整理代码,关闭大量小程序的按键自动重复
This commit is contained in:
@@ -18,6 +18,10 @@ function scene.sceneInit()
|
||||
ex,ey=626,260
|
||||
BG.set("matrix")
|
||||
BGM.play("way")
|
||||
love.keyboard.setKeyRepeat(false)
|
||||
end
|
||||
function scene.sceneBack()
|
||||
love.keyboard.setKeyRepeat(true)
|
||||
end
|
||||
|
||||
function scene.keyDown(key)
|
||||
|
||||
Reference in New Issue
Block a user