Search Unity

Replace particle systems with sprites

Discussion in 'General Graphics' started by raycosantana, Jan 12, 2015.

  1. raycosantana

    raycosantana

    Joined:
    Dec 23, 2012
    Posts:
    319
    Hi!

    what do think about this guys? Im making a game for console and particle systems are really expensive I thought since the game is always seen from an angle (45º) and the camera doesnt rotate, replacing some particles with sprite animations, for example when bullets collide with the players model or scenery replace that particle effect with a similar sprite animation, I use particle/object pooling so I reuse the same particle systems over and over but still sometimes with four players there are like 100 or 200 particle systems at once on screen and on top of that I have a weapon that is a flamethrower and it shots particles, what do you think? would this help save some resources?
     
  2. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    It probably would be faster given all the overhead of processing and moving the particles in realtime. If you can precalculate some of that into an animated sprite sequence it would be quicker to replay.
     
  3. raycosantana

    raycosantana

    Joined:
    Dec 23, 2012
    Posts:
    319
    Thank you, thats what I needed to know.