简体   繁体   English

如何将平铺地图放入Java

[英]How to get a tiled map into Java

I've been trying to figure out how to put a map from tiled into my Java project, but my finds tell me to convert a tiled map to .xml and my version of tiled doesn't have that type available. 我一直在尝试找出如何将图块从图块放入我的Java项目中,但是发现告诉我将图块映射转换为.xml,而我的图块版本没有该类型。 The version I have is 0.17.1 我的版本是0.17.1

You can find links to Java libraries in the documentation , provided you are trying to read the TMX formt. 如果您试图阅读TMX格式,则可以在文档中找到指向Java库的链接。

You can get it the official Java Library from Maven here . 您可以在此处从Maven获得官方Java库

You can use TMX format. 您可以使用TMX格式。 It is XML already. 它已经是XML。 You can also export to JSON and use it as your map format 您还可以导出为JSON并将其用作地图格式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM