Creating Tilemaps For Your 2D Game in Unity 2021 - Tutorial

  Рет қаралды 214,543

Velvary

Velvary

Күн бұрын

Checkout AutoTiling - A Useful Feature for your Tilemaps: • Auto Tiling in Unity -...
Unitys Tilemap system makes it easy to create grid-based 2D levels and worlds. Without any coding you can draw tiles onto a Tilemap. With additional components like special colliders you can fastly create a usable prototype of a 2D game and enjoy a lot of cool features. The Tilemap system can be installed via the Package Manager and is pre-installed on a 2D project, selected via the Unity Hub.
2D Movement with Unity New Input System (Playlist):
• New Input System - Unity
The Tilesheet used in the video:
opengameart.org/content/outdo...
=========
💬 DISCORD: / discord
❤ SUPPORT ME: / velvary
🎮 PLAY MY GAMES: velvary.itch.io/
🦜 TWITTER: / velvary1
💡 ...MORE TUTORIALS: / velvarygames
=========
Timestamps:
00:00 - Create Project / Install Package
00:30 - Create a Tilemap
01:13 - Create a Tile Palette
01:50 - Prepare the Sprites
02:49 - Fill & Edit the Palette
03:43 - Draw Tiles
04:15 - Creating a Top Tilemap
05:04 - Tilemap Layer Ordering
05:20 - Tilemap Colliders
06:43 - Further Information

