if right
{
image_xscale = 1
image_speed = 0.3
if place_free(x + var_speed, y)
x = x + var_speed
else
move_contact_solid(0,var_speed)
}
if left
{
image_xscale = -1
image_speed = 0.3
if place_free(x - var_speed, y)
x = x - var_speed
else
move_contact_solid(180,var_speed)
}
Trying to jump in the opposite direction as the wall plays the jump animation but still doesn't move anywhere. Jumping while facing the wall will jump, but you still can't move horizontally unless you jump higher than the wall.











