Topic was automatically imported from the old Question2Answer platform.
Asked By
divergy321
Hello!
I want to create simple RPG game. I want to create base actor which will contain common functions. On that basis i will create a player character and enemies, but do not know how to achieve maximum performance:
Is it better to create one big tileset with player and enemy textures and use it or better slice this big tilemap in to single textures and use them?
single texture “atlas” useful for optimization using batching, but difficult for management.
multiple textures are useful for management, but bad for optimization.
You can use 2 ways:
Don’t worry about performance until you get problem with it, and when you can get it, just join them into 1 Texture splitted to with AtlasTexture
Start with 1 Texture file (2048x2048px or 1024x1024px or 512x512px or 256x256px) size and split it at start with AtlasTexture. My tip is here: decide before start where in Altas you store player animations, where enemies, where objects.