Excellent, Claudio!

Using your second implementation (subclassing ColorLayer) I could extend
my existing life bar that was already changing color based on the
percentage of life left, to one that also gets shorter or longer
depending on the life left :)

If somebody wants to see a working example I would probably need to
clean up the code a bit and isolate the needed lines of code from the
rest and put it into one test file, let me know if anyone is interested.

Regards,

Ivo

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to