整理代码,关闭大量小程序的按键自动重复

This commit is contained in:
MrZ626
2021-03-11 18:33:57 +08:00
parent 2ebf8f5941
commit 974f2b823c
9 changed files with 28 additions and 4 deletions

View File

@@ -64,6 +64,10 @@ function scene.sceneInit()
gc.setLineJoin("bevel")
BGM.play("push")
BG.set("none")
love.keyboard.setKeyRepeat(false)
end
function scene.sceneBack()
love.keyboard.setKeyRepeat(true)
end
function scene.touchDown(x)