Optimizing 2D assets

Any digital game cannot be made without 2D art assets. There must be 2D assets in some form inside the game. So, as far as game component optimization is concerned, every 2D asset should also be optimized. Optimization of 2D assets means these three main things.

Size optimization

Each asset frame should only contain the effective pixels to be used in games. Unnecessary pixels increase the asset size and memory use during runtime.

Data optimization

Not all images require full data information for pixels. A significant amount of data might be stored in each pixel, depending on the image format. For example, full screen opaque images should never contain transparency data. Similarly, depending on the color set, images must be formatted in 8-bit, 16-bit, or 24-bit format.

Image optimization tools can be used to perform such optimizations.

Process optimization

The larger the amount of data compressed during optimization, the more time it takes to decompress it and load it to memory. So, image optimization has a direct effect on the processing speed.

From another point of view, creating an image atlas or sprite sheet is another way to reduce the processing time of images.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.12.50