Hi,
I have an idea of what I’m looking for in the end not the easiest way to do it. I am making a side scroller. While I am laying out the levels I forget which environment pieces are destructible. With my setup I can drag any sprite into the level and add a “health component” to the sprite. It is then destructible.
What I would like to do is when I add the " health component" to the sprite I get some kind of visual indicator telling me at a glance that that sprite has a health component. So when I’m looking over the level from a far I know which pieces can be destroyed. My first thought was the health component adds a billboard with a specific icon in front of the sprite, or maybe a text renderer with the word “Destructible”. I just don’t know how to have a component add another component but also know if I remove the original component.
I’m trying to make this as automatic as possible so when I eventually farm out level design the LD will have it as easy as possible. I’m also open to suggestions, something that would be easy to implement in c++.
Thanks
Russ