The Unity Layer System - Game Dev Tutorial

  Рет қаралды 18,420

Lost Relic Games

Lost Relic Games

Күн бұрын

Пікірлер: 56
@LostRelicGames
@LostRelicGames 4 жыл бұрын
All likes and comments appreciated! Come by the discord if you want some friendly game devs to talk to: discord.gg/yeTuU53
@nikolai3468
@nikolai3468 4 жыл бұрын
The collision and camera tip is actually really useful especially for someone who is starting out with unity! I wouldn't even check the physics 2d settings until i saw this, really!
@LostRelicGames
@LostRelicGames 4 жыл бұрын
Thanks Victor! Unity has a lot of secret passages and doors! ;)
@maddened3746
@maddened3746 3 жыл бұрын
someone FINALLY explained it thoroughly .... thank God!
@BazSupport
@BazSupport 4 жыл бұрын
Wow man, seeing the practical uses was great, thanks!
@LostRelicGames
@LostRelicGames 4 жыл бұрын
Thanks baz!
@artlessdodger
@artlessdodger 4 жыл бұрын
Could you point me in the direction of some tutorials or explanations about the advantage or effects of having multiple camera rendering different layers? Just sort of touched on it and I feel like that could be something useful to know but this is all kind of new to me.
@christiaan_saaiman
@christiaan_saaiman 4 жыл бұрын
Hi John, I just want to let you know. I started my game dev journey only a few months ago and you have been an amazing help to get that dream started. Your tutorials are of such high quality content, it’s made the learning curve of Unity less steep than what it should be. Thank you
@LostRelicGames
@LostRelicGames 4 жыл бұрын
Thanks for your thoughtful comment Christian. I know all too well how steep that early curve can be! I'm happy to hear i was able to help you on this adventure. Wishing you the very best on the path ahead.
@sceptiletops3760
@sceptiletops3760 Жыл бұрын
thanks, very useful, I didnt know the layers now I see Layers seems pretty useful for all kind of games, especially platformers
@stephanielim2841
@stephanielim2841 4 жыл бұрын
You're the best. Thanks for explaining a fundamental tool on Unity and using great examples and simple ways to use them for tasks. I feel like whenever you explain it that way, you give us a big potential of things to do with it! :) Maybe next time you can explain another tool that can be useful. I'm excited.
@aaronedvalson104
@aaronedvalson104 4 жыл бұрын
Oh dang, I'm glad I watched this. I've never really used layers until very recently and only for IgnoreLayerCollision(). I had no idea how important they were to my ideas. Thanks!
@gnielsenn
@gnielsenn 4 жыл бұрын
Great tutorial man!
@marcgrabulosarenart8074
@marcgrabulosarenart8074 Жыл бұрын
Thank you very much. I searched a lot and finally I got what i wanted
@יסעורשחף
@יסעורשחף 4 жыл бұрын
channel of the year 2020.
@gravious
@gravious 4 жыл бұрын
Awesome stuff! Really in-depth and useful, thanks :)
@LostRelicGames
@LostRelicGames 4 жыл бұрын
My pleasure man!
@p199a
@p199a 4 жыл бұрын
very good video i like how you show use case scenarious in your real project
@LostRelicGames
@LostRelicGames 4 жыл бұрын
Hey thanks! Will do more like this soon :)
@vast634
@vast634 3 жыл бұрын
You could edit the "m_LayerCollisionMatrix" in the raw project settings file to deselect all collisions in the matrix.
@sadamps
@sadamps 2 жыл бұрын
Excellent tutorial. Subscribed.
@jokeonthisbaby
@jokeonthisbaby 2 жыл бұрын
Loving your content man, keep up the good work 👍
@LostRelicGames
@LostRelicGames 2 жыл бұрын
Chreers mate, much appreciated 👍
@nekokna
@nekokna 3 жыл бұрын
i REALLY needed to learn about this, thank you for such a good content!thank you TTUTT
@shavais33
@shavais33 3 жыл бұрын
Incredibly helpful material! 👋👍
@yusrighouse
@yusrighouse 4 жыл бұрын
Oooo nice video. Really puts this layers business in perspective.
@foreducation408
@foreducation408 2 жыл бұрын
really helpful video, helped a lot thanks for making it.
@primetime3422
@primetime3422 Жыл бұрын
3:51 add a deselect all button. Wish granted
@TheQpower
@TheQpower Жыл бұрын
Could you give me an example why reason 3, with the camera, is useful? What are the benefits? Would love to learn more 😊
@aleksitjvladica.
@aleksitjvladica. 3 жыл бұрын
Wow, you are so cool! Look, behaviour, everything!
@izeckx
@izeckx 3 жыл бұрын
Newbie here, would you mind explaining the reasoning for the three cameras? I'm puzzled as to why you use that system.
@artyomcg
@artyomcg 2 жыл бұрын
Thank you! It is very useful.
@JonTopping
@JonTopping 2 жыл бұрын
What is the reason for having three cameras rendering different layers in the scene? How does that help you?
@LostRelicGames
@LostRelicGames 2 жыл бұрын
Each camera can have a unique depth of field and culling pool. Also in my case i, mix perspective and orthographic cameras, ie. Perspective for BG, orth for Player layer.
@Ashes21296
@Ashes21296 4 жыл бұрын
Thanks for this knowledge.
@BlueGooGames
@BlueGooGames 4 жыл бұрын
Just using layers to put something in and lock it from being selected, like the background/ground if you’re making a level or so. :) EDIT: oops you just said that after i posted it ;)
@LotionSoronarr
@LotionSoronarr 4 жыл бұрын
Why the 3 cameras? Can't only 1 be active at one time?
@bbborbo
@bbborbo 4 жыл бұрын
you can change their render setting so that multiple cameras are rendering at once - i think that would be "depth only" rendering
@jayd1os400
@jayd1os400 4 жыл бұрын
Hey man whats up. I think you should do a follow up to the pickups tutorial that you made a little while ago it's cool to have items in the game but what if i want thies items to do something when i pick them up like regain health or increase players melee damage or change player attack animation and much more i really think you should do a tutorial on that so that items i pickup dont just disappear and do nothing :)
@LawZist
@LawZist 4 жыл бұрын
Great video
@Lobster-xg7se
@Lobster-xg7se 4 жыл бұрын
Intro music pls name
@BattleDrumz
@BattleDrumz 4 жыл бұрын
Wow. Why has no one explained this to me before! Question about your background and foreground perspective camera: are those layers shifted on the Z axis to achieve parallax? If so, why not just code the parallax in ortho?
@Visuwyg
@Visuwyg 3 жыл бұрын
Great! I was hoping for something like this. Weird that it is hidden in Project Settings...
@ErtBaran
@ErtBaran 2 жыл бұрын
Great ! Thanks.
@wibu-271
@wibu-271 2 жыл бұрын
Great !! 👍👍👍
@dev.ashesh
@dev.ashesh Жыл бұрын
Just saw this video and subbed.. I have a question, can layers replace colliders?
@LostRelicGames
@LostRelicGames Жыл бұрын
Hey Erich! Colliders are still useful to get access to the inbuilt OnTrigger/OnCollision funcitons. Without them you would have to create your own collision logic. Distance checks or box checks.
@dev.ashesh
@dev.ashesh Жыл бұрын
@@LostRelicGames but will it be usable for like lets say rocks, trees or any ingame props? That instead of using the usual unity colliders, ill use layers instead.. Would that work?
@LostRelicGames
@LostRelicGames Жыл бұрын
Layers alone won't give you any collision. You will need to attach colliders.
@hajacha1624
@hajacha1624 11 ай бұрын
I found this very usefull
@samirisgood5735
@samirisgood5735 3 жыл бұрын
thanks
@kibyes6789
@kibyes6789 4 жыл бұрын
Second!
@vidarsoderman4536
@vidarsoderman4536 4 жыл бұрын
ᖴIᖇᔕT😊
@LostRelicGames
@LostRelicGames 4 жыл бұрын
I bestow 1000 points on you good sir ;)
@exe1793
@exe1793 4 жыл бұрын
hi from russia
Breaking up Code in Unity (Important game dev tips for beginners)
18:36
Lost Relic Games
Рет қаралды 128 М.
Unity Layers, Layer Mask, Bitmask, Bitwise Operators, Raycasts
14:26
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Coroutines in Unity (how & when to use them)
12:35
Game Dev Beginner
Рет қаралды 33 М.
How To Build An Event System in Unity
8:01
Game Dev Guide
Рет қаралды 419 М.
Everything You Need To Start Making Games (As A Beginner)
16:11
Juniper Dev
Рет қаралды 199 М.
Collect Items in Unity  -  Game Dev Tutorial
17:11
Lost Relic Games
Рет қаралды 30 М.
You Suck at Showcasing Your Game
28:20
GDC 2025
Рет қаралды 196 М.
Escaping Unity Animator HELL
18:18
Lost Relic Games
Рет қаралды 520 М.
Unity Gizmos - Every gamedev should know this!
7:50
Tarodev
Рет қаралды 33 М.
Unity for Beginners - 036 - Layers and Collision Matrix
7:55
MetalStorm Games
Рет қаралды 986
This Indie Dev's Game Launch Hack Won BIG TIME
8:34
Lost Relic Games
Рет қаралды 88 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН