演示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
总结以上是内存溢出为你收集整理的cocos2dx多边形纹理填充全部内容,希望文章能够帮你解决cocos2dx多边形纹理填充所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)