Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bullet=instance_create(x,y,obj_bullet)
- with (bullet) {
- move_towards_point(mouse_x,mouse_y,5)
- image_angle=direction
- }
- point_direction(obj_mouse,obj_mouse,obj_mouse,obj_mouse)
- image_angle=direction
- point_direction(obj_mouse,obj_mouse,obj_mouse,obj_mouse)
- direction = point_direction(x, y, obj_mouse.x, obj_mouse.y);
- direction = point_deirection(x, y, mouse_x, mouse_y);
- image_angle = direction;
- with (instance_create(x, y, obj_bullet))
- {
- direction = other.direction;
- image_angle = direction;
- speed = 5;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement