ios - Set sprite to default color -



ios - Set sprite to default color -

i have sprite , set color , want set old color(default color) how can it

here simple code

sprite = [[ccsprite alloc] initwithfile:@"zero.png"]; sprite.color = ccc3(255, 223, 0);

....

how set default color

sprite.color = ???????

or have find out default color find old color rgb code?

sprite.color = ccwhite;

and have add together text here so take answer. :)

ccwhite same ccc3(255, 255, 255)

ios xcode cocos2d-iphone

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -