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

@ -16,7 +16,7 @@ object ImageGetter {
// always have to switch between like 170 different textures.
// So, we now use TexturePacker in the DesktopLauncher class to pack all the different images into single images,
// and the atlas is what tells us what was packed where.
val atlas = TextureAtlas("Images/game.atlas")
val atlas = TextureAtlas("game.atlas")
init{
}