Passing correct X/Y coordinates of multy touch?

Get help using Construct 2

Post » Tue Jun 25, 2013 10:14 am

Hi guys

I am testing a touch control set up and I have two question.

Even I got it mostly working as I wanted, I am not clear how the multi touch pass on coordinates. Here is an example of the touch objects position. Problem is that if I first touch the jump object and keep holding it while I try to move player immediately (by touching direction object) to right(side of the screen) it acts incorrectly and jumps to left.

If you have chance to test .capx with touch screen to replicate an issue, touch and keep touching jump, while immediately trying to go with player to right side of the screen, it will jump left.
I am using cocoonJS on iPhone 4 to test it.

My best guess is that, when I touch Direction object, it still passes ordinates of the first touch whatever it was. So how do I do it so it passes the coordinates of the touch that is touching direction object, where it is first, second or third couch.

Oh and other question, can I use one touch UI layer for different layouts or I have to set it up with events so its get created same on start of each layout?

Thanks guys. enyon2013-06-25 10:24:07
Posts: 37
Reputation: 732

Return to How do I....?

Who is online

Users browsing this forum: mistia, TGSBRD and 3 guests