TMXLayer should scale with _contentScaleFactor
TMXLayer should scale with _contentScaleFactor
Bug #4558 [New]
relevant pull request https://github.com/cocos2d/cocos2d-x/pull/5981
Status: | New | |
---|---|---|
Start date: | 2014-03-26 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | all | |
Target version: | - |
TMXLayer的scale应该随_contentScaleFactor缩放,
v3rc0 sample的tiledmap的显示随device不同显示效果不一样,
测试
canvas 960*640
designresoutionsize 960*640
tmx 1920*1280
的时候 因为tmxlayer没有缩放,地图显示会变得很小