J
junk-boy
Guest
So, I am pretty new with Game Maker, and I have been struggling with particle system recently. I did some bunch of code, and it seems to be working, but, for some reason, there are some issues with particles - first, they are not drawn on any light colors and second, they are being overlapped by the objects. As English is not my native language, and so mistakes can be here and there, you can just look at the gif I attached below to (hopefully) understand what I am talking about.
EDIT: Here's the code, I totally forgot about that
EDIT2: Attached some more gifs to show what I got
EDIT: Here's the code, I totally forgot about that
EDIT2: Attached some more gifs to show what I got
Code:
RainParticle = part_system_create();
rain_particle = part_type_create();
part_type_shape(rain_particle,pt_shape_line);
part_type_size(rain_particle,0.10,0.10,0,0);
part_type_scale(rain_particle,1,1);
part_type_color1(rain_particle,c_red);
part_type_alpha1(rain_particle,1);
part_type_speed(rain_particle,6,6.5,0,0);
part_type_direction(rain_particle,290,293,0,0);
part_type_gravity(rain_particle,0,270);
part_type_orientation(rain_particle,0,0,0,0,1);
part_type_blend(rain_particle,1);
part_type_life(rain_particle,60,62);
//part_type_color_mix(rain_particle,c_gray, c_dkgray);
rain_emitter = part_emitter_create(RainParticle);
part_emitter_region(RainParticle,rain_emitter,-640,room_width,-120,y,ps_shape_line,ps_distr_linear);
part_emitter_stream(RainParticle,rain_emitter,rain_particle,3);
repeat (room_speed * 3)
{
part_system_update(RainParticle);
}
Attachments
-
174.1 KB Views: 8
-
278.4 KB Views: 8
-
257.6 KB Views: 9
Last edited by a moderator: