Unity Top Down Level Design with Grids and Sorting Order - Tutorial

  Рет қаралды 129,285

CouchFerret makes Games

CouchFerret makes Games

Күн бұрын

Пікірлер: 134
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
*Hey everyone!* 👏 👏 I'm happy to announce our community *Discord server* , come and *join us* : discord.gg/dac7sr2 And also, you can get all the *Sprites* and *Project Files* by supporting me on *Patreon* : www.patreon.com/CouchFerret
@HowfWuff
@HowfWuff 5 жыл бұрын
Hey, a question, what woulf one do for a tilemap? My player character is using a sprite renderer so I can use the sort point, but thr tilemap doesn't allow for that, have any ideas?
@ArtiseBrown
@ArtiseBrown 6 жыл бұрын
These tutorials have come at such a good time. My first uni assignment is making a top-down game and these tutorials have helped out a bunch so far.
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Thank you! :) If I may ask, what uni are you attending? We don't have game related programmes over here, so I'm jealous a bit.
@ArtiseBrown
@ArtiseBrown 6 жыл бұрын
@@CouchFerretmakesGames Northampton uni in England and before that I did two years of games development in college.
@Joshtapus
@Joshtapus 6 жыл бұрын
My god this was exactly what I needed
@ExStefen
@ExStefen 2 жыл бұрын
Came here to thank you for your videos years later. I am currently on the end of my second year in Games Programming (Intermediate to low level). I used your videos as reference when I was doing Games development during College. Thanks a lot!
@HomeGameCoder
@HomeGameCoder 2 жыл бұрын
Excellent video! Congrats! on a side note: Hierarchy, Project and Inspector all together? What a gem! That's the only way to properly use unity without traveling kilometers with your mouse! I found your channel now and subscribed because of that! is so much more comfortable to use and see! (I even prefere long inspector and collapsed project, but your way is 1000x better than default!
@lachy4565
@lachy4565 3 жыл бұрын
Thanks so much, was looking for how to change the sorting order for ages.
@adrianpop3202
@adrianpop3202 6 жыл бұрын
I love u man. Been searching for the render pivot thing for quite some time
@Bunny_and_Quag
@Bunny_and_Quag Жыл бұрын
Im at work watching this so havent gotten to implement it yet but THANK YOU SO MUCH! My game desperately needs this! Subbed to you 👊
@direfulkn1f337
@direfulkn1f337 3 жыл бұрын
Thank you so much, I was looking everywhere for something like this. Subscribed :)
@АнтониоСвиридов
@АнтониоСвиридов 4 жыл бұрын
Component grid doesn't work on Unity 2019.4.11?? I can't move object like on video
@D4Devil_
@D4Devil_ 5 жыл бұрын
This is a very usefull tutorial and i am glad for your work! Tnx!
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Thank you Damian! 😊
@dotaportalvideo
@dotaportalvideo 5 жыл бұрын
Great video. Glad you're uploading again.
@ahttekan
@ahttekan 6 жыл бұрын
I'm so impressed with your videos, you've talked about ways to handle things in Unity that I've never seen before! I hope you cover GUI as well, I've been struggling a ton with that =]
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Thanks! :) I'll do GUI when I get there, I promise. :)
@Pikrip
@Pikrip 6 жыл бұрын
seriously cool series!!
@PorcoPorchetto
@PorcoPorchetto 2 жыл бұрын
Man you have my humblest thanks
@soulessnic1158
@soulessnic1158 2 жыл бұрын
Perfect explanation thank you so much
@batuhandev4847
@batuhandev4847 6 жыл бұрын
Give us more tutorial CouchFerret! Englight us with your infinite knowledge!
@robsonsiqueira9776
@robsonsiqueira9776 2 жыл бұрын
Thanks, it helped me a lot!
@papafhill9126
@papafhill9126 3 жыл бұрын
You: If it sounds fun, subscribe Me: SUBSCRIBED!!!
@kalyoncubusiness9168
@kalyoncubusiness9168 2 жыл бұрын
nice video mate well done
@abject_ladder
@abject_ladder 4 жыл бұрын
Really great videos! Do you show in any of them how you make the gradient-looking blotches of colour on the grass that are shown on the thumbnail? If not, would you mind sharing how you did that please?
@PearlyMishima
@PearlyMishima 3 жыл бұрын
thanks! that helped me so much!
@gamewizards6625
@gamewizards6625 4 жыл бұрын
Great tutorial you helped me a lot
@siddharthsen4475
@siddharthsen4475 6 жыл бұрын
Thanks,keep this up I look forward to your next video!
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
I'm on it! ;) Stay tuned!
@Abhijeet1520
@Abhijeet1520 6 жыл бұрын
You and your videos are awesome.
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Thank you! :)
@BrendanSadaka
@BrendanSadaka 2 жыл бұрын
Thanks for the great video! I'm wondering, if I have a shadow as a child under a tree object, for example, how can I force that shadow child to always be below the player regardless of the parent sorting group?
@阿賢-l3v
@阿賢-l3v 5 жыл бұрын
Thanks!
@Manhsterz
@Manhsterz 4 жыл бұрын
Your tutorials are practical and well explained. Thanks !
@ericsarason9099
@ericsarason9099 6 жыл бұрын
Please don't stop making videos.
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
I won't. I will upload today. :)
@ericsarason9099
@ericsarason9099 6 жыл бұрын
@@CouchFerretmakesGames You're like TheNewBoston of game design.
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
@@ericsarason9099 Wow, that's a huge compliment. Thanks! :)
@MrEllokjeld1
@MrEllokjeld1 5 жыл бұрын
Hey man!! Really nice tutorial! For some reason the grid doesn't change like yours when I use the grid component. I don't see any change and I have tried multiple times. I am currently using Unity 2019.2.12f1 Do you have any idea what the problem could be? Do I need to enable something to view the new grid? I have searched the web for answers but can't find anything Hope you can help me, Best Regards Axel
@TaarLps
@TaarLps 4 жыл бұрын
Did you find a solution?
@iansong1676
@iansong1676 6 жыл бұрын
Great video!!
@orchard800
@orchard800 5 жыл бұрын
Hey CouchFerret. Great tutorial series! I'm trying to do this with a multi-part sprite. How would you change the pivot point of the whole character (ie the parent game object)?
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey David! With multi-part sprites, you would have multiple child objects under the parent gameobject. Because of the SortingGroup component all the children's sprite renderers are using the parent's position as the pivot. I'm not sure I'm getting your question though. Could you give me some clarification?
@orchard800
@orchard800 5 жыл бұрын
@@CouchFerretmakesGames Thank you!! I didn't know about the sorting group component. And of course, the position of the parent is the whole group's position. Brilliant. Would be great to see this in a tutorial! 😁😉
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
@@orchard800 It's around 6:24. I guess I was too quick. 😁
@orchard800
@orchard800 5 жыл бұрын
@@CouchFerretmakesGames how the hell did I miss that? Thanks dude!
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
@@orchard800 No problem! 😅
@ggentertainment2737
@ggentertainment2737 4 жыл бұрын
now, these are just pixel images on a high res screen is there a way to keep the models to the pixels. so that the player moves in a kind of snappy way across the screen snapping to each pixel.
@connor2094
@connor2094 6 жыл бұрын
How to i create a bigger, longer and more complicated map?
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
We will get there don't worry. :) By the way, what do you have in mind on more complicated maps?
@connor2094
@connor2094 6 жыл бұрын
@@CouchFerretmakesGames Well i want to make my game like Doom but with a maze map in same style like you have
@davidbingham8062
@davidbingham8062 5 жыл бұрын
@@CouchFerretmakesGames any thoughts on doing this kind of sorting using an external level editor like Tiled?
@VioletteValkyria
@VioletteValkyria 5 жыл бұрын
@@davidbingham8062 There are plenty of plugins for third party apps, but Unity has a tile editor. As of right now, it even supports isometric and hex maps, so it would be a lot simpler to just use Unity tools. :)
@davidbingham8062
@davidbingham8062 5 жыл бұрын
@@VioletteValkyria thanks for the response! I ended up going with Tiled (using Super Tiled2Unity) and i'm really happy with it.
@fernandobarahona631
@fernandobarahona631 2 жыл бұрын
hello, i have a problem, i cant see the option sprite point sort
@weitnow
@weitnow 6 жыл бұрын
great content
@ogcrackmama160
@ogcrackmama160 4 жыл бұрын
when i create a parent object for a pivot for the character, and move my character while playing the game, the parent object doesn't move with it
@krane1509
@krane1509 4 жыл бұрын
same issue here :c
@technoo4891
@technoo4891 4 жыл бұрын
I know this isnt the best way but, try making the parent.transform.position = your child.transform.position
@감암메귀
@감암메귀 3 жыл бұрын
nice
@ZarifMont
@ZarifMont 5 жыл бұрын
best Channel
@peterkang1807
@peterkang1807 4 жыл бұрын
This is exactly what i needed! but I do have a problem, my person will pop up in the middle section of a tree model, but if i go a bit higher up, it'll go behind the branches/leaves area. Is there a way I can fix this?
@YuriNoirProductions
@YuriNoirProductions 4 жыл бұрын
this doesnt seem to work with tilemaps though as there y axis is seen as per tilemap and not per tile
@Hyde233
@Hyde233 4 жыл бұрын
In the "tilemap renderer" component of your tilemap, set the mode to "individual" instead of "chunk." It'll make it per tile.
@YuriNoirProductions
@YuriNoirProductions 4 жыл бұрын
@@Hyde233 thanks for answering that. i was on a version where this wasn't available ._.
@chengc1049
@chengc1049 5 жыл бұрын
Hi, Got a question regarding the grid size. if i am using 8*8 size tile map. how should i translate it to correct grid size?
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey, then you have to set the Grid component's Cell Size to X: 0.08, Y: 0.08. On the game's current resolution, 0.01 Unity unit represents 1 pixel in the sprite sheet, but this may vary based on your game's resolution.
@MRzFIRE
@MRzFIRE 6 жыл бұрын
love your videos
@HY-oz2cb
@HY-oz2cb 4 жыл бұрын
Why do you create an empty game obj as a parent of archer and another empty game obj for the pillar?
@redinternet9893
@redinternet9893 2 жыл бұрын
but there is not any pivot for each item in ilemap
@iPod71000
@iPod71000 5 жыл бұрын
Thanks a lot, tried to solve the layer issue for 1 year.
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
I'm glad it helped. :)
@Tersina
@Tersina 6 жыл бұрын
Your voice is so soothing, I could listen to it all day uwu
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Thanks! ^ - ^
@neodevjourney
@neodevjourney 3 жыл бұрын
Is it possible to add an offset?
@solomonlyons10
@solomonlyons10 3 жыл бұрын
For some odd reason in play mode my character is above all of the layers. But when out of play mode and manually drag then it works. Could this be because of the animation?
@TheKot1k
@TheKot1k 6 жыл бұрын
*Oh, veery good! I try to do game like SoulKnight, and your tutorials help me, tnx*
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
You're welcome! :) I've just checked Soul Knight out, pretty neat game.
@rarechip
@rarechip 4 жыл бұрын
Why is it that I put the empty object with the sorting group inside the player but for other props i put them into the empty object with the sorting group?
@mickfps
@mickfps 4 жыл бұрын
its because player is a moving object which can be moved in game and if you put player inside the empty object the pivot alignment data will get lost and it will not work as intended
@ALEX_R0701
@ALEX_R0701 3 жыл бұрын
Thank you so much!
@최연우-c9b
@최연우-c9b 3 жыл бұрын
Genius..
@muireachgriogalach483
@muireachgriogalach483 2 жыл бұрын
that dude is like top down game tutorial mesiah
@jinthwang3745
@jinthwang3745 6 жыл бұрын
Cool!
@camoraz
@camoraz 4 жыл бұрын
You're awesome!!!!!!
@febrikurniawan7276
@febrikurniawan7276 4 жыл бұрын
i use LRWP so i cant setting the camera. can someone solve it? Thanks
@rickmonarch4552
@rickmonarch4552 4 жыл бұрын
Hi CouchFerret! I have a little problem with the Y axis solution. Even though sprites of the tilemap are set to be bottom pivot, the tilemap has its own sorting order setting, that is true to the tilemap based on itself. This has ruined my life. Can you help?
@loux6153
@loux6153 6 жыл бұрын
I appreciate your work :)
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Thanks! ^ - ^
@chaseconaway7257
@chaseconaway7257 4 жыл бұрын
Hey CouchFerret! Cool videos. I'm using them to learn unity. I am having a problem with the parent object not moving with the child object. I cannot figure out why. Like if I move the child object away from the origin the parent stays there and so my child object is not utilizing the sorting order. Any suggestions?
@chaseconaway7257
@chaseconaway7257 4 жыл бұрын
I got it, and I was just being silly
@adilife6080
@adilife6080 2 жыл бұрын
@@chaseconaway7257 what did you do? I have the same problem
@chaseconaway7257
@chaseconaway7257 2 жыл бұрын
@@adilife6080 lmao I'm not sure, I don't really remember. Probably something with the parent and child not being together in the component tree?
@adilife6080
@adilife6080 2 жыл бұрын
@@chaseconaway7257 Wow. Thank you for responding so quickly. I found a solution
@simonstorf7080
@simonstorf7080 3 жыл бұрын
Hi are you still reading these? I have a problem. My sorting point is not moving with the sprite since the sprite is the child. I know for you the movement script is the parent, but I can't get it to work like that. How did you do it?
@bryancarrasquillo66
@bryancarrasquillo66 3 жыл бұрын
have you been able to solve this?
@simonstorf7080
@simonstorf7080 3 жыл бұрын
@@bryancarrasquillo66 unfortunately not
@bryancarrasquillo66
@bryancarrasquillo66 3 жыл бұрын
@@simonstorf7080 Changing the pívot while slicing is the only way.
@eggymedia190
@eggymedia190 4 жыл бұрын
Is this in unity 2d
@paninozzo8534
@paninozzo8534 4 жыл бұрын
I dont find the sprite sort point option
@dhcfhjjbb
@dhcfhjjbb 5 жыл бұрын
Hello, I am a student who imitates your video. The other sprites were similar, so I somehow copied them, but I couldn't find the sprites for the pillars. Can I get them? I have no intention of selling it or using it for such a bad purpose. I'd appreciate it if I could. Thank you for reading the long story.
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey, sure! Send me an email and I'll send it back to you! You can find the address on the channel's About page.
@EnchikO
@EnchikO 3 жыл бұрын
i was using whole time my own script with sorting layer... sp.sortingOrder = ((int)transform.position.y * -1) + offset;
@ERBarratt
@ERBarratt 4 жыл бұрын
This does not work if you want the character to walk UNDER something - you still need to implement some sort of height sorting code.
@spind6917
@spind6917 3 жыл бұрын
I dont know what I am doing wrong but your technique for sorting layer with créatine Child object dont work for me while running the game. Everything looks fine in the scene but when I run the game, my player goes in front of tiles and never back. Anyone have any idea??
@bryancarrasquillo66
@bryancarrasquillo66 3 жыл бұрын
have you been able to solve this?
@spind6917
@spind6917 3 жыл бұрын
@@bryancarrasquillo66 nope XD.
@brandonluhrs
@brandonluhrs 6 жыл бұрын
Hey bro, great videos!!!, can you send me the sprites that u use in these tutorials? iis only for test on my videogame
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Sure! ;)
@brandonluhrs
@brandonluhrs 6 жыл бұрын
@@CouchFerretmakesGames bro i have a question, i cant set the Right trigger to fire. I configure the right shoulder 2 in rewire , but i didint works. I have to set a special configuration in the playercontroller script?, like getaxis instead of getbutton? or i have to set a parametre in the manager input of unity?
@brandonluhrs
@brandonluhrs 6 жыл бұрын
how u set Fire in actions of rewire?
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
@@brandonluhrs I have a Rewired action for the Fire and its type is Axis. Then I assigned it into the Right Shoulder 2, and I could just simply access the value by this line player.GetAxis("Fire"). Let me know if it still doesn't work. Cheers!
@lucasbird6367
@lucasbird6367 2 ай бұрын
This is a 2D?
@merwingavanes6488
@merwingavanes6488 4 жыл бұрын
Hello why does my child pivot not following the mother pivot
@KenmoreChalfant
@KenmoreChalfant 5 жыл бұрын
Instead of adding another parent GameObject to offset the sprite you can edit it in the Sprite Editor and change the pivot: click the sprite then move the blue circle in the center down. In order to snap to pixels use the settings in the bottom right and change 'Pivot Unit Mode' to 'pixels'. Hit 'Apply' at the top to apply the new pivot.
@rickmonarch4552
@rickmonarch4552 4 жыл бұрын
Am te unity-ből élsz? :D Igen menő.
@wyxyr9495
@wyxyr9495 4 жыл бұрын
I cant seem to get the snapping to work in this new 2019.4.1f1 LTS version. Can someone help?
@Opfindeer
@Opfindeer 4 жыл бұрын
Unity menu, choose Edit > Grid and Snap Settings
@arcadan
@arcadan 5 жыл бұрын
Hahaha now I subscribed ! But here comes my advice, it would be great if u number your videos, so i would track them faster, and understand the building order, anyways your job is awesome, just what I'm looking for! Thxs !!
@slightlydarkerblack
@slightlydarkerblack 5 жыл бұрын
Hey this is amazing! Can you please tell me if this can be done with tile palette? I would like to design the map with lots of trees quickly so they align correctly. But when I use the palette brush they align on top of each other in a reversed way like in the image: imgur.com/7UTWeNO
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey, thanks! Have you tried setting the Mode to Individual in the Tilemap Renderer component? This may give you further info: docs.unity3d.com/Manual/Tilemap-Isometric-RenderModes.html
@CORKALOT
@CORKALOT 4 жыл бұрын
@@CouchFerretmakesGames I did this and it works but it makes each tile's axis position separate so my head pops through if my Y position moved onto the next tile. How do I resolve this?
@neemoh03
@neemoh03 6 жыл бұрын
ang!
@hoangminhnguyen2191
@hoangminhnguyen2191 4 жыл бұрын
God like
@TC-ep5hy
@TC-ep5hy 5 жыл бұрын
Curious, why not use Unity's custom sorting layers instead of this Y-axis workaround? That way Unity handles it all for you, and if you change your mind on one aspect, you just shift that sorting layer, you don't have to go changing all the Y-axis around.
@anunderdog574
@anunderdog574 4 жыл бұрын
Sadly this is useless for Tilemaps :/
@Hyde233
@Hyde233 4 жыл бұрын
By default, the "tilemap renderer" component on tilemaps are set to "chunk," which treats the entire map as one large object. Change it to "individual," and that should probably fix your issue.
@cprn.
@cprn. 3 жыл бұрын
This isn't top down, it's isometric 3/4-ish. Doing actual top down is way simpler and saves tons of time.
Unity Top Down Colliders and Character Movement - Tutorial
8:32
CouchFerret makes Games
Рет қаралды 200 М.
Technique for Creating Beautiful Level Design
11:48
Pixel Architect
Рет қаралды 914 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
My Level Design Philosophy + Tips For Designing Levels
9:46
Tim Ruswick | Game Dev Underground
Рет қаралды 89 М.
A new way to generate worlds (stitched WFC)
10:51
Watt
Рет қаралды 555 М.
Unity Top Down Hit Detection for Arrows - Tutorial
13:24
CouchFerret makes Games
Рет қаралды 25 М.
The Trick I Used to Make Combat Fun! | Devlog
8:12
Game Endeavor
Рет қаралды 1,7 МЛН
How to Sort 2D Sprites by Pivot Point for 2D Unity URP Top Down Games
8:26
I Made My First Game in Godot in 3 Weeks...
26:21
Jack Sather
Рет қаралды 489 М.
Aseprite Top Down Pixel Art Level Creation for Unity - Tutorial
7:23
CouchFerret makes Games
Рет қаралды 88 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,5 МЛН
TOP DOWN MOVEMENT in Unity!
22:30
Brackeys
Рет қаралды 1,2 МЛН
Are Unity's Tile Features Good Enough to Make Real Games?
36:20
AdamCYounis
Рет қаралды 133 М.