How do I slide on ice?

Get help using Construct 2

Post » Mon Mar 27, 2017 8:30 pm

How would I make it so my player object slides on ice at the same speed and in the same direction as it was moving when it hit the ice? I would also like to make it so they could jump and keep the same speed and direction while jumping on the ice they hit until they hit a non ice object.

I imagine I could make this in to some sort of state but I'm not sure how.

Thank you.
B
12
S
4
G
2
Posts: 132
Reputation: 1,749

Post » Tue Mar 28, 2017 1:30 am

Would not the bullet behavior do what you are wanting? You can set the bullet speed to whatever you want.. whenever you want.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370

Post » Tue Mar 28, 2017 1:35 am

What movement behavior are you using for your player?

Bullet would work for a sustained slide. You can also use direct movement with a timer or custom movement or even physics.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,790

Post » Tue Mar 28, 2017 1:49 am

You can also do it with the Platform behavior. Just set the Deceleration to 0 when the player is on the ice.
B
50
S
26
G
105
Posts: 106
Reputation: 56,456


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Buddhika, R0J0hound and 15 guests