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
78
S
32
G
27
Posts: 1,021
Reputation: 20,952

Post » Tue Nov 17, 2015 4:51 pm

check the polygons collison and also if the wall has the behaviour "solid"
B
41
S
16
G
7
Posts: 1,779
Reputation: 10,029

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,855


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], R0J0hound, Yahoo [Bot] and 25 guests