Touch with direction

Get help using Construct 2

Post » Fri Sep 07, 2012 2:25 pm

Is there a way in Construct 2 to detect is the user is sweeping up, left, right, etc?
I have a character I want to move using only touch detection.
B
35
S
4
G
5
Posts: 84
Reputation: 4,860

Post » Fri Sep 07, 2012 2:41 pm

The latest beta (r102) supports getting the touch angle.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Fri Sep 07, 2012 3:43 pm

Corr! Really? I built my own method for doing this so I can do it with a mouse too, but I'm still on the last stable 95. Really looking forward to the next stable so I can move my project onto the next level!!!
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 963
Reputation: 10,721

Post » Sun Sep 09, 2012 1:58 am

So i think you have to make angle ranges to make only 4 directions?
Thanks Ashley
B
35
S
4
G
5
Posts: 84
Reputation: 4,860

Post » Sun Sep 09, 2012 3:11 am

@skyhunter93, you can do that manually very simply.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Sun Sep 09, 2012 10:15 am

how looks like this new 'getting the touch angle' is there example of it?
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Sun Sep 09, 2012 10:43 am

Speaking of mouse compatibility, does the new touch angle allow mouse click and drag simulation of touch?
B
230
S
62
G
33
Posts: 902
Reputation: 40,319

Post » Sun Sep 15, 2013 10:36 pm

How to achieve mouse.X/Y and touch.X/Y compatibility? Would be nice to use the same logic to a "click/move mouse" and "touch/move finger" event...
B
5
Posts: 12
Reputation: 374


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests