V
veko
Guest
Hello, so in my platformer i have my character pushed back when shooting a machine gun
if key_right_shoot = true and !place_meeting(x+1,y,obj_wall) x -= 3;
if key_left_shoot = true and !place_meeting(x-1,y,obj_wall) x += 3;
With this player gets stuck in the wall for just a few pixels, ive tried experimenting and changing placemeeting but nothing seems to work. If you know how to solve this problem, please, help me ou!
if key_right_shoot = true and !place_meeting(x+1,y,obj_wall) x -= 3;
if key_left_shoot = true and !place_meeting(x-1,y,obj_wall) x += 3;
With this player gets stuck in the wall for just a few pixels, ive tried experimenting and changing placemeeting but nothing seems to work. If you know how to solve this problem, please, help me ou!