Making an Isometric Tilemap with Elevations and Colliders in UNITY

  Рет қаралды 65,274

samyam

samyam

Күн бұрын

Пікірлер: 102
@jamesr6311
@jamesr6311 3 жыл бұрын
After watching so many other isometric tile map videos this is by far the best produced, most concise, and taught the ideas so well! Thank you!
@samyam
@samyam 3 жыл бұрын
Yay! Thank you 😄
@warningshotdesigns
@warningshotdesigns 2 жыл бұрын
@@samyam I agree with them completely. The only critique I have is talk a little slower, or give a little pause between steps. I had to rewind over and over lol
@sirnicoosokhan4056
@sirnicoosokhan4056 4 жыл бұрын
Best explanation that I have found on KZbin to correct my tile map problems. Thanks a million.
@danielgilbert8338
@danielgilbert8338 3 жыл бұрын
Have been trying to figure out collision in an isometric environment for a while and this is the video that finally got it to make sense. Thanks! Keep up the great work
@reedmohammed40
@reedmohammed40 3 жыл бұрын
Instablaster.
@adventuresinTW
@adventuresinTW 3 жыл бұрын
This is one of the best step by step tutorials put together. Thanks for doing this.
@samyam
@samyam 3 жыл бұрын
Thank you! 😄
@rag544
@rag544 2 жыл бұрын
I have never done a thing with tiles before but now i feel enlightened. Thank you so much for this :)
@charatjeeravipoolvarn464
@charatjeeravipoolvarn464 2 жыл бұрын
Explanation is so good. Clear and understand. Thank you.
@samyam
@samyam 2 жыл бұрын
Thanks!
@NickChecan
@NickChecan 10 ай бұрын
Your tutorials are great! That is exactly what I was looking for.
@samyam
@samyam 10 ай бұрын
Thanks!
@danenriq3451
@danenriq3451 3 жыл бұрын
the unsung hero of isometric tutorials, you deserve more subs honestly
@samyam
@samyam 3 жыл бұрын
Thanks :)
@hacbe1894
@hacbe1894 Жыл бұрын
This is great our professor has recommended this to us! Thank you very much!
@samyam
@samyam Жыл бұрын
That’s awesome to hear thanks!!
@psychicmrs6410
@psychicmrs6410 3 жыл бұрын
your isometric videos have been so helpful! Thank you so much
@Sohodollie
@Sohodollie 2 жыл бұрын
What a great video, seriously. I've watched a couple of tutorials but this one really explains and shows everything perfectly. Can't wait to add movement in the next tut!
@samyam
@samyam 2 жыл бұрын
🙌 Thank you!
@DanTheMan-rr3yg
@DanTheMan-rr3yg 2 жыл бұрын
FYI for everyone, you can actually set the rigidbody to a "static" body type instead of the default of dynamic and setting the gravity to 0 and freezing the coordinates. Unless you want to be able to move tiles during gameplay of course
@samyam
@samyam 2 жыл бұрын
Thanks!
@dotaportalvideo
@dotaportalvideo 4 жыл бұрын
Really cool video on a topic I wish there were more videos on. Found this link on reddit.
@samyam
@samyam 4 жыл бұрын
Thanks! Soon I'll be uploading a video on Mouse Movement for Isometric maps :) Feel free to join my Discord if you have any questions: discord.gg/B9bjMxj
@envi5532
@envi5532 Жыл бұрын
best isometric tutorial out there thank you
@katanafamily5064
@katanafamily5064 3 жыл бұрын
Great video so far, but I'm confused. I know that the Unity engine is constantly changing (as a noob, I at least have THAT much figured out). She keeps saying "X as Y" but I keep seeing "Z as Y". Are these interchangeable and should I assume that older tutorials will show an X instead of a Z?
@samyam
@samyam 3 жыл бұрын
No I just get confused when I see Z and sometimes say X 😂
@katanafamily5064
@katanafamily5064 3 жыл бұрын
@@samyam ah! Ok thank you! Great stuff!
@robertkillerrodrigues
@robertkillerrodrigues 3 жыл бұрын
Thank you, I loved this tutorial tomorrow I will gonna test this, I watched so much videos to see how to resolve this problem and nobody was talking about it, tank you so much, now i can stat my beautiful project of MMORPG 2.5d
@samyam
@samyam 3 жыл бұрын
Good luck!
@bsteven93
@bsteven93 3 жыл бұрын
Great tutorial. I was having a issue with my tiles generating as huge blocks you showed me what I need to change to fix that. Thank you very much!
@samyam
@samyam 3 жыл бұрын
Awesome! 👏
@EsportsPoptart
@EsportsPoptart 2 жыл бұрын
You need to adjust the "Pixels Per Unit" Size on the textures from 100 -> 1024 on each sprite you want to add to the tile pallet.
@playonce4186
@playonce4186 3 жыл бұрын
I was looking at how to get those tiles at the perfect square and with the anchor set to 0 it worked thanks!
@playonce4186
@playonce4186 3 жыл бұрын
@ArtBySabin
@ArtBySabin 3 жыл бұрын
Great channel and content! I just downloaded these tiles, can't wait to play!
@samyam
@samyam 3 жыл бұрын
Thanks!! 😄
@shagman1779
@shagman1779 3 жыл бұрын
Thanks a lot! Is there any chance you could make a video showcasing how to code grid-based movement on an isometric map such as this? As in, moving cell-by-cell like in a tactical turn-based game.
@samyam
@samyam 3 жыл бұрын
Great idea! I'll put it on my list for a possible future video. In the meanwhile this video I made on grid movement might help, you might just have to change the direction to move in kzbin.info/www/bejne/j5_agKKuqcyNh6s
@GustOfLuck
@GustOfLuck 3 жыл бұрын
BEST TUTORIAL EVER, im making a game thx to u
@Nico-wf7wg
@Nico-wf7wg 2 жыл бұрын
What a nice tutorial, thanks so much!
@raccoonduck5406
@raccoonduck5406 3 жыл бұрын
Perfect tutorial! Thanks a billion.
@Oliver_Koppert
@Oliver_Koppert 3 жыл бұрын
Thanks, Samyam! Once again your video is much clearer & explains the tools far better than a whole bunch of other videos. I'ma have to stop doing general searches for tutorials & check your content first before wasting hours trawling through generic, unhelpful poop! Thank you!
@reneandersen7382
@reneandersen7382 4 жыл бұрын
Really a good explanation on the tilemap!
@uluulgen3878
@uluulgen3878 4 жыл бұрын
sabahtan beri bunu ariyordum cok tesekkur ederim.
@rs_2305
@rs_2305 3 жыл бұрын
Nicely explained thanks
@haachamachama7
@haachamachama7 2 жыл бұрын
Just a thought, why make a separate "collider" tile and keep the water on the first tileset instead of just making the water a separate tileset with separate colliders?
@senorspoons6416
@senorspoons6416 Жыл бұрын
Thank you so much!
@SlipperyVeins
@SlipperyVeins Жыл бұрын
I got a question: let's say the grid is XZY, meaning it's horizontal along Z axis. I'm trying to apply Tilemap Collider to it and since the collider is 2D, it exists only in X and Y. Is there a way to rotate 2D collider or the only solution is to apply a different (3D) collider?
@coderious4568
@coderious4568 4 жыл бұрын
Great video! It's bookmarked for next time I work with tilemaps
@바밤바-j6s
@바밤바-j6s Жыл бұрын
thanks for video! :)
@DarkScreen-vh7wy
@DarkScreen-vh7wy 9 ай бұрын
Boa noite! Você tem algum tutorial ensinando a criar um rpg isometrico pela Unity?
@hwikkik
@hwikkik 2 жыл бұрын
Great Video
@ghriankashtagelenski6577
@ghriankashtagelenski6577 4 жыл бұрын
I have tried making such a concept a while ago, my main problem was sorting the sprite of the character and tiles when the character was in front or behind an elevated tile, or even under an elevated tile such as a bridge. I managed to make it work with some scripting but the collisions were very funky as a result. Did you address this issue, or is your character unable to stand behind a crate (lower body of the character hidden by the crate) ?
@samyam
@samyam 4 жыл бұрын
Heres a great article about the concept (using sorting layers depending on position): www.google.com/amp/s/breadcrumbsinteractive.com/two-unity-tricks-isometric-games/amp/ Lets know if that helps!
@jordyncampbell1176
@jordyncampbell1176 Жыл бұрын
@@samyam Do you still remember what that article was or know where it was moved to by any chance?? (Or do you have another article or a video on it?) :)
@MythozTheMyth
@MythozTheMyth 4 жыл бұрын
interesting video. is it possible to disable the tilemap renderer completely for the collison layer or does this cause issues?
@samyam
@samyam 4 жыл бұрын
That also works in this case!
@SophiefromMars
@SophiefromMars 3 жыл бұрын
I've followed all the instructions here and on Unity's official tutorial and I still can't get collision to work... It'll turn out to be something silly and small that I've missed. It always is...
@samyam
@samyam 3 жыл бұрын
Make sure you followed all the instructions on the video carefully, it can be a bit convoluted with isometric games I have have this next video which might help: Mouse Click Movement in Isometric Tilemap - Unity Tutorial kzbin.info/www/bejne/mGGkgpprj7mjl8U
@ecomkevv
@ecomkevv 4 жыл бұрын
DUUUUUUUUUUUUDE Huge thanks for making this, had a really hard time figuring this shit out!
@edjemonkeys4896
@edjemonkeys4896 3 жыл бұрын
Thanks!
@basiccomponents
@basiccomponents 3 жыл бұрын
thanks a lot for this tutorial! Only issue I'm having is that around 11:44 when I create the tilemap collider, nothing happens, do you have an idea of why this could be happening or how could I fix this? Maybe I need to set a Physics 2D Material?
@samyam
@samyam 3 жыл бұрын
Are you setting the collider on the actual tilemap object? And does the component actually appear on the object or it doesn’t let you add the collider? If it doesn’t let you add the collider maybe you have an error in your game. If it does, then make sure you are selecting the object in the hierarchy to see the green outline, and make sure you have gizmos turned on for the scene view (to see the collider outlines)
@basiccomponents
@basiccomponents 3 жыл бұрын
@@samyam it lets me add the collider and the rigidbody 2d as in your video, but the green lines don't actually appear and when I run the game my character falls through the tiles
@samyam
@samyam 3 жыл бұрын
Make sure you freeze the position and rotation in the rigidbody 2d if the tilemap. Also, how are you moving the player? Rigidbody, character controller, etc? Maybe these suggestions also help answers.unity.com/questions/1786050/tilemap-collider-2d-not-working.html
@basiccomponents
@basiccomponents 3 жыл бұрын
@@samyam I tried to change the collider type to Grid, it creates a collider, but my character just sits on the border, not in the middle of the tile. I still haven't implemented the movement of the character.
@samyam
@samyam 3 жыл бұрын
@@basiccomponents Hard to tell without seeing what's going on, if you'd like you can join our Discord and post in the #help chat images or a small video of the issue discord.gg/bvQEGk7
@pacmanrocks94
@pacmanrocks94 2 жыл бұрын
hi, hopefully you still read new comments :). when adding the 'lake', the collider is based on the sprite instead of the square grid, so the collider is actually going "above" (or "below") depending on the y offset. When you move the character around, you can't get close to the lake on certain sides. Do you know how I can fix this?
@pedepatopimenta
@pedepatopimenta 2 жыл бұрын
Hey dude. What helped me was to go on the assets folder (inside Unity editor), create -> 2d -> sprites -> isometric diamond Then I use that new sprite on the collision layer, only the top of the lake will have a collider. I did have to set the "Tile Anchor" back to X=0.5 and Y=0.5 It may be kinda weird if you are using the same tileset she is, but maybe it works out for ya.
@rafaelache8650
@rafaelache8650 4 ай бұрын
good video thanks
@CanalDojogames
@CanalDojogames 3 жыл бұрын
Thank you so much, solved a lot of my problems, honestly it is weird how it works with Upper and lower tile.... kinda make me confused..so i will need to work with layer method instead... Whoooah! when i turned the custom axis and y=1 it really works how i wished.... god bless you! So how you add all into a single atlas and unity keep them as it is? because re import will cause it to remove from some tilemaps,right?
@samyam
@samyam 3 жыл бұрын
You can just add all of the different tiles you are using into the atlas, Unity will just issue draw calls from the atlas instead to save on performance. Here is the workflow for using a Sprite Atlas docs.unity3d.com/Manual/SpriteAtlasWorkflow.html
@CanalDojogames
@CanalDojogames 3 жыл бұрын
@@samyam thank you very much
@retroxify
@retroxify 2 жыл бұрын
You keep saying X as Y. I don't think you know what that means. XD I'm kidding of course. Fantastic tutorial, thanks so much!
@vinipossatto9586
@vinipossatto9586 4 жыл бұрын
nice video I appreciate your work
@random_precision_software
@random_precision_software 2 жыл бұрын
Have you a video on how to convert texture to a atlas?
@samyam
@samyam 2 жыл бұрын
No I do not think I do unfortunately learn.unity.com/tutorial/introduction-to-the-sprite-atlas
@Kromahtique
@Kromahtique 3 жыл бұрын
Thank you!
@Mystical-TEDDY_
@Mystical-TEDDY_ 3 жыл бұрын
Okay so If i have a player and each different elevation is a different sorting layer do I need to just not do that and change the Z values or keep the sorting layers
@samyam
@samyam 3 жыл бұрын
If you'd like to use the Z value to sort in the correct order, you need to have a Z as Y Tilemap, else you can use the normal isometric tilemap and make sure you have the correct sorting layers.
@dinax51
@dinax51 4 жыл бұрын
Cool, thanks, however in my case adding the water in the ground layer and selecting Mode to Individual the whole ground looks weird. I have checked previous steps and everything seems to be correct :-(
@samyam
@samyam 4 жыл бұрын
What do you mean by weird? Feel free to join my Discord and post in the help channel with the issue to get a better idea: discord.gg/SwCKB3Q
@DragonByte79
@DragonByte79 3 жыл бұрын
I asked me, why do the other grids have a collider as well? Do not only have the collider grid have a collider, so we can walk on?
@samyam
@samyam 3 жыл бұрын
We want to know where the player can walk, so we place colliders on the non walkable areas to query whether we can walk in that direction as well
@DragonByte79
@DragonByte79 3 жыл бұрын
@@samyam that makes sense. I tried it but had a problem accessing my ground tiles. My player was outside of the grid and tried to move on it and it collides with it. So that was the reason I asked. After I placed my player onto the grid, it works. I have a random tilemap generation so my player was a bit placed off :) Thank you for your awesome video.
@ilyasyildiz6091
@ilyasyildiz6091 4 жыл бұрын
Bro Thanks for video
@youtuberyoutuber2495
@youtuberyoutuber2495 3 жыл бұрын
can you make a tutorial on how to make a pseudo-isometric map like on SimCity 3000?
@samyam
@samyam 3 жыл бұрын
Is that like 3D made to look like an isometric 2D game?
@youtuberyoutuber2495
@youtuberyoutuber2495 3 жыл бұрын
@@samyam Im not sure :D but there's plenty of simcity 3000 images on google
@samyam
@samyam 3 жыл бұрын
Yeah it actually seems it’s fully 2D but looks 3D (2.5D). Thanks! I’ll keep it in mind
@akaaidan5720
@akaaidan5720 4 жыл бұрын
Woah nice vid
@christopherdoiron4294
@christopherdoiron4294 3 жыл бұрын
why would I chose this over a 3d game and just move the camera up? serious question
@samyam
@samyam 3 жыл бұрын
It depends on the style of the game. If you have a 3D game you’d need 3D assets and not simple sprites.
@christopherdoiron4294
@christopherdoiron4294 3 жыл бұрын
​@@samyam Do you have an example of a 3d game that has top view? I feel like Torchlight 2 and even Diablo 3 are 2D. (2.5D maybe, but not 3D)
@ArcWeltraumpert
@ArcWeltraumpert 6 ай бұрын
it's any tutorial like this using godot?
@samyam
@samyam 6 ай бұрын
No I don’t have any Godot tutorials
@voidling2632
@voidling2632 Жыл бұрын
set rigidbody rather to static, no reason to have a dynamic one for a tilemap.
@TheAmeer3881
@TheAmeer3881 3 жыл бұрын
Smart gal
@mohokhachai
@mohokhachai 9 ай бұрын
Scene management
@mohokhachai
@mohokhachai 9 ай бұрын
Dungeon architect asset
Pixel Art Class - Isometric Tile Basics!
25:55
AdamCYounis
Рет қаралды 359 М.
Unity Tilemaps - Hex, rectangle, isometric + rule tiles
18:38
ТИПИЧНОЕ ПОВЕДЕНИЕ МАМЫ
00:21
SIDELNIKOVVV
Рет қаралды 1,1 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 204 М.
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Mouse Click Movement in Isometric Tilemap - Unity Tutorial
15:17
Making an Isometric Tilemap in 2022
13:14
Lawless Games
Рет қаралды 52 М.
Pixel Art Class - Fully Lit Isometric Tiles in Unity!
28:43
AdamCYounis
Рет қаралды 215 М.
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 1 МЛН
An introduction to Raymarching
34:03
kishimisu
Рет қаралды 145 М.
Making Minecraft from scratch in 48 hours (NO GAME ENGINE)
16:38
Why Isometric? | Art, Code and Matrix Maths | A Devlog
13:33
Wintermute Digital
Рет қаралды 209 М.
Bringing My Cozy Isometric Game to Life | Hooked DEVLOG #2
22:10
Lost Game Dev
Рет қаралды 152 М.
MAKING ISOMETRIC TILEMAP in Unity 2019! (Tutorial)
19:07
Sykoo
Рет қаралды 186 М.
All about TileMaps in Godot 4.3
30:09
Cashew OldDew
Рет қаралды 4,1 М.
ТИПИЧНОЕ ПОВЕДЕНИЕ МАМЫ
00:21
SIDELNIKOVVV
Рет қаралды 1,1 МЛН