总得做点什么 2020-05-21 16:25 采纳率: 20%
浏览 259

麻烦大家看看这个异常要怎么处理?

用cocos2d-android引用tiled地图时遇见的错

CCTMXMapInfo: [Ljava.lang.StackTraceElement;@3f4ab22f

tiled生成的.tmx文件

<?xml version="1.0" encoding="UTF-8"?>
<map version="1.2" tiledversion="2020.05.07" orientation="orthogonal" renderorder="right-down" width="14" height="6" tilewidth="46" tileheight="53" infinite="0" nextlayerid="9" nextobjectid="88">
 <tileset firstgid="1" source="bg1.tsx"/>
 <layer id="1" name="block" width="14" height="6">
  <data encoding="base64" compression="zstd">
   KLUv/WBQAG0FAJaSJilgF4sADPl+eYIMrDAi02v/s8KgcTumCCvXTwUWraVUAMmu4RkTbyd8DxgAGwAdAFO88+vWqzu84QynPl169IUrPOEIh/78IFF+cpNX8Aju8ZnLvOMc37jGM47xi1u84hOXGAbjvIEn8AIewEtO8pGXu7wl5Te3ec1pLvKQg/zjjznM67zrWa96EQ/iPTzqTU960WP5ylUe9J4FAAdW2Fe+zmG7nXxyp4Gl
  </data>
 </layer>
 <objectgroup id="2" name="tower01" visible="0">
  <object id="32" x="482.823" y="89.4888"/>
  <object id="33" x="433.916" y="89.4888"/>
  <object id="34" x="391.253" y="87.4076"/>
  <object id="35" x="346.509" y="87.4076"/>
  <object id="36" x="297.602" y="87.4076"/>
  <object id="37" x="249.736" y="86.3671"/>
  <object id="38" x="201.87" y="86.3671"/>
  <object id="39" x="161.288" y="86.3671"/>
  <object id="48" x="530.689" y="87.4076"/>
 </objectgroup>
 <objectgroup id="3" name="tower02" visible="0">
  <object id="40" x="481.783" y="134.233"/>
  <object id="41" x="529.649" y="135.274"/>
  <object id="49" x="435.998" y="135.274"/>
  <object id="50" x="389.172" y="133.193"/>
  <object id="51" x="345.468" y="133.193"/>
  <object id="52" x="301.764" y="134.233"/>
  <object id="53" x="250.777" y="131.111"/>
  <object id="54" x="203.951" y="137.355"/>
 </objectgroup>
 <objectgroup id="4" name="tower03" visible="0">
  <object id="55" x="525.486" y="187.302"/>
  <object id="56" x="483.864" y="186.261"/>
  <object id="57" x="439.119" y="189.383"/>
  <object id="58" x="392.294" y="187.302" width="2.08113"/>
  <object id="59" x="390.213" y="188.343"/>
  <object id="60" x="345.468" y="186.261"/>
  <object id="61" x="296.562" y="188.343"/>
  <object id="62" x="250.777" y="181.059" height="1.04057"/>
  <object id="63" x="252.858" y="188.343"/>
  <object id="64" x="203.951" y="188.343"/>
 </objectgroup>
 <objectgroup id="5" name="tower04" visible="0">
  <object id="65" x="525.486" y="246.614"/>
  <object id="66" x="482.823" y="242.452"/>
  <object id="67" x="440.16" y="242.452"/>
  <object id="68" x="389.172" y="240.371"/>
  <object id="69" x="339.225" y="244.533" width="1.04057"/>
  <object id="70" x="344.428" y="242.452"/>
  <object id="71" x="296.562" y="239.33"/>
  <object id="72" x="247.655" y="241.412"/>
  <object id="79" x="201.87" y="241.412"/>
 </objectgroup>
 <objectgroup id="6" name="tower05">
  <object id="7" x="172.734" y="290.318"/>
  <object id="8" x="218.519" y="290.318"/>
  <object id="9" x="263.263" y="289.278"/>
  <object id="10" x="311.13" y="289.278"/>
  <object id="11" x="356.914" y="289.278"/>
  <object id="12" x="400.618" y="287.197"/>
  <object id="13" x="447.444" y="289.278"/>
  <object id="14" x="495.31" y="289.278"/>
  <object id="80" x="520.284" y="243.493"/>
  <object id="81" x="482.823" y="241.412"/>
  <object id="82" x="432.876" y="238.29"/>
  <object id="83" x="391.253" y="234.128"/>
  <object id="84" x="346.509" y="238.29"/>
  <object id="85" x="298.643" y="235.168"/>
  <object id="86" x="251.817" y="235.168"/>
  <object id="87" x="207.073" y="242.452"/>
 </objectgroup>
 <objectgroup id="7" name="mo" visible="0">
  <object id="15" x="623.3" y="87.4076"/>
  <object id="16" x="579.596" y="131.111"/>
  <object id="17" x="622.259" y="30.1764"/>
  <object id="18" x="618.097" y="174.815"/>
  <object id="19" x="568.15" y="228.925"/>
  <object id="20" x="630.584" y="279.913"/>
  <object id="21" x="532.77" y="84.2859"/>
 </objectgroup>
 <objectgroup id="8" name="road">
  <object id="22" x="563.987" y="92.6105"/>
  <object id="23" x="563.987" y="144.639"/>
  <object id="24" x="561.906" y="200.829"/>
  <object id="25" x="565.028" y="253.898"/>
  <object id="26" x="563.987" y="304.886"/>
  <object id="27" x="150.882" y="89.4888"/>
  <object id="28" x="150.882" y="143.598"/>
  <object id="29" x="151.923" y="195.627"/>
  <object id="30" x="149.842" y="248.696"/>
  <object id="31" x="148.801" y="300.724"/>
 </objectgroup>
</map>

  • 写回答

1条回答 默认 最新

  • zqbnqsdsmd 2020-09-22 09:57
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 静电纺丝煅烧后如何得到柔性纤维
  • ¥15 (标签-react native|关键词-镜像源)
  • ¥100 照片生成3D人脸视频
  • ¥15 伪装视频时长问题修改MP4的时长问题,
  • ¥15 JETSON NANO
  • ¥15 VS开发qt时如何在paintgl函数中用pushbutton控制切换纹理
  • ¥20 关于 openpyxl 处理excel文件地问题
  • ¥15 MS中不知道高分子的构型怎么构建模型
  • ¥60 QQOP数据,什么是op数据号,怎么提取op数据!能不能大量提取(语言-c语言)
  • ¥15 matlab代码 关于微分方程和嵌套的分段函数。