Hello,
I have a very simple question : I am making a game with many monsters, each of them as a health bar. Each monster is a different object (they are all different). Of course, these bars will evolve differently, according to the amount of damage taken by each monster.
What is the best way to do so ?
I can spawn a Bar by "spawn another object" from my Monsters Family, but then ALL the bars will decrease if ONE monster takes damage.
I could create a different bar for each monster, but as I have many monsters I am sure there is a better way to do so. What would you advise me to do ?
Regards,
Mogador