引擎版本3.3
我用TexturePacker打包图片,trim mode选择crop(flush, keep都已测试)。输出的plist文件确实是有offset参数。
但是使用图片帧在引擎中播放动画的时候,图片位置会出现偏差,例如:第二帧人物的位置就和第三帧人物的位置对不上。
求解决办法!!
引擎版本3.3
我用TexturePacker打包图片,trim mode选择crop(flush, keep都已测试)。输出的plist文件确实是有offset参数。
但是使用图片帧在引擎中播放动画的时候,图片位置会出现偏差,例如:第二帧人物的位置就和第三帧人物的位置对不上。
求解决办法!!
求关注!!!!!!
Removes the transparency around a sprite. The sprites appear to have the smaller size when using them. The position in the original sprite is stored. This option might not be available in all frameworks.
官网说的很具体了啊,不是所有framework都支持,另外我也没搞明白你为什么不用Trim模式
— Begin quote from ____
引用第2楼liuxiaoyi135于2015-08-13 20:41发表的 :
Removes the transparency around a sprite. The sprites appear to have the smaller size when using them. The position in the original sprite is stored. This option might not be available in all frameworks.
官网说的很具体了啊,不是所有framework都支持,另外我也没搞明白你为什么不用Trim模式 http://www.cocoachina.com/bbs/job.php?action=topost&tid=318902&pid=1368004
— End quote
因为项目资源的特殊原因确实不能用Trim,如果不支持,怎么去修改呢