ef_smoke

Built in constant for a smoke effect.

Syntax:

GML Code Example

ef_smoke;


Returns: N/A.


Description

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




Example:

GML Code Example

if speed > 0
    {
    effect_create_below(ef_smoke, x, y, choose(0, 1, 2), c_gray);
    }
 

The above code will create a smoke trail from the instance when the speed is greater than 0.





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