Jump to content

Creating blank Tilemaps


jeromegn
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

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