Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. bullet=instance_create(x,y,obj_bullet)
  2. with (bullet) {
  3. move_towards_point(mouse_x,mouse_y,5)
  4. image_angle=direction
  5. }
  6.  
  7. point_direction(obj_mouse,obj_mouse,obj_mouse,obj_mouse)
  8. image_angle=direction
  9.  
  10. point_direction(obj_mouse,obj_mouse,obj_mouse,obj_mouse)
  11.  
  12. direction = point_direction(x, y, obj_mouse.x, obj_mouse.y);
  13.  
  14. direction = point_deirection(x, y, mouse_x, mouse_y);
  15. image_angle = direction;
  16.  
  17. with (instance_create(x, y, obj_bullet))
  18. {
  19. direction = other.direction;
  20. image_angle = direction;
  21. speed = 5;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement