TexturePacker是一款很强大的游戏图片制作工具
它可以将连续动作图片组合在一起,生成一个组合的图片文件和一个plist文件
你可以在cocos2dx等引擎中根据组合前图片的名字直接调用组合的图片文件里面的相应的一帧图片
非常方便,这款软件有免费版和付费版,免费版当然只能用最基本的功能
但是TexturePacker的作者Adreas是个很好的人,你可以在网站上申请免费注册码
只需要如下要求:
My requirements to you are:
- You write your own blog
- Facebook, Twitter, Tumblr or Weibo are not blogs - unless you have 100.000 friends ;-)
- Your blog has at least 5 recent relevant entries which are at least a page long and not older than 6 months
- Your blog is about game/software/web development or about applications
最后也为TexturePacker打个广告:)
http://www.codeandweb.com/texturepacker
http://www.codeandweb.com/physicseditor
以后有机会再为Andreas的TexturePacker做个教程