jeromegn Posted February 18, 2014 Share Posted February 18, 2014 Is there a way to create blank tilemaps and dynamically "fill" them? I tried creating the following: - `game.load.tilemap('map')` - which resulted in a warning, either a URL or data needs to be specified.- `map = new Phaser.Tilemap(game)` - which went looking in the cache for a key that wasn't specified (which the docs say is possible and ok). I just want the niceness of tilemaps but I want to generate them programmatically, not via Tiled. I could generate Tiled-compatible JSON, but I don't think that's best. Link to comment Share on other sites More sharing options...
StefanWeck Posted February 19, 2014 Share Posted February 19, 2014 I'm having the same question as you: http://www.html5gamedevs.com/topic/3945-dynamic-tilemap/ If you manage to find a solution, would be great if you could let me know I'll also keep on searching. Link to comment Share on other sites More sharing options...
jeromegn Posted February 19, 2014 Author Share Posted February 19, 2014 I'm having the same question as you: http://www.html5gamedevs.com/topic/3945-dynamic-tilemap/ If you manage to find a solution, would be great if you could let me know I'll also keep on searching. I think the solution might be to generate Tiled-standard JSON. Link to comment Share on other sites More sharing options...
Recommended Posts