Asset not found #1262
Answered
by
AlmasB
tobithe1st
asked this question in
Q&A
Asset not found
#1262
-
Hey, Im just getting started with FXGL and already have problems getting the TileMap set up.
After starting the application I get the following exception: I already tried all possible directories - nothing. When choosing a json file, the AssetLoader finds it ind resources/assets/json , but is also throwing an exception: Map was created with Tiled. |
Beta Was this translation helpful? Give feedback.
Answered by
AlmasB
Apr 5, 2023
Replies: 1 comment 5 replies
-
Hi, the above code for loading |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The line in module-info.java:
module com.keplertown.keplertown {
needs to beopen module ...
to allow FXGL to have access to resources..tmx
file format is not fully supported. Of particular note with this project are relative paths and infinite maps, so I re-generated the map to workaround these, see attached astest.txt
(you will need to rename back to .tmx)test.txt
All tileset images will need to be located in
assets/levels/
, wheretest.tmx
lives.I've opened a new feature request for the unsupported features.
The result is something like this: