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
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

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
68
S
8
G
6
Posts: 930
Reputation: 9,358

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
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sun Sep 09, 2012 10:15 am

how looks like this new 'getting the touch angle' is there example of it?
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

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
200
S
51
G
30
Posts: 896
Reputation: 36,494

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 4 guests