Game Maker Studio: How to Create Special Effects.
Visit my anime and game site: http://mcanime1.wixsite.com/mcanime
GMX file: https://goo.gl/PmXGYu
particlesnow
Events:
Create
Actions:
sys = part_system_create();
part = part_type_create();
part_type_shape(part,pt_shape_spark) ....if you just type in pt_shape you will get a list of effects you can choose from. Just click on one and Game Maker will plug it in for you.
part_type_size(part,1,1,.1,.01)
part_type_color_mix(part,c_red,c_white)....you can also change the colors too. Just type in c_ and a list of colors will show up, and you can choose which color.
part_type_direction(part,0,360,0,5)
part_type_speed(part,5,5,1,.5)
part_emitter_clear(part,pt_shape_spark)
part_system_clear(pt_shape_spark)
Set Life for type 0
min life: 0
max life: 20
Events:
Left Pressed
Actions:
emit=part_emitter_create (sys)
part_emitter_region(sys,emit,x,x,y,y,ps_shape_rectangle,ps_distr_linear)
part_emitter_burst(sys,emit,part,20) ....if you just type in part_emitter, you will get a list of effects you can choose from and select.