So you’re a game developer? Then sprite sheets are one of your best friends. Sprite sheets make drawing faster and can even consume less memory than standard screen drawing methods.
There are two awesome sprite sheet tutorials about sprite sheets on this site:
- How To Use Animations and Sprite Sheets in Cocos2D
- How to Create and Optimize Sprite Sheets in Cocos2D with Texture Packer and Pixel Formats
The second tutorial covers pixel formats in detail, which can have a measurable impact on a game’s performance.
If you’re not yet familar with sprite sheets, then a great introduction can be found this two videos:
The author of these videos is Andreas Löw, the creator of Texture Packer, one of the most popular tools for creating sprite sheets.
Besides using sprite sheets, several tips already covered here can be applied to games as well. For example, if your game has many sprites, such as enemies or projectiles in your standard shoot-em-up, then you can reuse sprites instead of recreating them every time.
One thought on “Use Sprite Sheets”