Touch plugin bug when updating touch coords

0 favourites
  • 4 posts
From the Asset Store
Surena Touch
$2.50 USD
A wrap from official Touch plugin to export touch/mouse input to other plugins.
  • Better to show example:

    gamepad.com.au/examples/games/TouchBug

    This is simple Sprite with Drag and Drop behavior.

    Try to drag with mouse and then with touch (developer mode, any phone or tablet simulator)

    You will see difference: when exactly sprites is getting new coordinates when started moving.

    With mouse it is perfect.

    But with touch, cursor (circle) should travel some distance (hope it is half touch radius) until it starts updating coords. You can see how sprite jumps (once in the beginning) when you try to drag it with touch.

    Try move as slow as possible to see exact issue.

    Touch coords is disabled once you move cursor withing touch radius, even if move a lot (circular movements)

    Cannot solve this issue, faced it in few projects.

    Thank you for any advice.

    Example src file: gamepad.com.au/scirra/TouchBug.capx

    gamepad.com.au/scirra/TouchBugC3.c3p

  • Better to show example:

    https://gamepad.com.au/examples/games/TouchBug/

    This is simple Sprite with Drag and Drop behavior.

    Try to drag with mouse and then with touch (developer mode, any phone or tablet simulator)

    You will see difference: when exactly sprites is getting new coordinates when started moving.

    With mouse it is perfect.

    But with touch, cursor (circle) should travel some distance (hope it is half touch radius) until it starts updating coords. You can see how sprite jumps (once in the beginning) when you try to drag it with touch.

    Try move as slow as possible to see exact issue.

    Touch coords is disabled once you move cursor withing touch radius, even if move a lot (circular movements)

    Cannot solve this issue, faced it in few projects.

    Thank you for any advice.

    Please follow the Bug report REQUIREMENTS if you want this to be investigated by Ashley or he will likely just close this.

    Thanks

  • Can't reproduce on a HTC 10: even very small touch movements are tracked by the drag & drop behavior. There is no minimum distance implemented in our engine, but it's possible some types of touchscreen require a small amount of movement before it starts registering a moving touch. I presume this is the issue, so closing.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • it resgisters touch movement itself immediately but gives real TouchX and TouchY only when you left touch radius

    Tested on Android 4.4.2 Samsung Note 3 9005

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)