Create Color class
Create Color class
Refactor #3047 [Closed]
This feature has been implemented at
https://github.com/cocos2d/cocos2d-html5/pull/1587
https://github.com/cocos2d/cocos2d-html5/pull/1596
Thanks.
- Description updated (diff)
- Status changed from New to Closed
- % Done changed from 0 to 100
Status: | Closed | |
---|---|---|
Start date: | 2013-10-23 | |
Priority: | Low | |
Due date: | ||
Assignee: | ludingping | |
% Done: | 100% |
|
Category: | - | |
Target version: | - |
There are currently methods to which you must pass a color created specifically with cc.c4f or cc.c4b or cc.c3b or they won’t work, but it would make more sense if you could use any constructor you find more comftible for creating a color instead of having to constrain yourself arbitrairly.
Examples and more details in this thread: http://www.cocos2d-x.org/forums/19/topics/36336