Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. inst = instance_nearest(x, y, eta);
  2. if inst.x < x + 320 && inst.y < y + 240 or inst.x < x - 320 && inst.y < y + 240 or inst.x < x + 320 && inst.y < y - 240 or inst.x < x - 320 && inst.y < y - 240 {
  3. if cans = 2 {
  4. instance_create(x, y, bullet_obj);
  5. cans = 0;
  6. }
  7.  
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement