When it comes to downloading files, it is typically much faster to download 1 big file rather than downloading 100 small files.
Even if the big file is 100 KB and you have 1000 1 KB files, it's still faster to download that one big file.
For example, consider a request I made for displaying keyboard keys on the screen.
http://forums.rpgmakerweb.com/index.php?/topic/52746-need-a-free-to-use-qwerty-keyboard-image-that-looks-good-on-the-screen/#entry520627
All of the keys are stored as separate, 100x100 images.
There are a total of 160 images.
Rather than loading them up separately, we can just pack them into one big file.
But what would be an easy way to do it?
We can use something called a texture packer.
Here is one such tool: https://code.google.com/p/libgdx-texturepacker-gui/
It allows you to just pick a bunch of images in a folder and combine them into one big image called a texture atlas.
For example, when all of those keys are combined into one texture, it looks like this
It also comes with a text file that tells you exactly where each image is, and how big the images are.
keyboard.pngformat: RGBA8888filter: MipMap,MipMaprepeat: noneKeyboard_Black rotate: false xy: 2, 1892 size: 100, 100 orig: 100, 100 offset: 0, 0 index: 0Keyboard_Black rotate: false xy: 2, 1787 size: 100, 100 orig: 100, 100 offset: 0, 0 index: 1Keyboard_Black rotate: falseIt looks like the program doesn't handle numbers in filenames properly.Going to try this one http://spritesheetpacker.codeplex.com/
Anyways, it should be cool.
Even if the big file is 100 KB and you have 1000 1 KB files, it's still faster to download that one big file.
For example, consider a request I made for displaying keyboard keys on the screen.
http://forums.rpgmakerweb.com/index.php?/topic/52746-need-a-free-to-use-qwerty-keyboard-image-that-looks-good-on-the-screen/#entry520627
All of the keys are stored as separate, 100x100 images.
There are a total of 160 images.
Rather than loading them up separately, we can just pack them into one big file.
But what would be an easy way to do it?
We can use something called a texture packer.
Here is one such tool: https://code.google.com/p/libgdx-texturepacker-gui/
It allows you to just pick a bunch of images in a folder and combine them into one big image called a texture atlas.
For example, when all of those keys are combined into one texture, it looks like this
keyboard.pngformat: RGBA8888filter: MipMap,MipMaprepeat: noneKeyboard_Black rotate: false xy: 2, 1892 size: 100, 100 orig: 100, 100 offset: 0, 0 index: 0Keyboard_Black rotate: false xy: 2, 1787 size: 100, 100 orig: 100, 100 offset: 0, 0 index: 1Keyboard_Black rotate: falseIt looks like the program doesn't handle numbers in filenames properly.Going to try this one http://spritesheetpacker.codeplex.com/
Anyways, it should be cool.