Set angle toward touch works on browser but not phone.

Get help using Construct 2

Post » Mon Feb 24, 2014 9:15 pm

So when I run this in my browser it works as I want it to / would expect.

The character moves towards where the latest touch is on screen (up until the touch reaches a certain point where the player defaults to up or down or left and right... that still works on both).

Unfortunately on the phone, the player moves towards what looks like 0,0 on the layout, which makes me think when it's trying to look for the touch there's nothing there?

Not really sure what's going on.

Here's the CAPX : mediafire.com/?s6u3cd3drbhd0g7
B
5
S
1
Posts: 24
Reputation: 423

Post » Mon Feb 24, 2014 9:30 pm

Hrm. I fixed it. I was using touch.XforID when I should have been using touch.Xat. :3

Not sure why it worked in my browser though regardless. :/
B
5
S
1
Posts: 24
Reputation: 423


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests