toouchscreen controls

Get help using Construct 2

Post » Fri Mar 30, 2012 2:12 pm

I have recently begun building a tower defence game (as noted before) I am trying to build the game to only use touch screen controls so that it can be easily deployed to mobile devices.

I was building the game and I havent seen a 'swipe' command for touchscreen, e.g. if you quickly swipe the screen in some games it might perform an action. I cant seem to find this ability within Construct2's touch screen. Am i missing this or has it not been implemented as an option.

Thanks for the help with the query.
B
25
S
7
G
5
Posts: 185
Reputation: 5,056

Post » Fri Mar 30, 2012 2:33 pm

Pode had developped the cutsom unistroke gesture recognizer plugin.
That's probably something you want.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Mar 30, 2012 2:38 pm

We don't have this implemented yet but if you track the TouchX/TouchY co-ordinates and see if they move quickly enough you might be able to detect a swipe that way.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Fri Mar 30, 2012 2:58 pm

thanks for the info, ill give Pode's plugin a try before giving tracking a try. Its not essential for my game but would be nice to implement it. :)
B
25
S
7
G
5
Posts: 185
Reputation: 5,056


Return to How do I....?

Who is online

Users browsing this forum: LeFuji, qaisarehman, Yahoo [Bot] and 22 guests