Particle Fire Effect Gamemaker

Information about object: obj_fire
Sprite:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Create Event:
execute code:

Sname = part_system_create();
particle1 = part_type_create();
part_type_shape(particle1,pt_shape_line);
part_type_size(particle1,0.20,0.60,0,0);
part_type_scale(particle1,0.65,2.50);
part_type_color3(particle1,16749459,33023,255);
part_type_alpha3(particle1,0.04,0.06,0.07);
part_type_blend(particle1,1);
part_type_speed(particle1,0.70,2.60,-0.02,0);
part_type_direction(particle1,85,95,0,9);
part_type_gravity(particle1,0,270);
part_type_orientation(particle1,0,0,10,20,1);
part_type_life(particle1,60,80);

Step Event:
execute code:

emitter1 = part_emitter_create(Sname);
part_emitter_region(Sname,emitter1,-200,1000,400,450,ps_shape_ellipse,1);
part_emitter_stream(Sname,emitter1,particle1

No comments:

What is Security Engineering? Part 2.

A broad overview of the ever-developing security engineering field; a domain that can feel intimidating to some software engineers. With Nie...

Contact Form

Name

Email *

Message *