日度归档:2014 年 5 月 14 日

Air调用外部程序

var process:NativeProcess = new NativeProcess();
var args : Vector<String> = new Vector<String>();
args.push(‘–sheet’);
args.push(url + ‘.png’);
args.push(‘–data’);
args.push(url + ‘.xml’);
args.push(‘–no-trim’);
args.push(‘–ma[……]

Read more

命令行中使用TexturePacker

1、环境变量PATH添加C:\Program Files\TexturePacker\bin
2、打开TexturePackerGUI,file-(install command line tool)-allow
3、TexturePacker –sheet output.png –data output.xml –no-trim –max-size 2048 –disable-rotation –format xml C:\Users\Hoothin\Documents\ani[……]

Read more