You are currently viewing the GMLscripts.com static mirror. Forum access and script submissions are not available through this mirror.

Invert GMLscripts.com

Game Play :: Movement

ease_towards_direction(target,rate,easing)
Rotates the calling instance towards the target direction, at a given rate and easing.
jump_to_mouse()
Moves the calling instance to the position of the mouse cursor.
move_bounce_rectangle(x1,y1,x2,y2)
Makes the calling instance reverse direction if it is colliding with the boundary of a given rectangle.
move_follow(object,speed)
Makes the calling instance follow a given instance at a given speed.
move_to_line(x1,y1,x2,y2,segment)
Moves the calling instance to the nearest point on a given line or line segment.
turn_towards_direction(target,rate)
Rotates the calling instance towards the target direction, at a given rate.