effect_create_below(kind,x,y,size,color)
From YoYoGames Wiki
Description
Creates one of the built-in simple effects behind the existing instances.
Arguments
- kind (integer): kind of effect (see effect constants)
- x (real): horizontal position of the effect
- y (real): vertical position of the effect
- size (integer): size of the effect (0=small, 1=medium, 2=large)
- color (integer): color of the effect (see e.g. color constants)
Explanation
This function was to create one of the easy to use built-in particle effects. See the effect constants for the possibilities. The effect is created at a depth of 100000 which means it will be created behind all instances unless the instance has a larger depth. The effect will appear centered at position (x,y).
Examples
effect_create_below(ef_explosion, 100, 100, 1, c_aqua); effect_create_below(ef_explosion, 100, 100, 1, make_color_rgb(30, 114, 138));
See Also
Content from GMKB, was used to expand this article. The content was contributed by nickydude.

