Godot Version
Godot 4.4.1
Question
which approach is better for performance, a huge spritesheet for most items or seperated ones? For UI elements I put them on a single spritesheet but im wondering if it is better I use my player sprites also in this sheet or maybe some other common enemy sprites too. Any suggestions?
It’s going to depend on several things; your hardware, your drivers, how your game uses things… the only real way to know is to test it.
Unless the unified spritesheet has a lot of unused space, I suspect the answer will be that it’s a bit of a wash. You’ll probably find it’s more of a question of what’s easier to manage. You may also find that eventually you want to be able to set different parameters on different textures (like, say, some may need mipmapping, or you might want to change the repeat or mag/min filters for a specific effect), which might argue for separation.