use .world files

Hi!

I created a world with Tiled and now I want to use it in Phaser. I can use tilemaps with the json, but the world from Tiled is exported as a.world file.
How can I create my world game from this .world file?

:wave:

You can load the world file as JSON and then read it, but I don’t know if there’s much useful information in it. Maybe the coordinates.

So I changed the file.world to file.json and tried to replace this.load.tilemapTiledJSON(‘tilemap’, ‘assets/file.json’) with this.load.tilemapTiledJSON(‘tilemap’, ‘assets/file.json’) but i got the following error:
Uncaught TypeError: Cannot read properties of undefined (reading ‘toLowerCase’);

How dos it work then?

function preload() {
  this.load.json("world", "world.json");
}

function create() {
  const world = this.cache.json.get("world");
}