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
373
S
218
G
84
Posts: 23,440
Reputation: 186,070

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
77
S
10
G
6
Posts: 952
Reputation: 9,944

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

Post » Sun Sep 09, 2012 10:15 am

how looks like this new 'getting the touch angle' is there example of it?
B
100
S
23
G
38
Posts: 1,873
Reputation: 30,612

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
213
S
56
G
30
Posts: 897
Reputation: 37,556

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: AlexL29 and 6 guests