cocos2dx多边形纹理填充

前端之家收集整理的这篇文章主要介绍了cocos2dx多边形纹理填充前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

演示demo:

https://www.youtube.com/watch?v=hmXwtyvJk_c

参考(cocos2d):

http://www.raywenderlich.com/14302/how-to-make-a-game-like-fruit-ninja-with-Box2d-and-cocos2d-part-1

http://www.raywenderlich.com/14393/how-to-make-a-game-like-fruit-ninja-with-Box2d-and-cocos2d-part-2

参考(cocos2dx切割sprite)

http://stackoverflow.com/questions/22662400/cutting-shaped-holes-in-polygons-in-cocos2d


遇到的问题和解决方

cocos2dx gl 缓存的问题

http://stackoverflow.com/questions/28367881/why-i-need-add-empty-ccclippingnode-between-each-slice-part-in-cocos2dx-2-2-6/28367882#28367882

猜你在找的Cocos2d-x相关文章