Hello guys.
The title says it all. Why do I want to do that? Say I have an display object which has a health % number of 100%. I want to slowly turn that object red each time a bullet hit it.
I know I can do object:setFillColor(R,G,B) but how do I choose R,G,B element knowing that the object need to turn more and red as the object.health go from 100 to 0? I tried couple things but either the image (color) turn quickly to green/blue or turn to red almost right away. I need something that turn red slowly an finish with a dark red simulating object damage.
Any ideas?
Thanks guys for any help.
Mo