麻将小程序添加触屏控制
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user