Simple Mobile Swipe Example

Discussion and feedback on Construct 2

Post » Fri Oct 26, 2012 11:28 am

Cool!
B
6
S
1
Posts: 62
Reputation: 1,697

Post » Tue Nov 06, 2012 10:36 am

Nice work! If you wanted to extend on that for different directions, you can use AngleAt

e.g.
On Touch(0) End
    --> -45<touch.AngleAt(0)<45 => Set Text 'Right'
    --> 45<touch.AngleAt(0)<135 => Set Text 'Down'
etc....
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Tue Dec 04, 2012 1:44 pm

Broken links, anyone got the files and would like to email them to me ?

Cheers !!
B
12
S
2
G
5
Posts: 31
Reputation: 3,494

Post » Sun Mar 31, 2013 10:12 am

404 not found .... :(
B
4
Posts: 4
Reputation: 808

Post » Tue Jun 18, 2013 11:48 am

Hi @nemo,

I'd really like to take a look, but I'm getting a 404 error. Any chance you could upload again?

Thanks
B
32
S
6
G
7
Posts: 489
Reputation: 8,217

Post » Tue Jun 18, 2013 12:42 pm

@EyeHawk, I've been putting together my own swipe example, using the AngleAt expression.

I used the calculation you mentioned above to increase the recognisable range of each angle. But it doesn't appear to be working, any ideas :)
Blacksmith2013-06-23 11:45:39
B
32
S
6
G
7
Posts: 489
Reputation: 8,217

Post » Wed Jun 19, 2013 9:33 pm

@Blacksmith - whao this has been a while, I honestly can't remember a thing currently about this I'll try and recall what I'd suggested and let you know.
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Thu Jun 20, 2013 9:04 am

@EyeHawk, yes sorry about opening up such an old thread.

I've been looking for a good way to implement swipe gestures, and came across your equation to include an angle range. At present I'm just using set angles, which is quite limited!

Don't worry if you can't remember, I can just open up a new thread on the subject.

Thanks for your efforts though, it's really appreciated :)
B
32
S
6
G
7
Posts: 489
Reputation: 8,217

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests