Hello. I’m trying to use an assets library that has even tiles for ground elements (grass, sand etc) but has uneven measurements for some objects, like a house or a church. Just like any tile, those elements would be static. What are the less resource-consuming option?
- use a factory (implies each static element should have a game object, atlas picture, sprite etc)?
- design the map, with all elements (roads, terrain, houses, etc) as a big image that would fill only one big tile (lets say, a map 1200x1200 would occupy only one tile) and then arrange the collisions?
- try to group similar dimensions elements, build a “tile image” for each group and assign one extra layer for each group in the game?
- Is there any other solution that would be more efficient AND low-cost in terms of memory/cpu?
Thanks a lot.