ef_ellipse

Built in constant for an ellipse effect.

Syntax:

ef_ellipse;


Returns: N/A.


Description

This constant is for use in the functions effect_create_above and effect_create_below, and will create an ellipse effect as illustrated in the image below:




Example:

effect_create_below(ef_ellipse, x, y, choose(0, 1, 2), make_colour_hsv(irandom(255), 255, 255);

The above code will create an ellipse effect with a random size and colour at the position of the instance running the code.


Back: Simple Effects
Next: ef_explosion
© Copyright YoYo Games Ltd. 2019 All Rights Reserved