YoYo Games Wiki

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

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.