【项目经验】如何用TexturePacker & Physicseditor开发游戏
首先感谢Andreas的license。先广告一下Andreas。
-----------------------------------------------------
http://www.c
http://www.c
http://twitt
-----------------------------------------------------
CodeAndWeb / Andreas Loew
Brumersweg 15/1
89233 Neu-Ulm
Germany
因为TexturePacker和Physicseditor都是收费的。如果需要用到如下工具可以去如下地址申请免费的key。
http://www.codeandweb.com/request-free-license
My requirements to you are:
You write your own blogFacebook, 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 monthsYour blog is about game/software/web development or about application说下他们在游戏的作用。
作用:图片打包和资源优化。把散乱的图片打包成大图片,进行资源优化。
使用如下:
a.把图片拖到TexturePacker中,或添加文件夹(Add Folder)
b.设置导出路径及格式
c.点击发布(publish)
详情可以参考:http://www.codeandweb.com/texturepacker
作用:物理编辑器。让游戏的任何你想创建的实体具有现实的物理属性。
使用如下:
1.在Publish之后,是导出Plist的文件。
可以通过如下代码加载
// 加载物理模型 GB2ShapeCache::sharedGB2ShapeCache()->addShapesWithFile("xxx.plist");
详情可以参考:http://www.codeandweb.com/physicseditor/features