不使用cocos2d-x中的spritesheet动画图像

时间:2014-05-29 12:14:53

标签: cocos2d-x cocos2d-x-2.x

1。)我想在不使用spritesheet的情况下在Cocos2d-x V2.2.3中为图像添加动画效果。 我Error is shown in the image Please help me

2。)或者请给我一个工具的网址,它可以免费制作spritesheet。我使用过texturepacker,它的试用版已经过期了:(

1 个答案:

答案 0 :(得分:0)

Spritesheets真的是要走的路。 TexturePacker值得投资。严重。

如果您不想使用,addFrameWithFileName()现在不正确。

只需从每个电话中调出正常Sprite即可。还有其他方法。

编辑:以下是文档:http://www.cocos2d-x.org/wiki/Sprite_Sheet_Animation