Advertisement
ShiroX

Untitled

Oct 12th, 2015
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. while (place_meeting(x,y,other))
  2. {
  3. x += lengthdir_x(1, direction - 180);
  4. y += lengthdir_y(1, direction - 180);
  5. }
  6.  
  7. //now bounce!
  8. move_bounce_all(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement