Jump to content

tilemap loading json string vs file


Recommended Posts

I know I can load a json map file via game.load.tilemap(). However, I'm looking at using SignalR to make a multiplayer game and I want to send the json data (instead of a file) from the server to the client when the user logs in. Is there a way to load a map with json Tiled string instead of a file?



I want to do this because the entire map can be altered by the players so it can't be a static file that the client just downloads on start.




Nevermind it looks like json string works as well in game.load.tilemap().

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...