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
71
S
30
G
25
Posts: 984
Reputation: 19,503

Post » Tue Nov 17, 2015 4:51 pm

check the polygons collison and also if the wall has the behaviour "solid"
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

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
52
S
24
G
6
Posts: 391
Reputation: 7,845


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, FabianB, gskunk and 50 guests