I'd like to know if it's possible to fill a polygon shaped sprite with a squared/rectangular texture using cocos2d. I guess I will have to override the draw
method, but I have no idea on how to achieve this and couldn't find any useful resources online.
Regards