Touch control platformer example?

Get help using Construct 2

Post » Tue Jan 08, 2013 2:33 am

Hey guys, i've been working on touch controls for a platformer game, i want to know if there is any good tutorials or examples out there.

I'm having trouble with the touch control, whenever i double tap left/right it continues to simulate the controls even if i dont touch the controls anymore. I have not made a double tap feature yet, so it should not move.
B
10
S
4
G
3
Posts: 46
Reputation: 3,036

Post » Tue Jan 08, 2013 6:01 am

What are you using for touch detection? In my experience the isTouchingObject event is the best.
B
52
S
15
G
5
Posts: 593
Reputation: 6,908

Post » Tue Jan 08, 2013 7:46 pm

Don't forget to release directions variables your using once there is no active touching.

So stop control simulation etc.
B
88
S
18
G
9
Posts: 2,455
Reputation: 14,928

Post » Tue Jan 08, 2013 8:19 pm

Thanks, i will give that a try!
B
10
S
4
G
3
Posts: 46
Reputation: 3,036


Return to How do I....?

Who is online

Users browsing this forum: ChesVCF, kevinyeoh5385, UberLou and 8 guests