David Barnes @ Packt

Aug 25

Cocos2D Tutorial - Dynamically Coloring Sprites, Tiny Tower Style

Custom Bitizens

Have you ever seen a game (such as Tiny Tower) that contains similar sprites that only vary by certain attributes (coloring, shading, accessories, etc…)? I would often wonder how long it would take the artists to create each permutation of these sprites. After discovering that you can call a method on a CCSprite called setColor, I realized how most of this customization is done in code.

This tutorial will be a continuation of my last post about creating your own Bitizen in Photoshop. So, if you don’t already have a Bitizen character to work with, I suggest you follow that tutorial OR download my template here.

Want to fill your Cocos2D game with hundreds of sprites of all races, creeds, and fashion sensibilities? Go no further than this adorable tutorial.

Posted via email from David Barnes at work | Comment »