Hi I'm trying to add tiled map but all time I'm getting the same error:
"Exception in thread "LWJGL Application" com.badlogic.gdx.utils.SerializationException: Error parsing file: mar.tmx
at com.badlogic.gdx.utils.XmlReader.parse(XmlReader.java:83)
at com.badlogic.gdx.maps.tiled.TmxMapLoader.load(TmxMapLoader.java:70)
at com.badlogic.gdx.maps.tiled.TmxMapLoader.load(TmxMapLoader.java:59)"
我看到一个类似的帖子,有人说我的Map有错误的格式,但我尝试了每一种格式,仍然是一样的。调试之后,我得到map=null。有人知道它为什么不起作用吗?lll
8条答案
按热度按时间wh6knrhe1#
------lll
hpcdzsge2#
-----lll
h6my8fg23#
------lll
ef1yzkbh4#
------lll
sycxhyv75#
------lll
dbf7pr2w6#
------lll
iqxoj9l97#
hgb9j2n68#
------lll