Game Maker
(fix param)
Tags: Visual edit apiedit
(Adding categories)
 
Line 11: Line 11:
 
* ''size ''- 0=small, 1=medium, 2=large
 
* ''size ''- 0=small, 1=medium, 2=large
 
* ''colour ''- one of the [[color]] constants (e.g. ''c_gray'')
 
* ''colour ''- one of the [[color]] constants (e.g. ''c_gray'')
  +
[[Category:Chorded]]

Latest revision as of 22:00, 10 July 2021

With drag-and-drop: choose draw>Other>Create Effect action.

In a piece of code:

effect_create_below(effect_name,x_coord,y_coord,size,color_name);
  • to create above: use effect_create_above(...);
  • effect_name - one of the effect constants:
    • ef_
      • explosion
      • spark
      • etc. (see Create Effect action)
  • size - 0=small, 1=medium, 2=large
  • colour - one of the color constants (e.g. c_gray)