draw_ellipse(x1,y1,x2,y2,outline)

Drag & Drop equivalent : GM115

 

Note: This function must be placed in the Draw Event for it to work correctly.

 

x1, y1 = Horizontal / vertical start of the line.

x2, y2 = Horizontal / vertical end of the line.

outline = Whether the ellipse is drawn as a thin line or filled in the current colour. [true=no fill / false = fill in current colour]

 

Example:

draw_ellipse(100,100,300,400,false);

 

This will allow you to draw an ellipse (stretched circle) in your game.

Revision #1