CraterHater
Member
Hey,
I've got this particle effect here:
How can I make it so that when a particle crosses a certain Y value it fades out?
Thanks!
I've got this particle effect here:
GML:
global.part_wall_dust_shard = part_type_create();
part_type_sprite(global.part_wall_dust_shard,spr_particle_shards,0,0,1);
part_type_size(global.part_wall_dust_shard,.25,0.90,-.001,0);
part_type_orientation(global.part_wall_dust_shard,0,360,0.5,0.5,0);
part_type_color2(global.part_wall_dust_shard,make_color_rgb(130, 100, 68),make_color_rgb(73, 57, 48));
part_type_alpha3(global.part_wall_dust_shard,0.7,1,0.5);
part_type_blend(global.part_wall_dust_shard,false);
part_type_direction(global.part_wall_dust_shard,70,110,.01,.01);
part_type_speed(global.part_wall_dust_shard,7.5,10,0,0);
part_type_life(global.part_wall_dust_shard,45,85);
part_type_gravity(global.part_wall_dust_shard, 0.35, 270);
Thanks!