ludum-dare-42/objects/obj_partSyst/Other_4.gml

13 lines
968 B
Plaintext

global.Particle1 = part_type_create();
part_type_shape(global.Particle1,pt_shape_pixel); //This defines the particles shape
part_type_size(global.Particle1,0.25,1.5,-0.05,2); //This is for the size
part_type_scale(global.Particle1,1,1); //This is for scaling
part_type_colour2(global.Particle1,c_white,c_aqua); //This sets its colour. There are three different codes for this
part_type_alpha2(global.Particle1,1,0); //This is its alpha. There are three different codes for this
part_type_gravity(global.Particle1,0.20,270);
part_type_speed(global.Particle1,0.50,3,-0.10,0); //The particles speed
part_type_direction(global.Particle1,0,359,0,20); //The direction
part_type_orientation(global.Particle1,0,359,1,2,1); //This changes the rotation of the particle
part_type_life(global.Particle1,1,120); //this is its lifespan in steps