....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!
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.
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?
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?
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!
....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!
Thanks, learning unity and trying to code an ingame level editor. This video helps me
Is there any chance you could re-create this video with a better voice sound? I can barely understand what you're saying
the subtitles saved me
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.
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.
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?
Saved my ass. Thanks!
Take your facemask off before recording a video :)
Bro, can you talk even more drunk?? Do you guys actually hear your own produced Videos before you upload them? I think not.
One of the worst videos I can say creeping through youtube, Jesus Christ.
It's just a video dawg, it's not gonna jump out and scare you.
@@apollogeist8513 maybe learn some proper grammar you abomination before you write nonsense under a senseful comment
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?
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!