cocos2d中的精灵变形

时间:2013-05-03 10:21:59

标签: cocos2d-iphone

我想问一下动态变形精灵的最佳方法是什么?

enter image description here

谢谢!

2 个答案:

答案 0 :(得分:1)

http://www.uchidacoonga.com/2012/03/soft-body-physics-with-box2d-and-cocos2d-part-24/

上面的链接是软体物理的教程,但你可以从本教程中得到相同的变形想法,他是如何绘制圆形的。检查"画"方法

答案 1 :(得分:0)

如果您使用cocos2d v3.x,以下教程可能会对您有所帮助:http://2sa-studio.blogspot.com/2014/05/soft-bodies-with-cocos2d-v3.html