Game Play
Collision Checking
collision_circle_list(x,y,radius,obj,prec,notme) Returns a ds_list of all instances of the given object colliding with the given filled circle.
collision_ellipse_list(x1,y1,x2,y2,obj,prec,notme) Returns a ds_list of all instances of the given object colliding with the given filled ellipse.
collision_line_first(x1,y1,x2,y2,object,prec,notme) Returns the instance id of the given object colliding with the given line and closest to the first given point.
collision_line_list(x1,y1,x2,y2,obj,prec,notme) Returns a ds_list of all instances of the given object colliding with the given line.
collision_point_list(x,y,obj,prec,notme) Returns a ds_list of all instances of the given object colliding with the given point.
collision_rectangle_list(x1,y1,x2,y2,obj,prec,notme) Returns a ds_list of all instances of the given object colliding with the given filled rectangle.
collision_triangle(x1,y1,x2,y2,x3,y3,object) Returns true if there is a collision between the given triangle and the given object or instance.
instance_place_list(x,y,obj) Returns a ds_list of all instances of the given object colliding with the current instance at the given position.
move_bounce_rectangle(x1,y1,x2,y2) If the bounding box of the calling instance crosses the boundary of the given rectangle, bounce the instance in the opposite direction.
normal_detect(x,y,obj [,rad [,res]]) Returns a 2D surface normal for a point on the "surface" of an object.
range_finder(x,y,dir,range,object,prec,notme) Returns the exact distance to the nearest instance of the given object in the given direction from the given point.