How To Make Custom Scripted Tiles In Unity

Поділитися
Вставка
  • Опубліковано 18 вер 2024

КОМЕНТАРІ • 18

  • @dwizzle815
    @dwizzle815 Рік тому +2

    ....this might literally be the most useful video ever posted on youtube....thank you for this! There is a million posts on the forums about "oh you have to create a tile with Tile (or TileBase) as the base class" yea...that's easy,but NOTHING tells you 1. Which methods you need to implement so that your tile actually "works" like a normal tile, and 2. how to actually get it into an asset "state" so that you can actually use the thing!

  • @Mwapaca
    @Mwapaca 2 роки тому +1

    Thanks, learning unity and trying to code an ingame level editor. This video helps me

  • @israel2515
    @israel2515 2 роки тому +10

    Is there any chance you could re-create this video with a better voice sound? I can barely understand what you're saying

  • @mrmogelost6720
    @mrmogelost6720 3 роки тому +6

    I don't think you can quite believe how helpful this was to me right now. Thank you very much.
    If you decide to make more though, buy a better mic.

  • @RAGErkgk
    @RAGErkgk 5 місяців тому

    For those wondering about the last section and how to get the counting tile to work, here's how to get a working tile: In the Counting Tile scriptable object, you should have one "Sprites" Array and one "Tiles To Check" array. In Tiles To Check you select the Counting Tile scriptable object (and any other tiles you want to count, I only have this one type though) and in Sprites you drag your number sprites into the array in numerical order (you can select all Sprites at once and drag them into the array).
    Now make a new TilePalette and drag the Counting Tile scriptable object into the Palette window and now you can paint with the Tile like normal and the number will update.
    I will paste my code into a reply if yours isn't working with this set up.

  • @collinyoung4972
    @collinyoung4972 2 роки тому +2

    Really appreciate how you just fast forward through how to actually implement the code in the unity project. I have a feeling that if you bothered to explain anything about the code or how it is used, this would be a great video. Unfortunately, this video will be useless for 99% of people, who can't understand what you are trying to do. And as for the 1% that are left - why would they bother watching such an unexplained, unintelligible mess to begin with?

  • @remus-alexandrusimion3439
    @remus-alexandrusimion3439 2 роки тому +1

    Saved my ass. Thanks!

  • @Domarius64
    @Domarius64 Рік тому +1

    Take your facemask off before recording a video :)

  • @taddeustentakel8598
    @taddeustentakel8598 2 роки тому +3

    Bro, can you talk even more drunk?? Do you guys actually hear your own produced Videos before you upload them? I think not.

  • @taddeustentakel8598
    @taddeustentakel8598 2 роки тому +3

    One of the worst videos I can say creeping through youtube, Jesus Christ.

    • @apollogeist8513
      @apollogeist8513 Рік тому +2

      It's just a video dawg, it's not gonna jump out and scare you.

    • @taddeustentakel8598
      @taddeustentakel8598 Рік тому

      @@apollogeist8513 maybe learn some proper grammar you abomination before you write nonsense under a senseful comment

  • @HugoDanielCampos
    @HugoDanielCampos 2 роки тому

    Hi @Vinark117
    In my unity the code you wrote don't show a new menu to create a new Tile.
    Also in the second code the GetTileData method is different, what does it really do?

    • @HugoDanielCampos
      @HugoDanielCampos 2 роки тому

      Never mind, it started to work after one day for mysterious reasons.
      Actually, instead of using the [MenuItem] mentioned at 2:46, I used the [CreateMenuItem] which saved me the need to create a method or import UnityEditor.
      Now it works perfectly.
      Thanks a lot!