Godot Collision Layers and Masks… the EASY Way
ฝัง
- เผยแพร่เมื่อ 4 มิ.ย. 2024
- Godot collision layers and masks can be a tricky subject to get at first, but with this simple way of thinking about them you'll never mix them up again.
Discord Server
/ discord
Godot Game Template
github.com/baconandgames/godo...
0:00 - Intro
0:24 - Layers and Masks Explained
1:08 - Project Demo
2:02 - Adding Collisions
2:35 - Naming Layers
3:20 - Colliding w/ Environment
5:21 - Colliding w/ Props
6:00 - Colliding w/ Area2D
8:37 - Codez
9:50 - Extra Credit
#godot4 #godotengine #godottutorial #gamedevelopment #gamedevtutorial - เกม
This was a great video. The structure was incredibly easy to follow along with and seeing the practical applications visually really let it sink in for me. Keep up the good work!
Oh gosh. Thank you so much. YT is a rough gig. I don’t know how much you realize comments like this mean. 🥹
Great stuff, a lot of tutorials tend to forget that physics layers exist or never care to explain how it works.
Thanks!
thanks, great video. Layer and Mask is one of Godot features that much like Tileset is overwhelming at first glance, really take effort to grasp it but once you get used to it it all makes sense.
You’re welcome! Thanks for watching and for the kind words. 🙏
really appreciate all the various examples of using collision layers and masks! awesome tutorial!
🤜🤛 I’m glad you found it helpful!
my brain just refuses to absorb this stuff. (like i do it at start of project in a way i never have to really deal with again)
so its good to have wee reference vids i can watch while having a coffee
I love that. I’m renaming the channel to Bacon and Games and Coffee 😀
Sick video! This will be super handy for beginners learning about collisions
Aww. That’s the hope. Thanks so much for watching! 🙏
Thank you for the vid! Too many times have randomly clicked on the layers and masks hoping stuff just "clicks together" lol
You’re welcome!
This is so well put and easy to understand. Thank you. Fantastic video.
I appreciate that. Thank you 🙏
thank you! earned a sub
Thank YOU ☺️
Yep, I just remember that the top one is not for detection. It's odd sure but that's how I keep it in mind, I am super lazy about naming them though. >.
Naming is a good practice to get into and it doesn’t take that long. Be kind to your future self. Name your layers and masks. 🌈
Is this a project you are working on or just something you threw together for this video? I have an idea for a 2D game and some of these concepts you showed would translate to my idea really well and was wondering if you had the project files available?
It’s a prototype I’m working on but I’m not very far along. I’ll give you a copy of the project if you want.
@@baconandgames I would love that!!
@DeadIndGames drop into my Discord and shoot me a DM. I’ll zip it up for you.
@@baconandgames okay when I get a chance to hop on I'll do that! Thanks!
@DeadIndGames 👍