ef_star

Built in constant for a star effect.

Syntax:

GML Code Example

ef_star;


Returns: N/A.


Description

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




Example:

GML Code Example

repeat(10)
    {
    effect_create_above(ef_star, x - 32 + random(64), y - 32 + random(64), choose(0, 1, 2), c_yellow);
    }
 

The above code will create 10 random sized, yellow stars at a random position around the instance running the code.


Next: ef_cloud



No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here