Пікірлер: 171
@VelvaryGames
@VelvaryGames 2 жыл бұрын
New to Tilemaps? Check out my playlist for great beginner resources - "Start with your 2D Game": kzbin.info/aero/PLJBcv4t1EiSysOLQnh2AwqmD9QTg9Qlx- Do you also want a moveable player on your map? Use Unitys New Input System: kzbin.info/www/bejne/rqOvnY1noq12iqM
@Burnnskii_Gaming
@Burnnskii_Gaming 2 жыл бұрын
These videos are hidden gems. first one I have found on the subject on KZbin 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!
@unforg1v3n
@unforg1v3n 9 ай бұрын
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!
@joachimschwarz4081
@joachimschwarz4081 3 жыл бұрын
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. :)
@VelvaryGames
@VelvaryGames 3 жыл бұрын
That sounds great, danke :)
@utkanbaskadem7904
@utkanbaskadem7904 6 ай бұрын
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.
@belisariussmith9095
@belisariussmith9095 3 жыл бұрын
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.
@VelvaryGames
@VelvaryGames 3 жыл бұрын
Oh thank you for your kind words. It's really nice to hear and I'm glad the video helped you :)
@MidnightSkyGD
@MidnightSkyGD 2 жыл бұрын
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!
@VelvaryGames
@VelvaryGames 2 жыл бұрын
Thank you for your nice words. I'm glad it helped you :)
@Tigris_DK
@Tigris_DK 2 жыл бұрын
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_hate_this_world
@i_hate_this_world 3 жыл бұрын
Great video. Concise, nice calm voice, good length. Looking forward to going through your other videos. Thank you so much.
@VelvaryGames
@VelvaryGames 3 жыл бұрын
Thank you, love to hear this :)
@playerdude2
@playerdude2 3 жыл бұрын
One of the most beginner friendly tutorials. Straight to the point yet doesnt leave out anything. Thank you so much.
@VelvaryGames
@VelvaryGames 3 жыл бұрын
Thank you, happy it helped you :)
@sprite9849
@sprite9849 Жыл бұрын
Your tutorials are an absolute gold mine. Thak you very, very much!
@BomberTVx
@BomberTVx 3 жыл бұрын
This Channel will go big, I know it
@VelvaryGames
@VelvaryGames 3 жыл бұрын
Haha well, I hope for it, thank you :)
@chrisheld8463
@chrisheld8463 Жыл бұрын
Excellent video. Simple, informative and easy to follow. :)
@monsterbisc6381
@monsterbisc6381 7 ай бұрын
very well made tutorial. helping me with my university final year capstone project. thank you for your work!
@SupernovaOneFourOne
@SupernovaOneFourOne 2 жыл бұрын
Incredible and to-the-point tutorial thank you
@XtrimUniverse
@XtrimUniverse 2 жыл бұрын
Shot and sweet. Good job !!👍👍
@coreyb6530
@coreyb6530 5 ай бұрын
Fantastic video, straight to the point and so so helpful. Thank you so much!
@nickhatboecker
@nickhatboecker 2 жыл бұрын
Very easy to follow. Thank you very much for this video!
@manincharge2097
@manincharge2097 2 жыл бұрын
thank you so much. I can't believe you don't have more subscribers.
@thelongestleg
@thelongestleg 2 жыл бұрын
Thankyou so much this helped alot i was stuck on this for awhile and your video was very helpful!!!
@beasy238
@beasy238 Жыл бұрын
Awesome video!!!
@FarazKhanDev
@FarazKhanDev 2 жыл бұрын
Thank you. Very nicely explained. Subscribed :)
@ZoltBolts
@ZoltBolts 3 жыл бұрын
This is the one i was looking for thanks
@nemintangir5713
@nemintangir5713 2 жыл бұрын
This makes making levels a lot easier, viele danke
@migoxixi
@migoxixi 3 ай бұрын
This video is very enlightening to me, thank you Vevary!!
@alex68976
@alex68976 3 жыл бұрын
That is the best Tutorial i found, thank you.
@hercules5546
@hercules5546 11 ай бұрын
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
@TheRealKaiProton
@TheRealKaiProton Жыл бұрын
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.
@findahuman6110
@findahuman6110 2 жыл бұрын
Thank you very much for the great content, keep up the good work!
@danieldubi56
@danieldubi56 Жыл бұрын
Sehr schönes Tutorial :D
@oli52
@oli52 Жыл бұрын
such a helpful tutorial! thank you!
@denkozlov4220
@denkozlov4220 2 жыл бұрын
Thank you dear, unfortunately lots of unity official study guides are outdated, gladly this vid came out to be very useful
@WildandWackyVideos
@WildandWackyVideos 3 жыл бұрын
Thanks for this, the other videos I found looked outdated:) Keep it up!
@VelvaryGames
@VelvaryGames 3 жыл бұрын
Thank you :) Glad to hear this.
@Story.Teller.5124
@Story.Teller.5124 23 минут бұрын
This video is amazing. 10 out of 10
@tiliku5000
@tiliku5000 2 жыл бұрын
explained exactly how it should have been. keep up the good work
@AudreyLexOBago
@AudreyLexOBago 2 жыл бұрын
This is so helpful, thanks!
@Ivan_Helsing
@Ivan_Helsing 3 жыл бұрын
Clear and proper explanation, thank you a lot!
@VelvaryGames
@VelvaryGames 3 жыл бұрын
Thank you :)
@AlexGorskov
@AlexGorskov Жыл бұрын
Great tut! thank you so much!
@hazy_nightshade
@hazy_nightshade 2 жыл бұрын
Amazing video!
@aybak3k
@aybak3k 2 жыл бұрын
Hey I really like your way of explaining && was delighted to see you have more tutorials keep going:)
@VelvaryGames
@VelvaryGames 2 жыл бұрын
Thank you, I will :)
@Toxicx-nf1to
@Toxicx-nf1to Жыл бұрын
Thank you I actually needed this I swear that most videos are super outdated
@nichao2276
@nichao2276 Жыл бұрын
Great tutorial!
@cyberpunkgirl7907
@cyberpunkgirl7907 2 жыл бұрын
We love it! 🤙
@garyl2255
@garyl2255 2 жыл бұрын
I like your way of explaining! Good job!
@VelvaryGames
@VelvaryGames 2 жыл бұрын
Thank you :)
@jianingzhuang104
@jianingzhuang104 2 жыл бұрын
Great video!
@nicolaswest392
@nicolaswest392 6 ай бұрын
Thak you this video helped a lot I've never messed with 2d games before and had no idea what to do lol
@paulog.arnante341
@paulog.arnante341 2 жыл бұрын
Thank you for this :D
@rekoban6348
@rekoban6348 Жыл бұрын
Really helpful video.
@marcellodelfiore1361
@marcellodelfiore1361 Жыл бұрын
THANK YOU SO MUCH :D
@serhumana_
@serhumana_ Жыл бұрын
Thank you soo much, you helped me a lot!
@P3dr1nP3trus
@P3dr1nP3trus 14 күн бұрын
thank you! so much! i now can make my game!
@realaezz
@realaezz 3 жыл бұрын
NICE VIDEO! This helped me a lot! Thank you so much
@etherealhatred
@etherealhatred 2 жыл бұрын
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?
@user-cc4hb8uq6p
@user-cc4hb8uq6p 3 жыл бұрын
Great! It's what I looking for!
@VelvaryGames
@VelvaryGames 3 жыл бұрын
I'm happy you like it, thank you :)
@endyDev13
@endyDev13 3 ай бұрын
u save my life bro
@Archeia
@Archeia 3 жыл бұрын
Thank you very much!
@sigge.g2193
@sigge.g2193 Жыл бұрын
Thanks!
@5785691
@5785691 3 жыл бұрын
Subbed!! this videos was just what i needed, perhaps you can talk about animations sometimes, keep it going!!
@VelvaryGames
@VelvaryGames 3 жыл бұрын
Thank you, glad it helped you :) Yeah, animations are definitely on the plan but not scheduled currently.
@shysgamecorner5779
@shysgamecorner5779 2 жыл бұрын
Thank you so much for these videos. Any chance you plan to go into possibly doing procedurally generated maps utilizing rule tiles?
@TotallylegitYH
@TotallylegitYH Жыл бұрын
you are amazing
@chilyphilly
@chilyphilly 2 жыл бұрын
god damn thats a good tutorial.
@sirjimbe9758
@sirjimbe9758 2 жыл бұрын
Preciate it
@Harounu_35Dz
@Harounu_35Dz 2 жыл бұрын
thanks bro
@elostolol0197
@elostolol0197 2 жыл бұрын
awesome
@alopmemes1964
@alopmemes1964 3 жыл бұрын
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!
@VelvaryGames
@VelvaryGames 3 жыл бұрын
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
@v3vlog
@v3vlog 2 жыл бұрын
True Gem Indeed
@VelvaryGames
@VelvaryGames 2 жыл бұрын
Thank you :)
@voloceiraptor_da5926
@voloceiraptor_da5926 2 жыл бұрын
thank you so mutch your very underated
@AravGamedev
@AravGamedev Жыл бұрын
Reply best tutorial 👌
@ricardocorreia1431
@ricardocorreia1431 2 жыл бұрын
thanks dear
@Andrew_Videos
@Andrew_Videos Жыл бұрын
ty 🙂
@Maxolt
@Maxolt Жыл бұрын
Thank's
@airanu_7640
@airanu_7640 Жыл бұрын
eres dios, gracias
@frigus7245
@frigus7245 2 жыл бұрын
two words for you ..... thank you
@kakac0der266
@kakac0der266 2 жыл бұрын
your voice is great,fall in evol with your voice
@fernandoguerrerobonilla2019
@fernandoguerrerobonilla2019 Жыл бұрын
buen video me zuscrivoi
@jimkincaidz
@jimkincaidz 3 жыл бұрын
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?
@VelvaryGames
@VelvaryGames 3 жыл бұрын
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
@jimkincaidz
@jimkincaidz 3 жыл бұрын
@@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?
@VelvaryGames
@VelvaryGames 3 жыл бұрын
@@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
@VanDeliar
@VanDeliar 3 жыл бұрын
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~
@VelvaryGames
@VelvaryGames 3 жыл бұрын
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 ;)
@MemeMaker-re7vu
@MemeMaker-re7vu 2 жыл бұрын
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).
@FaceFirst
@FaceFirst 3 жыл бұрын
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 :)
@VelvaryGames
@VelvaryGames 3 жыл бұрын
Haha, glad to see Google knows the good stuff ;) Und über deutsche Abonnenten freue ich mich glatt noch mehr :)
@TSMSnation
@TSMSnation 2 жыл бұрын
so what do you do at 0:34 when the grid overlay for the tiles doesn't appear?
@chihchang1139
@chihchang1139 2 жыл бұрын
how did you get that lighting effect?
@AlexFSTR
@AlexFSTR 2 жыл бұрын
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?
@VitorHugo-xo2ki
@VitorHugo-xo2ki 3 жыл бұрын
THANK YOU FOR THE VIDEO : ) , i was really in doubt about something, now i'm not lol
@VelvaryGames
@VelvaryGames 3 жыл бұрын
I think that sounds like a good result, glad it helped :)
@Moetehero02
@Moetehero02 2 жыл бұрын
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?
@Ziplock9000
@Ziplock9000 Жыл бұрын
6:25 The Tilemap Collider 2D does not have a 'used by composite" option in 2023.1.0.. What should I use instead?
@powpowcherrybomb
@powpowcherrybomb Жыл бұрын
hi, how are you scrolling the values in the inspector 0:56
@auroth6805
@auroth6805 11 ай бұрын
Question, how do I make it so every single sprite has a colider properly?
@nebtro
@nebtro 2 жыл бұрын
i cant find any tutorial that tells me how to add the actual package please can u help
@TheHeadlessMario
@TheHeadlessMario Жыл бұрын
my default brush draws 2 grids at once how do i make so it draws only one edit: nvm i fixed it idk how
@bellywash6684
@bellywash6684 2 жыл бұрын
4:30 Quick tip for people where the different layers aren't working. Put the tilemap renderer mode to Individual instead of Chunk.
@VelvaryGames
@VelvaryGames 2 жыл бұрын
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?
@bellywash6684
@bellywash6684 2 жыл бұрын
@@VelvaryGames Ye on the regutangular, I was trying to work with different layers but the tiles just wouldn't show up.
@VelvaryGames
@VelvaryGames 2 жыл бұрын
@@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 :)
@calvinnisson2290
@calvinnisson2290 6 ай бұрын
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.
@shield476
@shield476 Жыл бұрын
it worked but the tiles are super small do you know how to fix this?
@draft_fusion
@draft_fusion 8 ай бұрын
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.
@ibihuss6407
@ibihuss6407 Жыл бұрын
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 :/
@HasAudomMoy-Angel-Neko-X
@HasAudomMoy-Angel-Neko-X 2 жыл бұрын
Thanks, so I won't need to install some useless tool!
@alpi7411
@alpi7411 3 жыл бұрын
3:00 how can I rotate for example the log to be vertical? Amazing helpfull video btw! Easy thumbs up!
@VelvaryGames
@VelvaryGames 3 жыл бұрын
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 :)
@alpi7411
@alpi7411 3 жыл бұрын
@@VelvaryGames Thank you!
@Axolotl_with_a_cone
@Axolotl_with_a_cone 2 ай бұрын
yay
@MJZA93
@MJZA93 Жыл бұрын
If you keep painting over your palette check the unclick the edit button in the Tile Palette.
@rawkth5996
@rawkth5996 Жыл бұрын
The Drop tile/sprite/sprite texture does not pop up for me AT ALL.
@silverwolves1877
@silverwolves1877 2 жыл бұрын
During the sprite editor part the image is not showing up
Level editing made easy with Automapping
34:36
AdamCYounis
Рет қаралды 223 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 54 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 54 МЛН
My Puzzle Robot is 200x Faster Than a Human
21:21
Mark Rober
Рет қаралды 3,2 МЛН
Technique for Creating Beautiful Level Design
11:48
Pixel Architect
Рет қаралды 830 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 3,9 МЛН
How to work with humanoid animations in Unity
12:50
Unity
Рет қаралды 21 М.
TOP DOWN MOVEMENT in Unity!
22:30
Brackeys
Рет қаралды 1,2 МЛН
How To Make A Game Alone
8:11
Thomas Brush
Рет қаралды 1 МЛН
How to draw Pixel Art Grass Tiles (A Step-by-Step Tutorial)
14:58
Making My Dream Game At 17 Years Old | Devlog 0
10:33
Caleb Gilbert
Рет қаралды 156 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 54 МЛН