I have 3 questions:
-
I know when I want to set shader for Sprite object by using spr1->setShaderProgram(glProgram)
However, I want to set shader for an Armature object. How can I do that? -
In CCSprite, I can use setBlendFunc, what about in Armature.
-
I read this article http://blog.muditjaju.infiniteeurekas.in/?p=1 and I see the idea to detect collision between 2 sprites. But I want to write a extended function which can detect collision between different object like sprite vs sprite, sprite vs Armature, Amature vs Armature. How can I do that?
Thanks