Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

how to add tiles by scripts

Discussion in '2D Experimental Preview' started by nasly, Dec 26, 2016.

  1. nasly

    nasly

    Joined:
    Oct 13, 2016
    Posts:
    6
    and can fit other nearby tiles automatically.
     
  2. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    The example scripted tile from Unity has some automated tile placement, but they are crude and not very user friendly at the moment. You have to customize it heavily to make it for case by case. I wish Unity spend a bit more time to give us better Editor script to deal with scripted tiles. At the moment, there are only few of them and not generic enough to be set up to fit the specific needs.
     
  3. Johaness_Reuben

    Johaness_Reuben

    Joined:
    Jan 27, 2016
    Posts:
    253
    We intend to provide more scripted tiles in the future, as we keep developing tilemap.
     
  4. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    Thats good to hear. There is one thing good about the current state of the scripted tile map. It kinda forces you to make your way into researching the algorithm behind it and now I have much better understanding of how it works. :D Now I think I can make some better scripted tiles and I have already developed fully functional 48 tile blob tiles for my usage.
     
  5. nasly

    nasly

    Joined:
    Oct 13, 2016
    Posts:
    6
    good news.you may look at TileTool2D's script in AssetStore