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
12
S
3
Posts: 89
Reputation: 1,566

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
23
S
10
G
6
Posts: 351
Reputation: 5,151

Post » Mon Mar 11, 2013 3:55 am

worked, except he jumps a little too high when coming out of the water.
B
12
S
3
Posts: 89
Reputation: 1,566

Post » Mon Mar 11, 2013 11:22 pm

And thanks for your help too.
B
12
S
3
Posts: 89
Reputation: 1,566

Previous

Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 54 guests