I wanted to use TintBy on my DrawNode, same code worked for sprite but not for DrawNode.
laser->runAction(RepeatForever::create(TintBy::create(2, -255, 0, 0)));
This is what I want to do.
I wanted to use TintBy on my DrawNode, same code worked for sprite but not for DrawNode.
laser->runAction(RepeatForever::create(TintBy::create(2, -255, 0, 0)));
This is what I want to do.