Day 9. Framework. Collectible health and ammo. Sprite?

Dmitry Gordeev
1 min readNov 25, 2020

--

I have done three tasks today:

  1. Ammo count. You can see on the left bottom 15 current ammo. If you run out of ammo, you can hear a knocking sound and text field shake to the right.
  2. Collectible ammo. One more power-up that fills up ammo back to 15.
  3. Collectible health. +1 player life.

Now, have a look at those brand new power-ups. It is the sprite. Yes, it is no animation yet. The process of making it is not that simple. Here is the official tutorial https://www.youtube.com/watch?v=gbgIA3pwpHc

Did you count how many times he said the word “sprite?”. Anyway, if you are creating an animation for your objects from scratch, install 2D Sprite from Window — Package Manager in Unity. After, you can edit your sprite. I guess it is a better way to create that sprite via external software. Let me know in the comments.

See y!

--

--