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
26
S
7
G
5
Posts: 185
Reputation: 5,086

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
294
S
117
G
96
Posts: 7,313
Reputation: 71,094

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
400
S
237
G
89
Posts: 24,550
Reputation: 195,537

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
26
S
7
G
5
Posts: 185
Reputation: 5,086


Return to How do I....?

Who is online

Users browsing this forum: MrQuickGame and 8 guests