麻将小程序添加触屏控制

This commit is contained in:
MrZ626
2021-12-31 16:40:36 +08:00
parent d1581b1efe
commit cdb19179f3

View File

@@ -103,6 +103,9 @@ end
function scene.mouseDown()
_throwCard()
end
function scene.touchMove(x,y)scene.mouseMove(x,y)end
function scene.touchDown(x,y)scene.mouseMove(x,y)end
function scene.touchClick(x,y)scene.mouseDown(x,y)end
function scene.keyDown(key)
if key=='left'then
if selected then