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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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