ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Tilemap: Rule Tile

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ม.ค. 2018
  • Learn more about Tilemap and other 2D features at ole.unity.com/UnityFor2D

ความคิดเห็น • 79

  • @MrPicklerwoof
    @MrPicklerwoof 5 ปีที่แล้ว +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.

  • @iggyboyo
    @iggyboyo 6 ปีที่แล้ว +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 2 ปีที่แล้ว +2

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

  • @raafsgamedevden5291
    @raafsgamedevden5291 6 ปีที่แล้ว +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 :)

  • @abalorias333
    @abalorias333 6 ปีที่แล้ว +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.

  • @locker7256
    @locker7256 6 ปีที่แล้ว +9

    This was easier than I expected

    • @Broockle
      @Broockle 3 ปีที่แล้ว

      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?

  • @Indie7F
    @Indie7F 6 ปีที่แล้ว +7

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

  • @_Guigui
    @_Guigui 4 ปีที่แล้ว

    most underrated video possible

  • @TheNefari
    @TheNefari 6 ปีที่แล้ว +1

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

    • @toreole2993
      @toreole2993 6 ปีที่แล้ว

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

    • @TheNefari
      @TheNefari 6 ปีที่แล้ว +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.

  • @FaceFirst
    @FaceFirst 6 ปีที่แล้ว

    Nice to have! Will look into it :)

  • @ChristopherCricketWallace
    @ChristopherCricketWallace 6 ปีที่แล้ว +1

    Well done. Well done, indeed!

  • @OscarTorresWork
    @OscarTorresWork 6 ปีที่แล้ว +127

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

    • @hrcd21
      @hrcd21 6 ปีที่แล้ว +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 6 ปีที่แล้ว +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  6 ปีที่แล้ว +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 6 ปีที่แล้ว

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

    • @unity
      @unity  6 ปีที่แล้ว +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.

  • @danzilthard.7248
    @danzilthard.7248 6 ปีที่แล้ว +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..

  • @1313hman
    @1313hman 5 ปีที่แล้ว +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

  • @cameronisfrosty7155
    @cameronisfrosty7155 5 ปีที่แล้ว

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

  • @Broockle
    @Broockle 4 ปีที่แล้ว

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

  • @wrinklymon
    @wrinklymon 6 ปีที่แล้ว +20

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

    • @hippopotamus86
      @hippopotamus86 3 ปีที่แล้ว +4

      2 years later it's still not.

    • @xSeonerx
      @xSeonerx 3 ปีที่แล้ว +1

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

    • @vic0th380
      @vic0th380 2 ปีที่แล้ว

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

  • @Kokong100X
    @Kokong100X 5 ปีที่แล้ว

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

  • @xrenynthemusicmage6422
    @xrenynthemusicmage6422 4 ปีที่แล้ว

    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

  • @irfk4173
    @irfk4173 2 ปีที่แล้ว

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

  • @davma21
    @davma21 5 ปีที่แล้ว

    where can I download platfform VIdeo assets? Thanks

  • @airvapps5971
    @airvapps5971 6 ปีที่แล้ว

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

  • @jgalec6
    @jgalec6 4 ปีที่แล้ว

    This works with Unity 5.6.7f1?

  • @adriking5383
    @adriking5383 4 ปีที่แล้ว +1

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

  • @lightxd65
    @lightxd65 6 ปีที่แล้ว +1

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

    • @lightxd65
      @lightxd65 6 ปีที่แล้ว

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

  • @SliderFF
    @SliderFF 6 ปีที่แล้ว

    awesome

  • @reivaxcorp
    @reivaxcorp 6 ปีที่แล้ว

    Not working with other sprites

  • @bvngmusic
    @bvngmusic 4 ปีที่แล้ว +2

    i cant create rule tile

  • @KislyEmb
    @KislyEmb 6 ปีที่แล้ว +17

    we want an isometric tile.

    • @digimbyte
      @digimbyte 6 ปีที่แล้ว +1

      rotate the camera 45 degree's

  • @MateiMircea100
    @MateiMircea100 5 ปีที่แล้ว

    Can not find the package, help.

  • @cheesepop7175
    @cheesepop7175 4 ปีที่แล้ว +1

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

  • @LLIu30MaH
    @LLIu30MaH 4 ปีที่แล้ว +3

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

  • @VashStarwind
    @VashStarwind 4 ปีที่แล้ว +1

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

    • @Rob-hm4jx
      @Rob-hm4jx 4 ปีที่แล้ว

      I have the same problem :/

    • @VashStarwind
      @VashStarwind 4 ปีที่แล้ว

      @@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 4 ปีที่แล้ว +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 4 ปีที่แล้ว +1

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

    • @Rob-hm4jx
      @Rob-hm4jx 4 ปีที่แล้ว

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

  • @toreole2993
    @toreole2993 6 ปีที่แล้ว +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 6 ปีที่แล้ว

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

    • @toreole2993
      @toreole2993 6 ปีที่แล้ว +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 3 ปีที่แล้ว

  • @henryjohn6244
    @henryjohn6244 5 ปีที่แล้ว +3

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

    • @TheSteveTheDragon
      @TheSteveTheDragon 4 ปีที่แล้ว +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 4 ปีที่แล้ว +1

      Thank you@@TheSteveTheDragon.

  • @nalstudio_official
    @nalstudio_official 3 ปีที่แล้ว

    Why does he sound like Game Dev Guide?

  • @Broockle
    @Broockle 3 ปีที่แล้ว

    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 3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@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 3 ปีที่แล้ว +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 3 ปีที่แล้ว +1

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

  • @xSPESHERx
    @xSPESHERx 2 ปีที่แล้ว

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

  • @airvapps5971
    @airvapps5971 6 ปีที่แล้ว

    :(

  • @reohd5250
    @reohd5250 6 ปีที่แล้ว

    First

  • @KarlooAudi
    @KarlooAudi 6 ปีที่แล้ว

    Fk 2d games, make witcher 4.

    • @NoobyN00B
      @NoobyN00B 6 ปีที่แล้ว +4

      are you stupid m8?