OK, so i want to be able to drag the mobile UI up and down with a finger.
The game is heavy on tapping, it's pretty much ALL UI.
Problem is, if you tap your fingers quickly in multiple places, the screen jerks up and down rapidly.
Run my sample code, and broadcast to a mobile device, and tap 2 fingers back and forth, to see what i mean.
So what i need is a way to ignore those kind of taps, but still allowing dragging.
HALP?!
s=1
for t=-5 to 15
inc s
createsprite(s,0)
setspritesize(s,500,200)
setspriteposition(s,random(0,5)*20,t*300)
next t
SetViewZoomMode(1)
Yoff=0
do
` bad screen drag thing:
if GetPointerState()>0
if oldy<>0
dy=(oldy-getpointery())
Yoff=Yoff+dy
SetViewOffset(0,Yoff)
oldy=getpointery()
else
oldy=getpointery()
endif
else
oldy=0
endif
` END bad screen drag
SetViewOffset(0,Yoff)
sync()
loop
Thanks,
Bob