All likes and comments appreciated! Come by the discord if you want some friendly game devs to talk to: discord.gg/yeTuU53
@nikolai34684 жыл бұрын
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!
@LostRelicGames4 жыл бұрын
Thanks Victor! Unity has a lot of secret passages and doors! ;)
@maddened37463 жыл бұрын
someone FINALLY explained it thoroughly .... thank God!
@BazSupport4 жыл бұрын
Wow man, seeing the practical uses was great, thanks!
@LostRelicGames4 жыл бұрын
Thanks baz!
@artlessdodger4 жыл бұрын
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_saaiman4 жыл бұрын
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
@LostRelicGames4 жыл бұрын
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 Жыл бұрын
thanks, very useful, I didnt know the layers now I see Layers seems pretty useful for all kind of games, especially platformers
@stephanielim28414 жыл бұрын
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.
@aaronedvalson1044 жыл бұрын
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!
@gnielsenn4 жыл бұрын
Great tutorial man!
@marcgrabulosarenart8074 Жыл бұрын
Thank you very much. I searched a lot and finally I got what i wanted
@יסעורשחף4 жыл бұрын
channel of the year 2020.
@gravious4 жыл бұрын
Awesome stuff! Really in-depth and useful, thanks :)
@LostRelicGames4 жыл бұрын
My pleasure man!
@p199a4 жыл бұрын
very good video i like how you show use case scenarious in your real project
@LostRelicGames4 жыл бұрын
Hey thanks! Will do more like this soon :)
@vast6343 жыл бұрын
You could edit the "m_LayerCollisionMatrix" in the raw project settings file to deselect all collisions in the matrix.
@sadamps2 жыл бұрын
Excellent tutorial. Subscribed.
@jokeonthisbaby2 жыл бұрын
Loving your content man, keep up the good work 👍
@LostRelicGames2 жыл бұрын
Chreers mate, much appreciated 👍
@nekokna3 жыл бұрын
i REALLY needed to learn about this, thank you for such a good content!thank you TTUTT
@shavais333 жыл бұрын
Incredibly helpful material! 👋👍
@yusrighouse4 жыл бұрын
Oooo nice video. Really puts this layers business in perspective.
@foreducation4082 жыл бұрын
really helpful video, helped a lot thanks for making it.
@primetime3422 Жыл бұрын
3:51 add a deselect all button. Wish granted
@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.3 жыл бұрын
Wow, you are so cool! Look, behaviour, everything!
@izeckx3 жыл бұрын
Newbie here, would you mind explaining the reasoning for the three cameras? I'm puzzled as to why you use that system.
@artyomcg2 жыл бұрын
Thank you! It is very useful.
@JonTopping2 жыл бұрын
What is the reason for having three cameras rendering different layers in the scene? How does that help you?
@LostRelicGames2 жыл бұрын
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.
@Ashes212964 жыл бұрын
Thanks for this knowledge.
@BlueGooGames4 жыл бұрын
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 ;)
@LotionSoronarr4 жыл бұрын
Why the 3 cameras? Can't only 1 be active at one time?
@bbborbo4 жыл бұрын
you can change their render setting so that multiple cameras are rendering at once - i think that would be "depth only" rendering
@jayd1os4004 жыл бұрын
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 :)
@LawZist4 жыл бұрын
Great video
@Lobster-xg7se4 жыл бұрын
Intro music pls name
@BattleDrumz4 жыл бұрын
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?
@Visuwyg3 жыл бұрын
Great! I was hoping for something like this. Weird that it is hidden in Project Settings...
@ErtBaran2 жыл бұрын
Great ! Thanks.
@wibu-2712 жыл бұрын
Great !! 👍👍👍
@dev.ashesh Жыл бұрын
Just saw this video and subbed.. I have a question, can layers replace colliders?
@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 Жыл бұрын
@@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 Жыл бұрын
Layers alone won't give you any collision. You will need to attach colliders.