好东西,我用了,但现在有个问题请教一下,我想实现游戏里点屏幕左边,就一直向左滑动,直到点屏幕其他地方停止滑动。点屏幕右边就向右边滑动,直到点屏幕其他地方停止滑动。该怎么写,谢谢Import "shanhai.lua"
Dim arrXY, x, y
Delay 3000
rem a
arrXY = ShanHai.Coordinate(GetScreenX(), GetScreenY(), 10)
x = arrXY(0) : y = arrXY(1)
Delay 1000
do
If X<300 and y<480 then
Swipe 150,450,1050,450,1000
elseIf X>800 and Y<480
Swipe 1050,450,150,450,1000
else goto a
End If
Loop