- Home /
Spawing small sprites proportionate to health
Hi,
I'm trying to create a game where the player and enemies health are represented by how many sprites it has.
So kind of like an RTS game where a unit will die once all the individual soldiers are killed. I'm trying to have small sprites be spawned around a "base" object, with their number corresponding to how much health the base has. Basically once I killed off all the enemy sprites it will "convert" the base.
Do you guys know of any tutorials or past topics that I can use to achieve this?
Thank you!
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
My health decreases to fast. 1 Answer
Scripts wont work if deactivated then activated? 0 Answers