gree / lwf

LWF - Lightweight SWF
http://gree.github.com/lwf/
zlib License
627 stars 167 forks source link

issues with text color rendered with cocos2d-x (alpha advancing, text effects) #126

Closed stari4ek closed 9 years ago

stari4ek commented 9 years ago

Fixed: alpha in "Advanced" color effect is ignored Fixed: color of text affects cocos2d text's effects (outline, shadow)

The main idea of PR is to use cocos2d::Label::setTextColor to specify text's color, instead of setColor which changes color of whole label, including effects attached (outline, shadow)

Discussion on cocos2d-x: https://github.com/cocos2d/cocos2d-x/issues/12590

Render examples: Before outline_issue After: outline_issue_fixed

splhack commented 9 years ago

Thanks

stari4ek commented 9 years ago

Thank You. Checked. Looks good.