Touch Identity

0 favourites
  • 5 posts
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • Ashley responded to me in this thread:

    the 'on touch end' event takes a zero-based index of a touch, but you're passing the touch ID which is an arbitrary number uniquely identifying a touch.

    <img src="https://dl.dropbox.com/u/10196246/Origin.JPG" border="0">

    I think he means that the problem is 'on touch end' expects a specific numeric index (number of touches) but I'm passing it the random unique number of the puck.

    I thought this line was saying "when the specific touch on this puck ends" but apparently not.

    Does anyone know of a way to say that?

  • Changing it to "is touching puck" (inverted) makes the behaviour occur in preview mode. (Before, it would only be seen on a touchscreen). Getting closer I guess.

    TouchID

  • I may have solved it. Adding what happens when touch speed is less than 100 seemed to do it.

    <img src="https://dl.dropbox.com/u/10196246/touchid%20solution.JPG" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you perhaps still have that example, i cant download it because the link gives me a dead end ^^;

    Im trying to get something similar to what you described here to work, but i cant really grasp the concept of how to control a sprite with a specific ID of a touch.

  • The link above should work now.

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