Is it possible to pre-run particles to start before 00:00?
Hi everyone, I'm new to the Gamesalad forums and I have a question that maybe you can help me with. Is it possible to have a particle emitter emit particles before a scene starts so that there are already particles visible. I have a space scene and I'd like to have asteroids constantly flying by in the background. Currently, when the scene starts, the background is empty and then the particles begin to emit offscreen. Thanks for your help!
Best Answers
-
jonmulcahy Posts: 10,408
You'd have to put everything on a delay timer, or just have a black image covering everything, and then have it fade out while the asteroids fill in? -
jn2002dk Posts: 102
Not to my knowledge but you could work around it
I'd set the particle start up to 0.02 and then have a black (or what ever color suits your game best) actor covering the entire scene fade out and destroy it self after maybe 0.5-1 second. That way you'll have particles up and running once you can actually see the stage
Answers
What you do is make an actor that's as big or bigger than your scene and place it in front of everything else. This actor interpolates alpha from 1 to 0 in 0.5-1 second and once the alpha is 0 it destroys it self
This gives the emitter time to spawn particles without the user seeing an empty scene
As for the fade, use ease out option in interpolate to make it look smooth and people wont notice you're hiding something:)