New issue
 Projects > cocos2d-x > Issues > Bug #4558

TMXLayer should scale with _contentScaleFactor

Bug #4558 [New]
aeon_mine 2014-03-26 04:01 . Updated almost 11 years ago

TMXLayer的scale应该随_contentScaleFactor缩放,
v3rc0 sample的tiledmap的显示随device不同显示效果不一样,
测试
canvas 960*640
designresoutionsize 960*640
tmx 1920*1280
的时候 因为tmxlayer没有缩放,地图显示会变得很小

aeon_mine 2014-03-26 08:50

need add
this->setScale(_contentScaleFactor); in TMXLayer::initWithTilesetInfo

aeon_mine 2014-03-27 03:16

Atom PDF

Status:New
Start date:2014-03-26
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:all
Target version:-