Author Topic: Patricle Colours How!?!  (Read 2622 times)

Code: [Select]
    colors[0] = "1.0 0.0 0.0 1.0";
colors[1] = "1.0 0.0 0.0 1.0";
colors[2] = "1.0 0.0 0.0 0.0";

sizes[0] = 0.1;
sizes[1] = 0.1;
sizes[2] = 0.1;

times[0] = 0.0;
times[1] = 0.5;
times[2] = 1.0;
Basically when the particle starts it'll go though the [.0] catagory.
Using Muffinmix's example this would mean that a red particle would go on from times[1] and times[2] and would be size 0.1. Then in the [1] catagory it would stay the same color of red and stay the same size until times[2] when it'll be black, stay the same size, and end.

Heres a picture for you.

Admittedly, your picture actually confused me, where before I used to know exactly how this worked. Thanks a lot...  :panda:

Code: [Select]
    colors[0] = "1.0 0.0 0.0 1.0";
colors[1] = "1.0 0.0 0.0 1.0";
colors[2] = "1.0 0.0 0.0 0.0";

sizes[0] = 0.1;
sizes[1] = 0.1;
sizes[2] = 0.1;

times[0] = 0.0;
times[1] = 0.5;
times[2] = 1.0;
Basically when the particle starts it'll go though the [.0] catagory.
Using Muffinmix's example this would mean that a red particle would go on from times[1] and times[2] and would be size 0.1. Then in the [1] catagory it would stay the same color of red and stay the same size until times[2] when it'll be black, stay the same size, and end.

Heres a picture for you.

Is you useInvAlpha = false;  or  true; ? If it's True set it to false and the particles should behave normally.

When useInvAlpha is set to true, it ignores Transparency and instead uses the 4rth column values to determine how dark the color is. So having the last value set to 0.0 will make the particle come out Black instead of transparent.

Edit: Also nice picture.

Ok well i got it to work somehow and TY very much for helping me muffinmix  :cookie: for you :)