hi, yes its correct, the blue diamond its just a visual thing, the collisions are correct when he teleports he can enter wallsHe's stuck on the wall, but the collisions are correct? Doesn't sound like they are correct.
What's your collision code? What's the diamond around the box?
Also, don't necro/bump old threads. This thread would have been enough.
the collisions are correct when he teleports he can enter wallsHe's stuck on the wall, but the collisions are correct? Doesn't sound like they are correct.
What's your collision code? What's the diamond around the box?
Also, don't necro/bump old threads. This thread would have been enough.
x = mouse_x;
y = mouse_y;
x = mouse_x;
y = mouse_y;
var dis = point_distance(x,y,xprevious,yprevious),
dir = point_direction(x,y,xprevious,yprevious);
while dis>0 && place_meeting(x,y,obj_solid) {
dis--;
x = xprevious + lengthdir_x(dis,dir);
y = yprevious + lengthdir_y(dis,dir);
}