For my game I need a stacked tilemap, that is, each tilemap cell is a stack, where tiles can be put on top of each other. There are two types of tiles; full and partial. Full tiles have no transparency and partial have some transparency.
To optimize this, I may only render the topmost full tile of the stack and any partial tiles above it. However, it is my understanding you can’t put more than one component of each type in an entity, and even if you could, I’m not sure you can add components to an already built entity?
I could make each tile a separate entity and simply make them not render. I see there’s an SpriteVisibility and SpriteVisiblitySortingSystem, but I’m afraid I don’t know how to use it.
Another thing, is it necessary to create a spritesheet for a single texture? Is there a way to use the entire texture without creating additional .ron files?