整理代码,修复新的彩蛋模式触屏进不去

This commit is contained in:
MrZ626
2021-09-27 00:31:56 +08:00
parent 702abbf7b1
commit f2ffdc9e58
8 changed files with 14 additions and 29 deletions

View File

@@ -149,8 +149,8 @@ function scene.mouseUp(_,_,k)
end
function scene.touchDown(x,y)scene.mouseDown(x,y,1)end
function scene.touchMove(x,y)scene.mouseMove(x,y)end
function scene.touchUp(x,y)scene.mouseUp(x,y,1)end
scene.touchMove=scene.mouseMove
function scene.keyDown(key)
if key=="up"or key=="down"or key=="left"or key=="right"then