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
403
S
238
G
89
Posts: 24,648
Reputation: 196,133

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
84
S
15
G
7
Posts: 990
Reputation: 11,229

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,699

Post » Sun Sep 09, 2012 10:15 am

how looks like this new 'getting the touch angle' is there example of it?
B
113
S
29
G
48
Posts: 1,883
Reputation: 36,580

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
242
S
63
G
33
Posts: 903
Reputation: 40,756

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: Baidu [Spider], Google [Bot] and 6 guests