Is it possible to apply color/tint images with Corona? I’m porting a vector-art based game from a previous platform to Corona and all of my art assets are white lines which I then colored in-game. I have looked through the APIs but it seems you can only apply setFillColor to objects you draw with Corona, not imported artwork. Any help would be appreciated! [import]uid: 27812 topic_id: 16172 reply_id: 316172[/import]
Have a read on the setFillColor, it works for the Corona primitive objects and for the image, which in your case you are referring to as imported artwork.
cheers,
?
[import]uid: 3826 topic_id: 16172 reply_id: 60177[/import]
Whoa…it must have changed as I had a look at it a month or two ago and it didn’t have the image tinting…Anyone know when additive blend, etc modes will be added? [import]uid: 27812 topic_id: 16172 reply_id: 60187[/import]
Additive blend was added a couple months before tinting.
Search for ‘blendmode’ in the blog area of this site for a detailed explanation. It doesn’t appear to have made it to the regular api documentation yet. [import]uid: 9422 topic_id: 16172 reply_id: 60203[/import]
Just to let you know at present the image tinting features are only available to subscribers only via daily builds.
Thanks [import]uid: 84637 topic_id: 16172 reply_id: 60246[/import]