how to create efficient tap for touch device?

Discussion and feedback on Construct 2

Post » Wed Jan 16, 2013 7:33 am


i am making a game for android device..in this game i have to make jump the player when user tap the screen..
how can i do this efficiently ??
B
5
Posts: 24
Reputation: 498

Post » Wed Jan 16, 2013 2:27 pm

Just use an event like "On any touch" and use "Simulate jump" on the player as an action.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Post » Wed Jan 16, 2013 4:28 pm

Thanks for the info! Helped me gwtting touch working, but now I have an issue where the audio keeps playing on touch, whats the best way to play a sound just once, or until touch is lifted?

thanks!
B
18
S
2
G
1
Posts: 34
Reputation: 1,811


Return to Construct 2 General

Who is online

Users browsing this forum: Sventevith and 12 guests