#### Raptor_Guy

##### Member

I don't know why it's detecting that the player is directly on top of the solid (presumably the one to the left of it), because I have (what I believe is) pixel-perfect collision:

Any help is appreciated!if (hspd != 0) {

if (place_meeting(x+hspd, y, oSolid)) {

while (!place_meeting(x+sign(hspd), y, oSolid)) {

x += sign(hspd);

}

hspd = 0;

}

}

if (vspd != 0) {

if (place_meeting(x, y+vspd, oSolid)) {

while (!place_meeting(x, y+sign(vspd), oSolid)) {

y += sign(vspd);

}

vspd = 0;

}

}