ef_smoke

Built in constant for a smoke effect.

Syntax:

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:

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.


Back: Simple Effects
Next: ef_smokeup
© Copyright YoYo Games Ltd. 2018 All Rights Reserved