Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inst = instance_nearest(x, y, eta);
- 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 {
- if cans = 2 {
- instance_create(x, y, bullet_obj);
- cans = 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement