Hello. I'm making an isometric pixel-art tycoon game. It's really simple visually, there are no lights or anything like that. Still. I'm starting to notice some performance problems when I have too many little people in my screen. In my gaming PC I start getting fps drops when I hit about 500 nodes, each with 3 sprites and a 2 frame animation. Sprites are 32x32 pretty light stuff in general.
I have isolated the problem to be simply in the rendering of the Nodes. I've simplified my physics processing, my pathfinding and my shader usage to no impact. The problem seems to reside purely on my sprite2D's. Once I move my camera away from them or make them invisible my fps shoots to the maximum again.
Is there something I could do about this? I'm planning on having as many of these sprites at a time as possible. I'm on compatibility renderer. I'm looking right now into using multimesh 2D, but I figured I'd ask before making any major changes to my current system.
Many thanks for any help 🙂