Player to swim

Get help using Construct 2

Post » Fri Mar 08, 2013 9:38 pm

Yes, that is a lot better.   It finally worked.
Thank you for your help. He can swim now.
B
10
S
3
Posts: 86
Reputation: 1,508

Post » Fri Mar 08, 2013 9:43 pm

On space pressed >
>if PlayerIsSwimming <- boolean for if they are swimming
>> Player | Set Platform Y Vector to swimupvector (make sure it's negative)

With this, if your player is swimming when you hit space, their Y vector will go up that much.

Make sure your Y vector is negative if you want to go up. Positive Y vector = down.
B
15
S
4
G
4
Posts: 294
Reputation: 3,225

Post » Mon Mar 11, 2013 3:55 am

worked, except he jumps a little too high when coming out of the water.
B
10
S
3
Posts: 86
Reputation: 1,508

Post » Mon Mar 11, 2013 11:22 pm

And thanks for your help too.
B
10
S
3
Posts: 86
Reputation: 1,508

Previous

Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky and 29 guests