My game has a number of background game objects containing an arbitrary number of sprites and tilemaps (to save bandwidth I’m re-using sprites and laying them out by hand inside Defold).
After a quick search I learned that game objects don’t have an alpha property, so I would have to set alpha on each sprite+tilemap individually. Is there a way of getting the “children” object of a game object? Or is there another way of achieving the same result?
I like to think Defolds is telling you: “Everything that exists in runtime you put there, so you know about it”
Meaning that if you put a sprite in a collection or spawned it by a factory you know that and can track it. So you would track all your sprite1, sprite2 etc and then from there tint them.
I kind of agree, but there is one caveat with this thinking: Separating art from code. The code, in my opinion, shouldn’t limit the artist (or create an inflexible workflow). Is there really no way around this?