I am trying to increase the brightness of a sprite. My assumption was that CCTintTo or CCTintBy could be used to increase the RGB values so they are closer to white (255,255,255). For testing, I used the ActionTint sample in ActionsTest.m.
I modified line 437 to:
id action1 = [CCTintTo actionWithDuration:2 red:255 green:255 blue:255];
There is no visible change to the sprite. It appears that (255,255,255) is not white, but rather the sprites normal color.
I also tried adding:
[tamara setColor:ccWHITE];
No visible change to the sprite.
The documentation doesn't mention anything about this behavior for CCTintTo, CCTintBy, or setColor. Am I doing something wrong or is this a bug?
Cocos2d version: 0.99.1 r1875.