cocos2dxplist大图分割成小图片脚本 上传者:willgo 2019-04-29 11:36:45上传 RAR文件 1.8KB 热度 71次 Flash版本和Zwoptex版本都支持1安装python2例子:命令行输入pythonPlistToPngFormat0.pyD:\test\call(call即为plist文件名称) 下载地址 用户评论 更多下载 下载地址 立即下载 用户评论 码姐姐匿名网友 2019-04-29 11:36:45 用是可以用, 后来发现cocostudio的骨骼动画编辑器可以直接导出碎图。 感谢 码姐姐匿名网友 2019-04-29 11:36:45 我遇到的问题是cocos使用的armature特效切图有重名,用此工具切成小图,改名后,再用TexturePacker合成大图。切图部分使用此工具,好用。 码姐姐匿名网友 2019-04-29 11:36:45 环境问题么,报Traceback (most recent call last): File "PlistToPngFormat0.py" 码姐姐匿名网友 2019-04-29 11:36:45 可以运行 感谢分享了 码姐姐匿名网友 2019-04-29 11:36:45 不能用 报错Traceback (most recent call last): File "PlistToPngFormat0.py", line 64, in gen_png_from_plist( plist_filename, png_filename ) File "PlistToPngFormat0.py", line 28, in gen_png_from_plist root = ElementTree.fromstring(open(plist_filename, 'r').re 码姐姐匿名网友 2019-04-29 11:36:45 还需要装 Pillow ,最后还运行错误, 码姐姐匿名网友 2019-04-29 11:36:45 有些问题,没有成功运行。 码姐姐匿名网友 2019-04-29 11:36:45 我在mac 下怎么报File "/Users/yt/Desktop/car_sd/PlistToPngFormat2.py", line 4, in from PIL import Image ImportError: No module named PIL 码姐姐匿名网友 2019-04-29 11:36:45 如果附上一些配置就更好了,注意在新的python3以上是没法用的,需要自己调整 发表评论
用是可以用, 后来发现cocostudio的骨骼动画编辑器可以直接导出碎图。 感谢
我遇到的问题是cocos使用的armature特效切图有重名,用此工具切成小图,改名后,再用TexturePacker合成大图。切图部分使用此工具,好用。
环境问题么,报Traceback (most recent call last): File "PlistToPngFormat0.py"
可以运行 感谢分享了
不能用 报错Traceback (most recent call last): File "PlistToPngFormat0.py", line 64, in gen_png_from_plist( plist_filename, png_filename ) File "PlistToPngFormat0.py", line 28, in gen_png_from_plist root = ElementTree.fromstring(open(plist_filename, 'r').re
还需要装 Pillow ,最后还运行错误,
有些问题,没有成功运行。
我在mac 下怎么报File "/Users/yt/Desktop/car_sd/PlistToPngFormat2.py", line 4, in from PIL import Image ImportError: No module named PIL
如果附上一些配置就更好了,注意在新的python3以上是没法用的,需要自己调整