[Resolved] Changing sprite's color palette during reder.

Hello fellow developers,

Summer break is coming and I am back working on a new iOS game again with corona! I notice there are a huge loads of updates like local notification (yay!) and game center! And the level editor looks good. Thanks Corona!

So back to my question. I am using the sprite API provided by ansca. Is it possible to change the sprite’s color in anyway so that players are able to switch skin colors for their character without having me creating different sprite sheets for each skin color. If i am doing it totally wrong, please let me know too! [:

Thanks in advance for your time. [import]uid: 74723 topic_id: 24545 reply_id: 324545[/import]

I’d say no, although it depends what the player looks like.

I’ve used setFillColor on sprites of walking bugs that only needed to be one color but on something more complex it wouldn’t work.

TL;DR - for now you’d need to create different sprites for each color set.

Peach :slight_smile: [import]uid: 52491 topic_id: 24545 reply_id: 99458[/import]

Thanks for the reply [: I will just stick with multiple sprites for now. [import]uid: 74723 topic_id: 24545 reply_id: 99694[/import]

No worries, sorry it couldn’t be the answer you were hoping for this time :wink: [import]uid: 52491 topic_id: 24545 reply_id: 99717[/import]