answersLogoWhite

0

if vspeed > 0 && y < other.y+8

{

if vspeed>0 {

if (vspeed > 0 && not place_free(x,y+vspeed)) move_contact(270);

vspeed = 0;

}

}

else

{

x=xprevious

hspeed = -hspeed;

}//put this in the collision event with the ememy

User Avatar

Wiki User

14y ago

What else can I help you with?