Unity Game Development — Creating Enemy Explosions
Nothing can flatten your enthusiasm as much as watching your enemies vanish without so much as a whimper when you destroy them. It’s not uncommon to expect that our in-game actions carry some manner of weight. Failing to meet those expectations can lead to disappointment in our players.
It’s time to create some juicy eye candy to address this issue.
Objective:
Create an enemy explosion effect.
Method:
I have created, imported my sprite sheets into Unity, and sliced them accordingly. I will start by using the first frame by dragging it into my scene.
Dragging the sprite into the scene will accomplish two things: It will automatically create a new GameObject in my Hierarchy. It will also add the SpriteRenderer Component to that GameObject.
Next, I will add the Animator Component to my new GameObject.