Jump to content

How do I set the current tileset of a map?


yourdeaddreams
 Share

Recommended Posts

Hi, I created a post about this already yesterday but it has somewhat vanished.

 

I'm currently looking at this example: http://phaser.io/examples/v2/tilemaps/blank-tilemap

In line #33 the author adds a preloaded tileset to the map which is used to draw tiles on the map. I found out that you can do this multiple times and the last one added ends up being the current tileset of that map. Makes perfect sense so far.

 

What I want to know is: how can I tell the map to change its current tileset to another one I've added to the map?

 

//EDIT: My original post is back: 

 

Edited by yourdeaddreams
original topic is back
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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