- Home /
ParticleSystem or play a video?
Hello everyone, I am trying to create a fireworks animation that plays for 10 seconds and then stop. I've tried to create the animation using the Particle System in unity. Sadly, the result was horrifying. my game used to run at around 150 - 200 frames per second, and after using this it literary dropped down to around 1.0 - 0.1 frames per second. so I started to look for an alternative and I thought of creating the animation using After Effect (or any other video editing software) and playing that video instead of the particle system. My question is, should I continue with doing the video idea? or is there a better to make particle systems or is there a better way to achieve what I want without affecting the performance?
Thanks in advance.
It sounds like your particle system is not optimized or the editor you use has the known issue of memory leak which needs patching (for the latest version of 2017.1 it's not ready yet.) $$anonymous$$aybe you should capture a video to show your firework particle system if you don't want to share the source, so we can assess if it's overcomplicated.
Indeed you may have optimization issues. The particle system behave quite good even on complex effects. You're probably familiar with $$anonymous$$irza's work. He's creating awesome particle effects without noticing fps drops or other performance issues : https://www.youtube.com/watch?v=_-eRfOyJsqk&t=780s
@ifurkend @Casy10 Thank you for commenting. Actually, the problem with creating a fireworks particle system is that the particle count will reach up to 100,000 particles in order for me to get that nice dense firework lines. If I actually set the limit to 10,000 particles, it would actually work well. But I would end up getting a poor effect. I also thought that this might be something with my laptop or my Unity. So I built the game and tried it on a decent android phone (Galaxy Note 5), but the same thing happened.
Answer by g4solio · Oct 02, 2017 at 10:49 AM
if u want some good particle for fire effect try this: https://www.assetstore.unity3d.com/en/#!/content/50735
p.s. try to learn something of the unity visual part, and NEVER NEVER use a video when u can use something else.
Thanks for the reply. Actually, my problem is with "Fireworks" particle system. I found multiple tutorials online on how to do it, but the problem was that they use a high number of particles that reaches 100,000. I guess that's why it's lagging.
Your answer
Follow this Question
Related Questions
Customising Particle Effects for exploding rocks?? 1 Answer
Particle System appearing fine in scene, but is partially visible in Game 0 Answers
How can I make animated background image? 1 Answer
How to animate Particle System properties in 5.x via Animation Clip 1 Answer
How to prevent particle system from restarting when value changes from script? 1 Answer