
Switch GUI Textures to Texture Atlas
BlayTheNinth opened this issue ยท 0 comments
Having to find texture positions and put them in code is horrible, time consuming and hard to track later. Also, if we ever end up both adding textures (e.g. on separate branches) at the same time, chaos will happen.
I propose we get rid of the "shared" spritesheet we are using right now and store the icons by themselves as graphics and have them turned into a spritesheet when we update graphics.
I tried getting this to run with Minecraft's texture stitcher but it wasn't flexible enough, so for EiraIRC I wrote
TextureAtlas, TextureAtlasPage and TextureRegion
which can be used with the libgdx-texturepacker and which we could re-use here.