Mado

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Ok thx, will try the spritesheet loader thing, seems the more easy to understand, will post the solution if I find it.
  2. Hi, I'm trying to load a Json form another Json loaded in the loader but don't know how to do. loader .add("map", "../../assets/map/map.json") .load(setup); It is a Tiled .json and inside there is the path to the "tileset.json", it looks like this : "tilesets":[ { "firstgid":1, "source":"..\/tiled\/tileset.json" }], "tilewidth":32, How to access this "tileset.json", how can I add it to the loader ? Knowing that I don't want to have to put it manually, I want the loader to find the json path inside map.json and load it. Thanks.