- Edited
Debug drawing for cocos2d-x
Hi guys,
I needed debug drawing so I wrote a CCNode subclass to do it.
Feel free to use & contribute:
https://github.com/vinova/spine-cocos2dx-debugdraw
Very nice, thanks! Small bug (should be "br"):
points[1] = ccpAdd(ccp(quad.br.vertices.x, quad.bl.vertices.y), skeletonPosition);
I saw you have a cocos2d-x fork that has an iOS project. Maybe you would be willing to make a pull request? :love:
I added debug rendering the CCSkeleton:
https://github.com/EsotericSoftware/spi ... 1af2cdcabc
You just set "skeletonNode->debug = true;". Thanks!
Pull request sent and got merged ^^