How do I tap jump on mobile?

Get help using Construct 2

Post » Sat Jan 24, 2015 3:35 am

I made this simple side scroller, on a PC browser it works fine, player had Platform behavior. I can press up arrow to jump, and right/left to move.

I added the touch behavior, and have "on tap gesture player, action player simulate jump" and also tried "is touching player, action player simulate jump".

But when I play on tablet/phone, when I tap or hold the player, nothing happens.

Suggestions?
B
9
S
3
G
1
Posts: 25
Reputation: 864

Post » Sat Jan 24, 2015 3:43 am

try creating a sprite that acts as a button.. on touched object (the sprite) simulalte jump on your character
Image
B
57
S
13
G
6
Posts: 271
Reputation: 12,103

Post » Sat Jan 24, 2015 9:20 pm

OK well I hate to admit it but the problem was when I was compiling my project in the Intel XDK, I didn't re-upload the latest Cordova export from Construct2 so my changes where I had the tap gestures weren't in there.... It works good the way I have it after uploading everything properly.
B
9
S
3
G
1
Posts: 25
Reputation: 864


Return to How do I....?

Who is online

Users browsing this forum: jkmalau and 16 guests