Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Using Particle Systems as "Missile Cannons"

Discussion in '2D' started by Deleted User, Jul 4, 2014.

  1. Deleted User

    Deleted User

    Guest

    Hello,

    I am wondering if it is a good idea to use Particle Systems as "Missile Cannons" in a 2D game?
    An example case would be missiles on a ship that are fired very rapidly.
    This is in comparison to spawning "sprites" like crazy.


    To further define "good idea" I mean is it efficient, does it render smoothly on PC/Mac.

    Apologies:

    1. If this thread is a duplicate, I looked and could not find one
    2. If this is explained in the "Space Shooter" project I have not had a chance to complete that project
    3. For being a total Noob...
     
  2. Vitor_r

    Vitor_r

    Joined:
    May 23, 2013
    Posts:
    93
    Hey man,

    i tried to use particle system to make a snow effect in my game, and it was not efficient at all, my game is for android so for PC/Mac maybe it's not that bad depending on how much particles you will have, try some stuff and see if it makes the game laggy.

    PS: Maybe i used the particle system all wrong in my tests because i'm noob too :D
     
  3. Rutenis

    Rutenis

    Joined:
    Aug 7, 2013
    Posts:
    297
    Well it depends, if youre using particle system as missle, not as FOR EXAMPLE: muzzle flash, then its not okay to use it.
     
  4. Deleted User

    Deleted User

    Guest

    Well snap, thats what I was going to try. I wanted to set the emitter at the cannon tips and have the emitter emit a narrow stream of particles... The reason being because of all the negative threads regarding high speed sprite movement and people saying its not smooth.
     
  5. Rutenis

    Rutenis

    Joined:
    Aug 7, 2013
    Posts:
    297
    Well, i would suggest you to slow down your rockets, and it will be smooth. Plus you can set rockets gravity to 0, it will be smooth that way.