plugin-tiled Loading .tmx file #2843
Replies: 1 comment 3 replies
-
Solved, i used this repo: https://github.com/excaliburjs/sample-tiled-vite/tree/main?tab=readme-ov-file that helped me very much ! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i'm trying to develop a 2D roguelike game with ExcaliburJS, i want to import a .tmx (tiled map) file inside my game.
I'm using vite and pnpm.
Excalibur version: 0.28.2
plugin-tiled: 0.28.0
For that, i use this function:
I have no path problems when importing the .tmx tiled map file, and when printing the map object before creating the loader, i get this:
https://github.com/excaliburjs/Excalibur/assets/103574286/89796579-b633-466a-8d81-1b780d161c3f
So, i assume that the TiledMapResource object is well created.
The problem is that the Loader is frozen at 0%, and the logLoadingProgress function is running forever,

Could you help me figure out what's the issue here ?
PS: I'm new in the game development world
Thanks by advance !
Beta Was this translation helpful? Give feedback.
All reactions