读取tiledmap的对象层属性与实际属性不对

map1.tmx文件内容:

<?xml version="1.0" encoding="UTF-8"?>
<map version="1.2" tiledversion="1.3.5" orientation="orthogonal" renderorder="right-down" width="50" height="50" tilewidth="32" tileheight="32" infinite="0" nextlayerid="3" nextobjectid="6">
 <tileset firstgid="1" source="a2.tsx"/>
 <layer id="1" name="图块层 1" width="50" height="50">
  <data encoding="base64" compression="zlib">
   eJzt1sEKgCAQhGHzIj5yvUE9dQYKXtpWEHal//DhJXCGiSiFEBIAAFCL9cxK1nmlHrFm3ItDOHP3fJx0/+wuT8azuITTe4/2Xq2+R+sxsod13ll7WGaV7l9pj68ef9zDsot0/2rfq7cM2j02Jz36Ln0W7X+Jlz2kTiOscwMAAAAAAAAA/LkBU6dp1w==
  </data>
 </layer>
 <objectgroup id="2" name="对象层 1">
  <object id="4" name="出生地1" x="368" y="256">
   <point/>
  </object>
  <object id="5" name="出生地2" x="848" y="736">
   <point/>
  </object>
 </objectgroup>
</map>

不论怎么改x,y。creator读取到的x都是对的,y值都是错的。不知道怎么回事。打开map1.tmx文件没有问题.

瓦片地图导入之后, cocos 会改变它的原点坐标, 再转换下就行了

cocos默认原点是中心位置,我已经设置成左上角了。不是这个问题。
对象层我插入了一个点,coreator读取这个点的位置时,x坐标是对的,y坐标是错的。

顶一下!!!!

顶一下 。。