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
  • เกม

ความคิดเห็น • 26

  • @OHTASISAN
    @OHTASISAN 13 วันที่ผ่านมา +2

    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!

    • @baconandgames
      @baconandgames  13 วันที่ผ่านมา +1

      Oh gosh. Thank you so much. YT is a rough gig. I don’t know how much you realize comments like this mean. 🥹

  • @ChaoszZChannel
    @ChaoszZChannel 23 วันที่ผ่านมา +2

    Great stuff, a lot of tutorials tend to forget that physics layers exist or never care to explain how it works.

  • @mrussogamedev
    @mrussogamedev 12 วันที่ผ่านมา +1

    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.

    • @baconandgames
      @baconandgames  12 วันที่ผ่านมา

      You’re welcome! Thanks for watching and for the kind words. 🙏

  • @ravveni
    @ravveni 22 วันที่ผ่านมา +2

    really appreciate all the various examples of using collision layers and masks! awesome tutorial!

    • @baconandgames
      @baconandgames  22 วันที่ผ่านมา

      🤜🤛 I’m glad you found it helpful!

  • @ince55ant
    @ince55ant 2 วันที่ผ่านมา

    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

    • @baconandgames
      @baconandgames  2 วันที่ผ่านมา

      I love that. I’m renaming the channel to Bacon and Games and Coffee 😀

  • @Bitlytic
    @Bitlytic 22 วันที่ผ่านมา

    Sick video! This will be super handy for beginners learning about collisions

    • @baconandgames
      @baconandgames  22 วันที่ผ่านมา

      Aww. That’s the hope. Thanks so much for watching! 🙏

  • @AbyssMerchant
    @AbyssMerchant 23 วันที่ผ่านมา +2

    Thank you for the vid! Too many times have randomly clicked on the layers and masks hoping stuff just "clicks together" lol

    • @baconandgames
      @baconandgames  23 วันที่ผ่านมา +1

      You’re welcome!

  • @GenTink
    @GenTink 6 วันที่ผ่านมา

    This is so well put and easy to understand. Thank you. Fantastic video.

    • @baconandgames
      @baconandgames  6 วันที่ผ่านมา

      I appreciate that. Thank you 🙏

  • @ZB_95
    @ZB_95 วันที่ผ่านมา

    thank you! earned a sub

  • @dibaterman
    @dibaterman 20 วันที่ผ่านมา

    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. >.

    • @baconandgames
      @baconandgames  20 วันที่ผ่านมา +1

      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. 🌈

  • @DeadIndGames
    @DeadIndGames 6 วันที่ผ่านมา

    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?

    • @baconandgames
      @baconandgames  6 วันที่ผ่านมา

      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.

    • @DeadIndGames
      @DeadIndGames 6 วันที่ผ่านมา

      @@baconandgames I would love that!!

    • @baconandgames
      @baconandgames  6 วันที่ผ่านมา

      @DeadIndGames drop into my Discord and shoot me a DM. I’ll zip it up for you.

    • @DeadIndGames
      @DeadIndGames 6 วันที่ผ่านมา

      @@baconandgames okay when I get a chance to hop on I'll do that! Thanks!

    • @baconandgames
      @baconandgames  6 วันที่ผ่านมา

      @DeadIndGames 👍