Texture switching with a entity system
- by GameDev-er
I'm using thinking of using an entity system in my game. So far I've been using Artemis with success. However, I have a question about texture switching. I read that switching textures too often is bad. So I load all the textures when the game loads like so:
import org.newdawn.slick.opengl.TextureLoader;
...
public HashMap<String, Texture>…