Tilemap: Rule Tile

Sdílet
Vložit
  • čas přidán 21. 01. 2018
  • Learn more about Tilemap and other 2D features at ole.unity.com/UnityFor2D
  • Hry

Komentáře • 79

  • @MrPicklerwoof
    @MrPicklerwoof Před 5 lety +24

    Rule Tiles are okay for simple blocked areas, but they desperately need to introduce the ability to detect the *type* of adjacent tile, not just the existence of a tile. They could become truly powerful with that feature.

  • @raafsgamedevden5291
    @raafsgamedevden5291 Před 6 lety +1

    This is so great that unity implemented native support for tilemaps. I didn't try 2d tilemap games for over 2 years but now i will test it :)

  • @iggyboyo
    @iggyboyo Před 6 lety +9

    Ok now this is a feature i'll welcome with open arms. I once managed to code this by hand (tiles that change according to their surroundings), and it was pure hell. Thanks unity team!

    • @ademdjek1253
      @ademdjek1253 Před 2 lety +2

      thankfully i decided to give it a little search before diving and writing 48 if statments.

  • @locker7256
    @locker7256 Před 6 lety +9

    This was easier than I expected

    • @Broockle
      @Broockle Před 3 lety

      i'm trying to get it to import, I can't get any of the tutorials online I found to work.
      could you tell me how you imported it?

  • @TheNefari
    @TheNefari Před 6 lety +1

    Wow the autoadjust was amazing :D
    now all we need is a 3d version of this^^
    can't get enough

    • @toreole2993
      @toreole2993 Před 6 lety

      TheNefari 3d wont come for this most likely. This is for the 2D tilemap
      How would you do 3D tiles

    • @TheNefari
      @TheNefari Před 6 lety +3

      Well the main idea is to have block-ish tiles that adapt to their surrounding tiles
      and then you can underlay some noise and generate a level in 3d.

  • @abalorias333
    @abalorias333 Před 6 lety +17

    It's possible to define for one rule multiple possible tiles? That would be a x10 feature, drawing a random one each time, so the design will be more organic.

  • @_Guigui
    @_Guigui Před 4 lety

    most underrated video possible

  • @FaceFirst
    @FaceFirst Před 6 lety

    Nice to have! Will look into it :)

  • @ChristopherCricketWallace

    Well done. Well done, indeed!

  • @OscarTorresWork
    @OscarTorresWork Před 6 lety +127

    Seems great but why isn't this implemented into the Game engine itself instead of making separate little downloads? Just wondering.

    • @reytr21
      @reytr21 Před 6 lety +18

      Oscar Torres because it's not stable yet. It will be included in Unity when it's stable just like post-processing stack.

    • @KasperSOlesen
      @KasperSOlesen Před 6 lety +11

      Yes, as HPSauce explained, they want to make Unity features into packages, so the whole engine will be modular, and you can choose which parts to include. It might also make all of these parts open source, so we might eventually be able to get custom versions of these tools made by other Unity users with different improvements or changes made to them.

    • @unity
      @unity  Před 6 lety +57

      HPSauce and Kasper are correct, the goal is to have as much as possible available as open source C# code. Unity is used for so many vastly different types of content. If you were making an FPS you wouldn't need this, and vice versa. Breaking it out as a separate package allows us to add functionality without bloating the editor. It also allows us to update, release and iterate faster. The new Package Manager functionality will help massively with all this. - Matt

    • @Roartal
      @Roartal Před 6 lety

      Unity Are there any plans on adding 3D Tilemap support on this? This would be amazing for level design in any genre.

    • @unity
      @unity  Před 6 lety +8

      Not that I'm aware of, you can however spawn 3D objects on a grid using Prefab brush, so you could build your own, and I wouldn't be surprised if someone makes one for AS soon. - Matt S.

  • @Indie7F
    @Indie7F Před 6 lety +7

    What if we are making top down 2D levels? Can you do a tile map tutorial on that please.

  • @1313hman
    @1313hman Před 5 lety +2

    So... I have been using unity for a few years but I have always made everything myself, thus I have no Idea how to import things into editor... I get an error when I copy the contents of the 2d-extras assets folder into my project and I cant find said content when I choose import in the menu. Anyone got a tip?
    Edit: So the error I get is that the "GameObjectBrush" has a syntax error in that "UnityEditor.PrefabUtility does not contain a definition for GetCorrespondingObjectFromSource", I thought that might make things a bit more clear

  • @danzilthard.7248
    @danzilthard.7248 Před 6 lety +1

    What I want to know is how to expose the grid functionality in the inspector for my own uses in creating custom editor scripts..

  • @cameronisfrosty7155
    @cameronisfrosty7155 Před 5 lety

    Does this work ingame? like live while playing, in a building game for example.

  • @wrinklymon
    @wrinklymon Před 6 lety +20

    Is this something that will eventually be available in the package manager? It's incredibly powerful.

    • @hippopotamus86
      @hippopotamus86 Před 3 lety +4

      2 years later it's still not.

    • @xSeonerx
      @xSeonerx Před 3 lety +1

      @@hippopotamus86 I was wondering if they added it or not, thanks for reply :D

    • @vic0th380
      @vic0th380 Před 2 lety

      @@xSeonerx Its added. Just search for 2D Tilemap Extras in package manager.

  • @Broockle
    @Broockle Před 4 lety

    Is there a way to set rules so that certain tiles have to be next to certain other tiles?

  • @Kokong100X
    @Kokong100X Před 5 lety

    HI! Is it possible that one rule tile combine to another rule tile?

  • @xrenynthemusicmage6422

    Can I also drag all my tiles into the rule tile at once? Because shoving all of them in one by one sure looks like a waste of time to me

  • @airvapps5971
    @airvapps5971 Před 6 lety

    in unity i can't see any tiles on my tile map whether i paint ittt

  • @davma21
    @davma21 Před 5 lety

    where can I download platfform VIdeo assets? Thanks

  • @SliderFF
    @SliderFF Před 6 lety

    awesome

  • @jgalec6
    @jgalec6 Před 4 lety

    This works with Unity 5.6.7f1?

  • @irfk4173
    @irfk4173 Před 2 lety

    I prefer to place the tiles manually in the pallette. I always find it laborious using Tile Rules!!

  • @lightxd65
    @lightxd65 Před 6 lety +1

    I can't create a Rule Tile even tho I downloaded 2d-extras and put it into my project :(

    • @lightxd65
      @lightxd65 Před 6 lety

      Okey dokey apparently the 2d extras scripts had some conflicts with mine. Seems like creating a new project is all i had to do.

  • @adriking5383
    @adriking5383 Před 4 lety +1

    I cant paint the tiles in :/
    Edit: Restarted and now it works

  • @KislyEmb
    @KislyEmb Před 6 lety +17

    we want an isometric tile.

    • @digimbyte
      @digimbyte Před 6 lety +1

      rotate the camera 45 degree's

  • @bvngmusic
    @bvngmusic Před 4 lety +2

    i cant create rule tile

  • @VashStarwind
    @VashStarwind Před 4 lety +1

    When I download the 2d extras package, the rule tile option will not show up, anyone know why?

    • @Rob-hm4jx
      @Rob-hm4jx Před 4 lety

      I have the same problem :/

    • @VashStarwind
      @VashStarwind Před 4 lety

      @@Rob-hm4jx Im pretty sure that unity made an update to the extras package that made this technique usable.
      At least thats what is seemed like, i never got it figured out lol. if you figure it out you should totally comment what the fix was

    • @Rob-hm4jx
      @Rob-hm4jx Před 4 lety +2

      Trip Dapperson Jr. okay so I re installed it and then made sure to import the whole 2D extras file (unzipped) into unity, then it seemed to work

    • @VashStarwind
      @VashStarwind Před 4 lety +1

      @@Rob-hm4jx Ok thanks I may give it another try, thank you for posting on how you got it.

    • @Rob-hm4jx
      @Rob-hm4jx Před 4 lety

      Trip Dapperson Jr. no problem :) thanks for replying cos otherwise I would have forgotten to post the answer

  • @cheesepop7175
    @cheesepop7175 Před 4 lety +1

    this is just what I needed
    thanks for it but I don't use unity

  • @reivaxcorp
    @reivaxcorp Před 6 lety

    Not working with other sprites

  • @MateiMircea100
    @MateiMircea100 Před 5 lety

    Can not find the package, help.

  • @henryjohn6244
    @henryjohn6244 Před 5 lety +3

    I love it but can you tell me how to add rule tile for unity please !

    • @TheSteveTheDragon
      @TheSteveTheDragon Před 4 lety +3

      download the git repository, unzip it and drag it into the unity assets. you'll have the option to create a ruletileset after that.

    • @henryjohn6244
      @henryjohn6244 Před 4 lety +1

      Thank you@@TheSteveTheDragon.

  • @LLIu30MaH
    @LLIu30MaH Před 4 lety +3

    it's almost 2020 and this amazing tool still isn't in unity by default =/

  • @Broockle
    @Broockle Před 3 lety

    man i spent the past 3 hours trying to get this to import. This guy just glosses over it like it's trivial....

    • @hippopotamus86
      @hippopotamus86 Před 3 lety

      Never mind, You just click on "Code" and then "Download Zip", then extract the "2d-extras-master" folder into your assets folder. Works straight away.

    • @Broockle
      @Broockle Před 3 lety

      @@hippopotamus86
      i found another tutorial where I download the zip, unpack it, rename it to "com.unity.2d.tilemap.extras" and paste it into my packages folder and that works.
      Extracting didn't do squat, I was messing around with the github plugin in forever. I don't think that thing extracts.....

    • @Broockle
      @Broockle Před 3 lety +1

      @@hippopotamus86
      o wait... by extract you're talking about unpacking it?
      I thought you meant literally click code -> extract
      That would be dreamy if you could do that.

    • @hippopotamus86
      @hippopotamus86 Před 3 lety +1

      @@Broockle Your way is reusable I think which is useful when doing lots of projects while learning. Thanks!

  • @toreole2993
    @toreole2993 Před 6 lety +7

    OH MY GOD
    FUCK
    I MADE THIS AS AN ASSET A FEW MONTHS AGO BUT THE ASSETSTORE REJECTED IT!
    RIP ALL MY WORK AND EFFORT

    • @toreole2993
      @toreole2993 Před 6 lety

      Should have been obvious that this would come sooner or later tho :/
      But yeah. Well i at least learned something from it

    • @toreole2993
      @toreole2993 Před 6 lety +3

      My asset even had the same exact name
      And there are different versions for it
      4-way / 8-way normal
      4-way / 8-way rotating (less setup)
      And it had basically the same functionality except for the custom inspector not being quite as fancy :(
      Im sad
      But also impressed

    • @jovem3767
      @jovem3767 Před 3 lety

  • @nalstudio_official
    @nalstudio_official Před 3 lety

    Why does he sound like Game Dev Guide?

  • @xSPESHERx
    @xSPESHERx Před rokem

    On Godot Engine it's much more easy to do.

  • @airvapps5971
    @airvapps5971 Před 6 lety

    :(

  • @reohd5250
    @reohd5250 Před 6 lety

    First

  • @KarlooAudi
    @KarlooAudi Před 6 lety

    Fk 2d games, make witcher 4.