Cocos Creator Tiled地图导入到cocos出现位置偏移问题

版本:2.3.4

 

Tiled地图导入到cocos出现位置偏移问题

 

在Tiled中

Cocos Creator Tiled地图导入到cocos出现位置偏移问题

 

 

 

导入到cocos后,左侧因为偏移出现了黑框,上部的尖石头图片往下偏移了。

Cocos Creator Tiled地图导入到cocos出现位置偏移问题

 

 

原因是原来地图有使用的旧图集没有删除导致的。

Cocos Creator Tiled地图导入到cocos出现位置偏移问题

 

 

在Tiled里把不使用的图集删除掉就可以了

Cocos Creator Tiled地图导入到cocos出现位置偏移问题