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
34
S
4
G
5
Posts: 84
Reputation: 4,835

Post » Fri Sep 07, 2012 2:41 pm

The latest beta (r102) supports getting the touch angle.
Scirra Founder
B
383
S
225
G
86
Posts: 24,119
Reputation: 190,546

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: 961
Reputation: 10,717

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
34
S
4
G
5
Posts: 84
Reputation: 4,835

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

Post » Sun Sep 09, 2012 10:15 am

how looks like this new 'getting the touch angle' is there example of it?
B
103
S
25
G
43
Posts: 1,879
Reputation: 33,403

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
223
S
59
G
32
Posts: 901
Reputation: 39,238

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: clarioss, Kenthria, LaroTaio and 12 guests