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
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

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
1
G
1
Posts: 34
Reputation: 1,661


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests