Hi, just an update on this
I bought one of them touch screen all-in-one pc yesterday (bank holidays kill me, i always spending cash on stuff i dont really need - but i have to have!), found moving a sprite with my finger did a similar thing to the ipad. When holding my finger on the screen the sprites jump position slightly then returns, even when my finger is perfectly still the sprite flickers to different positions below your finger. On the touch screen pc the flicker / movement is not as much as on my ipad (which sometimes flicks to the other side of the screen and back) - on the pc the flicker is very slight, but still enough to be off putting.
As its now happened on two different devices, there is only one conclusion - it must be a problem with my fingers.!
so i come up with some emergency code late last night. It may not be the best code in the world - it was late, but it seems to have stabilised the movement / stopped the flickering happening (on the touch screen pc anyway - cant test on ipad at moment as my IOS player has stopped working)
i need to retain the mouse functions as i test my game on other non-touch screen pc's. but on the touch screen i can now use mouse or finger.
i've popped the code below in case anyone else has the same issue.
do
if GetPointerPressed() = 1
spriteid = getspritehitgroup (0,getpointerx(),getpointery())
diffx = getpointerx()-getspritex(spriteid)
diffy = getpointery()-getspritey(spriteid)
endif
touchID = GetRawFirstTouchEvent(1)
if touchid > 0
x# = GetRawTouchCurrentX( touchID )
y# = GetRawTouchCurrentY( touchID )
else
if GetRawMouseLeftState() = 1
x# = GetRawMouseX()
y# = GetRawMouseY()
endif
endif
setspriteposition (spriteid,x#-diffx,y#-diffy)
if GetPointerReleased() = 1
spriteid = 0
endif
Sync()
loop