How do I stop the player from "clipping" into solid walls?

Get help using Construct 2

Post » Tue Nov 17, 2015 4:37 pm

My 8 direction RPG has solid walls that the player shouldn't be allowed into - when the player is walking right up against these walls, then suddenly turn towards the wall, the player clips slightly into the wall.
B
5
S
1
Posts: 73
Reputation: 521

Post » Tue Nov 17, 2015 4:47 pm

This probably has to do with the origin point of your sprite, although we'd have to know more to be sure.
B
67
S
28
G
24
Posts: 970
Reputation: 18,675

Post » Tue Nov 17, 2015 4:51 pm

check the polygons collison and also if the wall has the behaviour "solid"
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Tue Nov 17, 2015 6:39 pm

also the Z order as well Sometime the player can be well under the z order of he wall.
B
51
S
24
G
6
Posts: 391
Reputation: 7,820


Return to How do I....?

Who is online

Users browsing this forum: ivanski1983 and 4 guests