How To Use 2D Sprites With a Particle Emitter – Unity

You can also vote for Puzzledorf to be nominated for an award over at IndieDB.

This article teaches you how to use Sprites or other custom 2D images with the particle emitter in Unity. I used this technique to create particle animations in my game, Puzzledorf. Whenever you do something right in the puzzle, particles explode.

1. Create your sprite and import it to Unity (look here if you haven’t done that before)

  • Create the sprite graphic
  • Import to Unity – it cannot be part of a sprite sheet, but must be single, standalone sprite, as of Unity 2018.3.4

2. Create a new material in Unity

3. Add the Sprite to the material

  • Unity keeps on changing how this works, but as of 2018.3.4f…
  • Change the shader type of the material to: GUI > Text Shader in 2018, in 2019.4.32f1 I found UI > Unlit > Detail worked better (some of the other options either won’t let you use a texture or won’t let you change the sprites colour in the emitter, you might need to try a few different unlit textures depending on your Unity version)
  • Drag your sprite on as the texture

4. Create a new particle system

5. Find the renderer on the particle system

6. Find the material on the renderer. Change that to your new material with your sprite there

Now you have a particle emitter that uses sprites as the graphic it emits. You can control and manipulate it with scripts like any other game object.

If you enjoyed reading, try my game Puzzledorf out on Steam and Humble Bundle.

You can also vote for Puzzledorf to be nominated for an award over at IndieDB.

2 thoughts on “How To Use 2D Sprites With a Particle Emitter – Unity

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: