How to import my map ( tmx file ) in my java code


(Amine) #1

Hello.

So first, i know that there is a guide for this : Loading tmx map and displaying with JavaFX

But i honestly don’t understand at all. I tried to copy paste the code but i got many errors.

Ty


(Thorbjørn Lindeijer) #2

Does it help to look at the provided tmxviewer-java example application instead?

If you run into errors, please post them, otherwise there is no way to know where things are going wrong, or even whether you’re doing something wrong or whether it’s a problem in libtiled-java (a library that does have problems and is out-of-date for some stuff, because it is not used much and gets very little maintenance).