
01-21-2011, 06:29 PM
|
ǝɔɐɹq ʎןɹnɔ
|
 |
Join Date: Dec 2006
Location: Germany
Posts: 5,153
|
|
Quote:
Originally Posted by oo_jazz_oo
Just discovered something.
Now, I don't know much about particle emitters and stuff, but I found a problem with the snowfall on UN.
Basically, the script has the particle image changing every .5 seconds, so it changed the image for each new snowflake.
On v5, changing the image of the particle would only change it for new particles...
On v6, it is changing the image for every particle, ones already created, and new ones.
Not sure if this is a glitch, or if it was a glitch in v5.
The script changing the image of said particle is:
PHP Code:
findimg(200).emitter.particle.image = temp.newimg;
|
Quote:
Originally Posted by Stefan
It's an optimization, if you have only one particle template and only simple modifiers then it will try to draw all particles at once instead of drawing it one by one. You could eventually use several particle templates (emitter.particletypes = 2, emitter.particles[1].image = ...).
|
I don't think that using several particle types is a good solution to the problem your optimization creates. Consider an emitter for controlled text particles, each particle supposed to have a different text. How would you do that? Doesn't work quite as easy anymore with v6, does it? |
|
|