- 本帖最后由 eric_html 于 2012-7-29 21:51 编辑 *
- 使用多个tilesets,然后所有tileset的切割方式会按最后tileset的tile width和tile height进行切割
- 使用chrome或者firefox浏览器(没试别的),自己写的,不跳转,直接载入tilemap第一次切图会乱
3.object layer里的多边形和线条貌似在获取不到完整数据.矩形就可以…
可能是我用得不熟导致的 :){:soso_e101:}
可能是我用得不熟导致的 :){:soso_e101:}
正常这样的,绿色是box2d调试大家无视
336
但是chrome第一次进入是这样,firefox有时候也是这样…要刷新一次页面才能正常…
335
firefox有时候第一次进入是这样…
334
另外一个问题.貌似每次tilemap都是完全刷新整个画面?效率不是很高的样子…
:L再更新一个问题,就是tilemap如何获取object的object properties里的自定义property?
— Begin quote from ____
eric_html 发表于 2012-7-20 12:02 url
另外一个问题.貌似每次tilemap都是完全刷新整个画面?效率不是很高的样子…
— End quote
有做tilemap cache,所以不是每次都重绘所有sprite。
— Begin quote from ____
eric_html 发表于 2012-7-20 12:02 url
另外一个问题.貌似每次tilemap都是完全刷新整个画面?效率不是很高的样子…
— End quote
有做tilemap cache,所以不是每次都重绘所有sprite。
— Begin quote from ____
eric_html 发表于 2012-7-21 18:24 url
再更新一个问题,就是tilemap如何获取object的object properties里的自定义property?
— End quote
Github上的代码已经有这个功能了,但是还没有正式发布,下个版本正式发布的时候会有这个功能的。
— Begin quote from ____
eric_html 发表于 2012-7-21 18:24 url
再更新一个问题,就是tilemap如何获取object的object properties里的自定义property?
— End quote
Github上的代码已经有这个功能了,但是还没有正式发布,下个版本正式发布的时候会有这个功能的。
— Begin quote from ____
linshun 发表于 2012-7-30 00:38 url
Github上的代码已经有这个功能了,但是还没有正式发布,下个版本正式发布的时候会有这个功能的。 …
— End quote
谢谢大佬回答,
我去github上看了果然更新了读properties的功能.
但是这样如果properties有和普通属性重复的key会直接被properties给覆盖吧.
我自己也写了一个加properties的功能还有读取polygon,与polyline的.
http://www.chenzhenxi.com/?p=16
— Begin quote from ____
eric_html 发表于 2012-8-2 02:46 url
谢谢大佬回答,
我去github上看了果然更新了读properties的功能.
但是这样如果properties有和普通属性重复 …
— End quote
嗯,不错,研究看看
— Begin quote from ____
eric_html 发表于 2012-7-20 12:02 url
另外一个问题.貌似每次tilemap都是完全刷新整个画面?效率不是很高的样子…
— End quote
有做tilemap cache,所以不是每次都重绘所有sprite。
— Begin quote from ____
eric_html 发表于 2012-7-20 12:02 url
另外一个问题.貌似每次tilemap都是完全刷新整个画面?效率不是很高的样子…
— End quote
有做tilemap cache,所以不是每次都重绘所有sprite。
— Begin quote from ____
eric_html 发表于 2012-7-21 18:24 url
再更新一个问题,就是tilemap如何获取object的object properties里的自定义property?
— End quote
Github上的代码已经有这个功能了,但是还没有正式发布,下个版本正式发布的时候会有这个功能的。
— Begin quote from ____
eric_html 发表于 2012-7-21 18:24 url
再更新一个问题,就是tilemap如何获取object的object properties里的自定义property?
— End quote
Github上的代码已经有这个功能了,但是还没有正式发布,下个版本正式发布的时候会有这个功能的。
— Begin quote from ____
eric_html 发表于 2012-8-2 02:46 url
谢谢大佬回答,
我去github上看了果然更新了读properties的功能.
但是这样如果properties有和普通属性重复 …
— End quote
嗯,不错,研究看看