Simultaneous Touch IDs

0 favourites
  • 2 posts
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • Can someone outline for me the steps needed to get the different IDs for two different touches that occur simultaneously?

    I have two large invisible sprites, each set to width = layout.width/2. If the player touches on the left side of the screen, this creates an on-screen control. If the player touches the right side of the screen, this creates a different on-screen control.

    You can check out what I currently have here: Icarus. Note that you have to be playing on a tablet or mobile device to test both touch controls.

    What I have sort-of works right now, but when I add the second touch, the on-screen control shows up where the first touch is, causing both controls to overlap.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have my debug box active in the live version at the moment. It updates every tick to show the LeftTouchID and RightTouchID.

    As you can see if you try the game, the touch IDs are never assigned. Touch.TouchID does not seem to be working. Could this be a bug?

    <img src="http://i.imgur.com/Vl1s0Hj.png" border="0" />

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