How do I avoid sticky collisions and collision boosting?

Just started using Construct 2? Post your questions here

Post » Tue Dec 27, 2016 3:39 am

I'm making a top down game and whenever the player runs into a wall too fast, they'll get stuck.

Trying to move just moves them around the border of the wall until they luck out and manage to somehow break it's grasp by rotating and moving away.

And often times that boosts the player as they're flung away from the wall at last.

The player has custom movement and platformer movement for the sole purpose of not being able to move through walls.

*

One solution I've thought of would be for the player to bounce off the walls like a billards ball. The player is moving often moving really fast so a ricochet would be really neat.

Any ideas on how to make that possible?
B
22
S
14
G
16
Posts: 16
Reputation: 10,442

Post » Tue Dec 27, 2016 12:02 pm

Did you use 'push out solid' from the CustomMovment?
If that doesn't work and your player stuck in walls you could use the reverse-action from the CustomMovment when overlapping the wall.
B
24
S
3
G
1
Posts: 454
Reputation: 2,171

Post » Thu Dec 29, 2016 1:03 am

ImageImage
B
114
S
51
G
24
Posts: 790
Reputation: 23,480


Return to Beginner's Questions

Who is online

Users browsing this forum: dickylarsonn02 and 1 guest