Learn how to structure scenes! || Composition Demo || Godot 4 Tutorial

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 25

  • @jacobfoxe4691
    @jacobfoxe4691  6 месяцев назад +7

    Hey Friends, thanks for watching!
    As a tip, I commented as much as I could with the inline documentation techniques within the Godot 4 Editor, so if you grab the code from the Github link, you can search the documentation for each of the custom classes!
    And a bunch of the export vars should have tooltips when you hover over the values. Honestly, this saves so much time trying to remember what some random vars do on your 400th shrub scene.

  • @vrts
    @vrts 9 дней назад

    Amazing lesson. Subscribed hoping that you'll release the next part!

  • @Hernaxho
    @Hernaxho 6 месяцев назад +3

    This was a great tutorial to learn about composition. I'm still a beginner in how to code in general so I was a bit confused trying to see where all the code comes together so I had to rewind a lot.

  • @w花b
    @w花b 2 месяца назад +9

    Where's the third video???

  • @kentmiggalen9756
    @kentmiggalen9756 6 месяцев назад +6

    Please don't stop posting tutorial/guides videos.

  • @ToonNoah
    @ToonNoah 17 дней назад

    personally, i'd set the individual node export var to automatically choose the parent characterbody IF the variable is null. Otherwise, I do like the idea of being able to set up the parent node manually, i usually just set it to get_parent().get_parent() lmao

  • @sp.v.207
    @sp.v.207 4 месяца назад +1

    This was very helpful, thank you

  • @longuemire748
    @longuemire748 4 месяца назад +1

    Thank you for this video.

  • @7fg9sd8a9
    @7fg9sd8a9 6 месяцев назад +1

    you forgot to link the previous episode in the description

  • @ekaprasetya5858
    @ekaprasetya5858 4 месяца назад

    Did anyone have a trouble with Y sort enabled when implementing workflow like he did?

  • @Innere_Stille
    @Innere_Stille 5 месяцев назад

    damn the glowing border around the sub button ar 1:44 was awesome. first time i saw that. was that something u needed to code yourself or a new feature from yt?

    • @jacobfoxe4691
      @jacobfoxe4691  5 месяцев назад +1

      haha that surprised me as well! Must be a YT feature because I definitely didn't do anything!

    • @Awaited
      @Awaited 4 месяца назад

      Yeah it’s a new RUclips feature. I’ve been seeing it for a very long time on a bunch of channels

  • @_I-OvO-I_
    @_I-OvO-I_ Месяц назад

    Do you just remember everything or are you using a diagram to follow how everything is connected?

    • @jacobfoxe4691
      @jacobfoxe4691  Месяц назад +1

      I always diagram out a project before starting, but I'm historically TERRIBLE at showing that in videos! It's something I'm actively working on incorporating into future tutorials and demos!

  • @Kolbiathan
    @Kolbiathan 3 месяца назад

    Interesting that you don't use any custom Resources. Have you considered how they may work with a compositional system like this? I have recently started using Resources and they seem quite powerful for compositional systems.

  • @ScumlordStudio
    @ScumlordStudio 6 месяцев назад

    5:00 maplestory music :)

    • @elpatatas2561
      @elpatatas2561 3 месяца назад +1

      I think is stardew valley music xd

    • @ScumlordStudio
      @ScumlordStudio 3 месяца назад

      ​@@elpatatas2561 nope at 5 minutes this is 100% maplestory

    • @elpatatas2561
      @elpatatas2561 3 месяца назад +1

      @@ScumlordStudio I'm not sure, I've been playing MapleStory since 2005 until now, I would recognize it haha. I think it's this OST from Stardew Valley (I've also played Stardew Valley)
      ruclips.net/video/7WuKj7a3ces/видео.html
      play the link from min 1:22

  • @felipebdc4316
    @felipebdc4316 6 месяцев назад +2

    📝📝📝📝📝

    • @jacobfoxe4691
      @jacobfoxe4691  6 месяцев назад +3

      me frantically writing code for part 3

  • @Kio_Kurashi
    @Kio_Kurashi Месяц назад +1

    Your manner of speaking while you explain things feels insulting since I am not a child (and I'd probably still be miffed even then), but this is still a good tutorial.
    I've been trying to find a tutorial that was more than "here's my composition nodes. Look, I can put this health component on this NPC _and_ this player. WoOooOOo~." without ever actually explaining how it works. Most of it was pretty obvious, but the part that had always escaped me before was connecting things once you added them. My OOP addled brain would always try to connect them in the parent class making the system _mostly_ redundant. At least then the change wouldn't necessitate modifying everything that used that component if I decided to add or remove one from an entity. So I essentially had just adapted the modularization to OOP principles without actually taking full benefit of the composition's strengths.
    So you and Godotoneer's videos were the only ones that were helpful (but the latter is long and takes me a few days to actually watch through with how dry it is despite it being _very_ informative).
    So thank you for making this tutorial, and I'll _try_ sitting through more of your tuts in the future since it's quite clear that you know what you're doing unlike people who regurgitate the bare minimum and only specifically as it applies to their system.

    • @jacobfoxe4691
      @jacobfoxe4691  27 дней назад

      Thanks for the feedback! I appreciate the perspective and I'm glad you found the tutorial helpful!