G
Goat Mutation
Guest
So I had some code in my project that would start some basic weather stuff and it worked okay. Just remembered about it and tried to start the rain. But now all my particles are just square boxes. I haven't touched the code at all, so it should have still worked right?
So then I figured well maybe a patch made that stuff obsolete... so I followed a random youtube video to make a better particle system. But no matter what shape I choose on my particles etc, the rain is only coming out as big ol' square boxes. Some kind of glitch from a patch?
The rain code is below. Some values have changed from what they originally were as I was just trying to get anything else besides a square with no success.
Create event on a rain obj
Any help much appreciated!
So then I figured well maybe a patch made that stuff obsolete... so I followed a random youtube video to make a better particle system. But no matter what shape I choose on my particles etc, the rain is only coming out as big ol' square boxes. Some kind of glitch from a patch?
The rain code is below. Some values have changed from what they originally were as I was just trying to get anything else besides a square with no success.
Create event on a rain obj
Code:
//Rain System
partRain_sys = part_system_create();
//Rain Particle
partRain = part_type_create();
part_type_shape(partRain,pt_shape_circle);
part_type_size(partRain,.08,.1,0,0);
part_type_color2(partRain,c_teal, c_white);
part_type_alpha2(partRain,1,1);
part_type_gravity(partRain,0.1,290);
//Create Emitter
partRain_emit = part_emitter_create(partRain_sys);
part_emitter_region(partRain_sys,partRain_emit,view_xview[0] -400, view_wview[0], view_yview[0] -100,view_yview[0] -100, ps_shape_line, ps_distr_linear);
part_emitter_stream(partRain_sys,partRain_emit,partRain,5);