★ TouchArcade needs your help. Click here to support us on Patreon.

Color management

03-14-2015, 12:13 PM
#1
Color management

Hi.

I'm wondering how many of you use your code to manage color for more complex games... Vs managing color in illustrator, photoshop, etc. In other words starting with white / greyscale assets and then rendering them in color.

I see benefits and drawbacks of managing color values in code, and I can't decide if its worth it. I'm pretty sure rocketcat did it for punchquest.

Do you do this? What are the pros and cons?

Pros:
Rendering them in a different hue is much faster than creating a new set of assets, skin
Smaller file-size (less assets)

Cons:
Time consuming to put in color values for each piece if for example eyes, horns, head all require different colors




Thanks!
Brian

Making apps and taking naps since 2013. Protect the sloths and the environment.

Our hottest game: King Rabbit

Our flagship game: Furdemption

twitter | website | facebook
03-14-2015, 08:46 PM
#2
Joined: Aug 2013
Posts: 1,065
I imagine most people who do it, do so because the graphics are replicated. For example 2 teams with same skins but different colour shirts.

Please follow me on twitter @JamesDestined I post lots of development from both my game creation and professional development.
Time to measure - Brain challenge https://itunes.apple.com/us/app/time...820864672?mt=8
The light box, can you solve it (free) (on google play too)
https://itunes.apple.com/us/app/the-...6300?ls=1&mt=8