GM: effect create below

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is effect_create_below(kind,x,y,size,color). It appears incorrectly here because of technical restrictions.
The correct title of this article is effect_create_below(). It appears incorrectly here because of technical restrictions.


Arguments

kind = The kind of in built effect you want.

x = Horizontal position of effect

y = Vertical position of effect

size = The size of the effect:

  • 0 - small
  • 1 - medium
  • 2 - large

color = The colour of the effect.

Limitations

none

Note: Please remove limitations and port them in the "Remarks" section at the end of the article.

effect_create_below will create one of the easy-to-use in built particle effects at a depth of 100000 which means it will be created behind all instances unless the instance has a larger depth. x and y can be specific coordinates (124, 322), relative to self coordinates (the example above, placed in an objects collision event with another object will create the effect at the instances x & y position) or relative to other coordinates.

[edit] See Also

This article was originally found at the Game Maker Knowledge Base, contributed by nickydude.
See the talk page for details
Personal tools