New to Tilemaps? Check out my playlist for great beginner resources - "Start with your 2D Game": th-cam.com/play/PLJBcv4t1EiSysOLQnh2AwqmD9QTg9Qlx-.html Do you also want a moveable player on your map? Use Unitys New Input System: th-cam.com/video/xrLlZ1mHCTA/w-d-xo.html
Thanks for providing information without wasting any time. Seriously, most tutorials these days waste 5 minutes without actually showing anything, and they don't even explain stuff that clearly. (or sometimes way too clearly, which wastes even more time) We need more channels like this.
I love this, thank you so much. This is the most concise, efficient, and intelligent explanation I've been able to find. Your voice is also very soothing, while your diction is articulate, so its very pleasing to listen to and understand as well.
These videos are hidden gems. first one I have found on the subject on TH-cam with updated versions and that is crystal clear. these combined with the information from the older videos from the brackeys channel is all one could ask for. thanks!
This was the most straightforward tutorial for Tilemaps that I have found. I have been looking for a little while tonight. Thank you for this. Thank you so much!
I've watched so many videos trying to wrap my head around the basics and trying different things, but this is the best video I've ever watched! Thank you!
Really good tutorial, i'm just getting back to unity after a few years break, and hear the tilemap function was good instead of the Tiled program, so i found you, you now have a new sub :D
Really helpful and very well explained, no tangents, straight to the point, loud and clear Aside from that, you kinda sound as if you were about to cry, you ok buddy?
Fantastic Video, for some reason I always forget how to create the tile maps, in this case Im coming back to Ol'Unit from messing with godot for a year or two, and again... couldnt remember, glad I found this channel, clear instruction, not digressing into other areas, and explained in a way that makes sense, eg. Always check the Active tile map. I remember always screwing that up, in previous projects.
@@bellywash6684 Ha interesting. I don't know how it works in the background, so if it depends on the used tiles or rather if Unity might have changed something. But that's what comments are for, so I am glad you told us about and it surely will help someone else as well :)
It won't allow me to drag my sprite (or the sprites individually) into the Tile Palette. Any idea why that might be happening? I created a rectangular palette in Tile Palette, but it just doesn't allow me to drag and drop.
Just needed to know where the Tilemaps went in the newest Unity version and this popped up on Google. Subbed :) Und schön auch Deutsche in der Szene zu sehen :)
i have her a problem. i create a tilemap called ground and secand tilemap called "kisten" what is your "top". When i put a square on the tilemap "kisten" like you in a green area than i cant see the square anymore.... can you tell me what i am doing wrong? it should look like at 4:36 but it doesnt :/
Hello, I have a tile animation, but I would like to place it in a tilemap, I would like to do all this in code. But tilemap has only one function which is SetTile() which asks me for a TileBase, so the question, how can I convert my TileAnimatorData to TileBase?
Thank you :) Yes, actually this is a great idea. I was planning on doing some more tutorials about tilemaps and already have some code lying around with this functionality. So this should come in one of the next episodes
@@VelvaryGames That's excellent! Thank you for considering it and for the quick response :) Do you have a Patreon or anywhere you can direct me to help support?
@@jimkincaidz Oh wow, that's really generous of you, nice to hear :) Currently not, but I was planning on doing a Patreon and a Discord Server. Seems like I should focus more on this :D
Hello, thank you for this nice Tutorial. Just started again with Unity..and oh my gosh..unity changed so much in this years. Hast du geplant noch mehrere Tutorials zu machen ? Würde mich freuen darüber. Hab gerade im Video gesehen, es gibt nun eine Perfect Pixel Camera :o. Greets Van~
Haha, great to hear. Yeah, I also had a couple of years paused between using Unity, was very confusing. There will definitely be more videos, currently I just need a bit more time for making those. Danke dir ;)
If I try to slice my tilemap, thousands of small tiles are created. All the pixels of my 32x32 sprite will be made into a tile. does someone know how to fix this?
i do have a question if I where to make a small 2d game if I used free tile maps from a website and built my game up of that but created the story and basically the characters dialogue and everything else would I get in trouble for using the tile maps made by somebody else and or maybe added a few more designs to it
Thank you for your comment :) Yeah, rotating is possible when you have selected a tile and want to draw. Unfortunately I just know the key for my qwertz-keyboard, there it's the ß, the key to the right of zero. I think it should be somewhere near there for other layouts. I hope this somehow helps :)
good tutorial but it shows the same as all the others. I now know how to use a tilemap collider 2D for the usual purposes but what about when you build an island and can't fall into the water? I then have a tilemap collider that stops me a long way from the water because 2 tilemaps overlap and the collider for the water sticks out onto the island. How do you do something like that?
Thank you very much for this video. I am encountering a problem that after watching this video and reading the comments as well as other videos on tilemaps I still can't find the fix for... When I click a tile from the palette on the right to draw in the scene, it instead draws a smaller version of the tile. Its around 30% smaller than what the actual tile size should be and shows the background all around it. It's as if I had set a gap between all the tiles to begin with, but that is not the case. The tiles within the tile palette (on the right of my screen) are accurately sized with the tiles/squares, but when I move any of them to the scene its like they shrink. edit: after more video searching and messing around, changing the tilesheet image "Pixels Per Unit" in 'Inspector' from 100 to 53 brought it as close as possible to properly filling up the square. However this feels like a terrible solution. The problem may root from the size of the character I'm using? I set the grid cell size to .3 by .3 so it would properly work with my player/character model. Fixed: Made sure any images were set to pixel per unit to 16. Manually scaled my character/player till it looked right (which ended up being .5 x .5 x 1).
failed ,,, when drag the sprite to tilemaps palete EndLayoutGroup: BeginLayoutGroup must be called first. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
@@alopmemes1964 Yeah, it's simple but a great feature. Thank you for pointing out that a separate tutorial is a good idea, so people can find it easier :)
currently, "slice" in the sprite editor is greyed out. Oooo i changed "Sprite Mode" (underneath "texture shape" in the inspector) from "single" to "multiple." I believe it now allows me to slice. yay :) it does Recommendation to Unity: When a function is greyed out, please provide information on what has to be done for the function to be available for use.
Just change the "Order in Layer" number inside the "Sprite Renderer" component of your player object to a higher number. In the video I set the "Ground" layer to a negative number and the "Top" one stays at 0, so setting the player order to 1 would be enough to make it visible. I hope this helps you :)
Hello I followed this tutorial no issue but my tiles paint fully black? I see them fine in the tile palette but they just refuse to show up ... Edit: It was due to the lighting ... the button at top turning light bulb off in the scene fixed it. Not sure...
Good that you figured it out, lights were my first thought, but I only had those problems when combining tilemaps with unity render pipeline (URP). With a complete standard 2D project there shouldn't be any need for adding light sources. Turning the light bulb icon off seems to indicate that you need a light source in your scene but now a light is added to your camera.
@@VelvaryGames Your completely right. I only half thought I had it fixed by turning the lighting off in the scene (as that was only fixing it in the scene view). It was because I am using URP and it set my tileset default material as a 'lit material' so i just changed that to default material or unlit material and it sorted it. :)
New to Tilemaps? Check out my playlist for great beginner resources - "Start with your 2D Game": th-cam.com/play/PLJBcv4t1EiSysOLQnh2AwqmD9QTg9Qlx-.html
Do you also want a moveable player on your map? Use Unitys New Input System: th-cam.com/video/xrLlZ1mHCTA/w-d-xo.html
Thanks for providing information without wasting any time. Seriously, most tutorials these days waste 5 minutes without actually showing anything, and they don't even explain stuff that clearly. (or sometimes way too clearly, which wastes even more time) We need more channels like this.
One of the most beginner friendly tutorials. Straight to the point yet doesnt leave out anything. Thank you so much.
Thank you, happy it helped you :)
I love this, thank you so much. This is the most concise, efficient, and intelligent explanation I've been able to find. Your voice is also very soothing, while your diction is articulate, so its very pleasing to listen to and understand as well.
Oh thank you for your kind words. It's really nice to hear and I'm glad the video helped you :)
These videos are hidden gems. first one I have found on the subject on TH-cam with updated versions and that is crystal clear. these combined with the information from the older videos from the brackeys channel is all one could ask for. thanks!
This tutorial felt like a breath of fresh air. To the point and exactly what I was looking for. Du erklärst wirklich großartig. :)
That sounds great, danke :)
This Channel will go big, I know it
Haha well, I hope for it, thank you :)
This was the most straightforward tutorial for Tilemaps that I have found. I have been looking for a little while tonight. Thank you for this. Thank you so much!
Thank you for your nice words. I'm glad it helped you :)
I've watched so many videos trying to wrap my head around the basics and trying different things, but this is the best video I've ever watched! Thank you!
thank you so much. I can't believe you don't have more subscribers.
When I place tiles in the tile palette, the order is messed up. How can I place them in the tile palette in the right order at once?
Thank you dear, unfortunately lots of unity official study guides are outdated, gladly this vid came out to be very useful
Really good tutorial, i'm just getting back to unity after a few years break, and hear the tilemap function was good instead of the Tiled program, so i found you, you now have a new sub :D
i rarely subscribe a channel after the first video i watch of it, but this tutorial was so good, i cant lose your channel :D
very well made tutorial. helping me with my university final year capstone project. thank you for your work!
This is very helpful to me as an artist, now I know how make sheets easier for the programmer to use! Thank you!!
Thank you I actually needed this I swear that most videos are super outdated
Really helpful and very well explained, no tangents, straight to the point, loud and clear
Aside from that, you kinda sound as if you were about to cry, you ok buddy?
Fantastic Video, for some reason I always forget how to create the tile maps,
in this case Im coming back to Ol'Unit from messing with godot for a year or two, and again... couldnt remember, glad I found this channel, clear instruction, not digressing into other areas, and explained in a way that makes sense, eg. Always check the Active tile map.
I remember always screwing that up, in previous projects.
Fantastic video, straight to the point and so so helpful. Thank you so much!
hi, how are you scrolling the values in the inspector 0:56
Subbed!! this videos was just what i needed, perhaps you can talk about animations sometimes, keep it going!!
Thank you, glad it helped you :)
Yeah, animations are definitely on the plan but not scheduled currently.
Thanks for this, the other videos I found looked outdated:) Keep it up!
Thank you :) Glad to hear this.
Your tutorials are an absolute gold mine. Thak you very, very much!
4:30 Quick tip for people where the different layers aren't working. Put the tilemap renderer mode to Individual instead of Chunk.
Oh thank you for pointing this out. I also stumbled across this lately on an isometric map. Did you have those problems on a rectangular tilemap?
@@VelvaryGames Ye on the regutangular, I was trying to work with different layers but the tiles just wouldn't show up.
@@bellywash6684 Ha interesting. I don't know how it works in the background, so if it depends on the used tiles or rather if Unity might have changed something.
But that's what comments are for, so I am glad you told us about and it surely will help someone else as well :)
This video is very enlightening to me, thank you Vevary!!
Clear and proper explanation, thank you a lot!
Thank you :)
Sehr schönes Tutorial :D
Thank you a lot for this video! Very quick and helpful!
This is the one i was looking for thanks
It won't allow me to drag my sprite (or the sprites individually) into the Tile Palette. Any idea why that might be happening? I created a rectangular palette in Tile Palette, but it just doesn't allow me to drag and drop.
Hey I really like your way of explaining && was delighted to see you have more tutorials
keep going:)
Thank you, I will :)
Incredible and to-the-point tutorial thank you
I like your way of explaining! Good job!
Thank you :)
Really helpful video! Thank you very much :D Before this video i duplicated my gameobjects over and over again. This lagged out my game very much!
Oh then I'm happy you found this video. I think this is not only better for your performance but also for your mental health :D
This video is amazing. 10 out of 10
Excellent video. Simple, informative and easy to follow. :)
Thankyou so much this helped alot i was stuck on this for awhile and your video was very helpful!!!
5:20 is not working for my character movement in the tutorial where we move the character oddly it will not collide with tiles, need help.
That is the best Tutorial i found, thank you.
Shot and sweet. Good job !!👍👍
Just needed to know where the Tilemaps went in the newest Unity version and this popped up on Google. Subbed :) Und schön auch Deutsche in der Szene zu sehen :)
Haha, glad to see Google knows the good stuff ;) Und über deutsche Abonnenten freue ich mich glatt noch mehr :)
Thank you. Very nicely explained. Subscribed :)
explained exactly how it should have been. keep up the good work
This makes making levels a lot easier, viele danke
i have her a problem. i create a tilemap called ground and secand tilemap called "kisten" what is your "top". When i put a square on the tilemap "kisten" like you in a green area than i cant see the square anymore.... can you tell me what i am doing wrong? it should look like at 4:36 but it doesnt :/
Very easy to follow. Thank you very much for this video!
Thak you this video helped a lot I've never messed with 2d games before and had no idea what to do lol
6:25 The Tilemap Collider 2D does not have a 'used by composite" option in 2023.1.0.. What should I use instead?
Great! It's what I looking for!
I'm happy you like it, thank you :)
Hello, I have a tile animation, but I would like to place it in a tilemap, I would like to do all this in code.
But tilemap has only one function which is SetTile() which asks me for a TileBase, so the question, how can I convert my TileAnimatorData to TileBase?
my default brush draws 2 grids at once how do i make so it draws only one
edit: nvm i fixed it idk how
The Drop tile/sprite/sprite texture does not pop up for me AT ALL.
such a helpful tutorial! thank you!
Great tut! thank you so much!
Great tutorial!
This is a really well done tutorial.
Thank you, subscribed!
Would you be able to do one on an in-game tilemap editor, like a level editor?
Thank you :)
Yes, actually this is a great idea. I was planning on doing some more tutorials about tilemaps and already have some code lying around with this functionality. So this should come in one of the next episodes
@@VelvaryGames That's excellent! Thank you for considering it and for the quick response :)
Do you have a Patreon or anywhere you can direct me to help support?
@@jimkincaidz Oh wow, that's really generous of you, nice to hear :) Currently not, but I was planning on doing a Patreon and a Discord Server. Seems like I should focus more on this :D
so what do you do at 0:34 when the grid overlay for the tiles doesn't appear?
Hello, thank you for this nice Tutorial. Just started again with Unity..and oh my gosh..unity changed so much in this years. Hast du geplant noch mehrere Tutorials zu machen ? Würde mich freuen darüber. Hab gerade im Video gesehen, es gibt nun eine Perfect Pixel Camera :o. Greets Van~
Haha, great to hear. Yeah, I also had a couple of years paused between using Unity, was very confusing.
There will definitely be more videos, currently I just need a bit more time for making those. Danke dir ;)
Thank you very much for the great content, keep up the good work!
We love it! 🤙
Question, how do I make it so every single sprite has a colider properly?
it worked but the tiles are super small do you know how to fix this?
Thank you very much!
thank you! so much! i now can make my game!
Amazing video!
It will not let me click the create folder button what do I do
During the sprite editor part the image is not showing up
Really helpful video.
This is so helpful, thanks!
If I try to slice my tilemap, thousands of small tiles are created. All the pixels of my 32x32 sprite will be made into a tile. does someone know how to fix this?
i do have a question if I where to make a small 2d game if I used free tile maps from a website and built my game up of that but created the story and basically the characters dialogue and everything else would I get in trouble for using the tile maps made by somebody else and or maybe added a few more designs to it
i cant find any tutorial that tells me how to add the actual package please can u help
Unity seems to freeze when I slice my tileset, what am I doing wrong?
Thank you soo much, you helped me a lot!
3:00 how can I rotate for example the log to be vertical?
Amazing helpfull video btw! Easy thumbs up!
Thank you for your comment :)
Yeah, rotating is possible when you have selected a tile and want to draw. Unfortunately I just know the key for my qwertz-keyboard, there it's the ß, the key to the right of zero. I think it should be somewhere near there for other layouts. I hope this somehow helps :)
@@VelvaryGames Thank you!
I keep getting the error “ArgumentNullException: Value cannot be null” idk what I’m doing wrong anyone got any ideas?
NICE VIDEO! This helped me a lot! Thank you so much
good tutorial but it shows the same as all the others. I now know how to use a tilemap collider 2D for the usual purposes but what about when you build an island and can't fall into the water? I then have a tilemap collider that stops me a long way from the water because 2 tilemaps overlap and the collider for the water sticks out onto the island. How do you do something like that?
Thank you for this :D
how did you get that lighting effect?
I TRIED EVERYTHING BUT THE TILES DONT GO INTO THE TILE PALLET UGHHH
What am I doing wrong if it won’t let me create a folder to save it in? It just keeps saving create new pallet
You need to create the folder manually. Either inside this saving dialog of windows or directly in unity
If you keep painting over your palette check the unclick the edit button in the Tile Palette.
Thank you very much for this video. I am encountering a problem that after watching this video and reading the comments as well as other videos on tilemaps I still can't find the fix for...
When I click a tile from the palette on the right to draw in the scene, it instead draws a smaller version of the tile. Its around 30% smaller than what the actual tile size should be and shows the background all around it. It's as if I had set a gap between all the tiles to begin with, but that is not the case. The tiles within the tile palette (on the right of my screen) are accurately sized with the tiles/squares, but when I move any of them to the scene its like they shrink.
edit: after more video searching and messing around, changing the tilesheet image "Pixels Per Unit" in 'Inspector' from 100 to 53 brought it as close as possible to properly filling up the square. However this feels like a terrible solution.
The problem may root from the size of the character I'm using? I set the grid cell size to .3 by .3 so it would properly work with my player/character model.
Fixed: Made sure any images were set to pixel per unit to 16. Manually scaled my character/player till it looked right (which ended up being .5 x .5 x 1).
failed ,,, when drag the sprite to tilemaps palete
EndLayoutGroup: BeginLayoutGroup must be called first.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Is this a question?
u save my life bro
Can you also animate tiles in a tilemap?
Yes, check out my video about Auto Tiling, this explains the setup and has a short part of where I show how you can do this.
@@VelvaryGames Oh nice! Thank youuu :D Because i want to animate a floating river but i thought you cannot animate in tilemaps xD
@@alopmemes1964 Yeah, it's simple but a great feature. Thank you for pointing out that a separate tutorial is a good idea, so people can find it easier :)
THANK YOU SO MUCH :D
your voice is great,fall in evol with your voice
currently, "slice" in the sprite editor is greyed out.
Oooo i changed "Sprite Mode" (underneath "texture shape" in the inspector) from "single" to "multiple." I believe it now allows me to slice.
yay :) it does
Recommendation to Unity: When a function is greyed out, please provide information on what has to be done for the function to be available for use.
It does at 2:35 (:
amazing tutorial, but when ever i hit play, the top layer just disepears, anyone knows how to fix this?
Sorry for the late response. Did you change the Rigidbody type to "Static"? If it is still a dynamic RB it fall down due to gravity.
How do I put my “player” above the map?
Just change the "Order in Layer" number inside the "Sprite Renderer" component of your player object to a higher number. In the video I set the "Ground" layer to a negative number and the "Top" one stays at 0, so setting the player order to 1 would be enough to make it visible.
I hope this helps you :)
Thanks
thank you so mutch your very underated
Thank you so much for these videos. Any chance you plan to go into possibly doing procedurally generated maps utilizing rule tiles?
god damn thats a good tutorial.
THANK YOU FOR THE VIDEO : ) , i was really in doubt about something, now i'm not lol
I think that sounds like a good result, glad it helped :)
you the goat fr
Hello I followed this tutorial no issue but my tiles paint fully black? I see them fine in the tile palette but they just refuse to show up ...
Edit: It was due to the lighting ... the button at top turning light bulb off in the scene fixed it. Not sure...
Good that you figured it out, lights were my first thought, but I only had those problems when combining tilemaps with unity render pipeline (URP). With a complete standard 2D project there shouldn't be any need for adding light sources. Turning the light bulb icon off seems to indicate that you need a light source in your scene but now a light is added to your camera.
@@VelvaryGames Your completely right. I only half thought I had it fixed by turning the lighting off in the scene (as that was only fixing it in the scene view). It was because I am using URP and it set my tileset default material as a 'lit material' so i just changed that to default material or unlit material and it sorted it. :)
True Gem Indeed
Thank you :)