Built in constant for a firework effect.


GML Code Example


Returns: N/A.


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


GML Code Example

    effect_create_above(ef_firework, random(room_width), random(room_height), choose(0, 1, 2), make_colour_hsv(random(255), 255, 255));

The above code will create 10 random sized and coloured fireworks effects at a random position within the room.

Next: ef_flare

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