Hi, quick question… I’m making a side-scroller game. Performance wise, is ti better to us modular assets (something like this: https://img.craftpix.net/2022/02/RPG-Platformer-Game-Assets2.jpg) to do a village with around 15 different buildings, each building would be made from 60-80 sprites (same layer, lit sprites, in the scene not on tilemap), or is it better to have 15 large (1024x1024?) “baked” sprites? I know it’s probably hard to answer, but I just need some guidance which way to go in…
Thanks
the lesser sprites the better performance, its better to have 1 big sprite than many small sprites
so for your question its better to have only 15 sprites
@flasker Thanks, so, assemble buildings in Photoshop and pack them into as little of spritesheets as possible…
Before you waste too much time optimizing something like this, know that modern hardware and Unity is a mighty powerful combination that will render a metric buttload of stuff before it even breaks a sweat.
Fifteen buildings is barely enough to make the GPU notice, let alone care.
I would suggest you follow you dream and make your art and your game as easily and simply and beautifully as possible, and really have a good time making it look great. It’s highly likely that performance will never be a concern.