Shrunk game size by 15% by including the images only when packed

This commit is contained in:
Yair Morgenstern
2018-08-13 08:56:15 +03:00
parent bb25616b69
commit fee0b718ec
173 changed files with 163 additions and 212 deletions

View File

@ -17,7 +17,7 @@ class DesktopLauncher {
// This is so they don't look all pixelated
settings.filterMag = Texture.TextureFilter.MipMapLinearLinear;
settings.filterMin = Texture.TextureFilter.MipMapLinearLinear;
TexturePacker.process(settings, "images", "images", "game");
TexturePacker.process(settings, "../images", ".", "game");
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
new LwjglApplication(new UnCivGame(), config);