Enemy AI with Behavior Trees - with Demo in Godot Engine

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

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

  • @bitbraindev
    @bitbraindev 3 года назад +25

    By far one of the best tutorials on that matter out there. You got a new subscriber!

  • @shaunstone9764
    @shaunstone9764 3 года назад +14

    Excellent. I am working on an enemy using finite state machines. I definitely saw its limitations and didn't know about this approach. Thanks!!

  • @DiddyRiese
    @DiddyRiese 11 дней назад

    Great video, thank you very much! The part about why returning the 'Running' state was necessary was especially useful for helping me understand first principles of BTs. Cheers!

  • @gera8428
    @gera8428 2 года назад +1

    Greatest enemy ai tutorial video on youtube! Please make more videos about how to make enemy AI behaviour. Please!

  • @jackie4chan
    @jackie4chan 2 месяца назад

    just wanted this was a great explanation and helped me implement my own beh tree in my game. Thanks for this :)

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

    What a great explanation of a btree! Brilliant.

  • @syllvia1
    @syllvia1 3 года назад +2

    Thanks for the vid, i've worked with btrees in like 3 dif engines now and seeing how it's implimented in godot is useful (as i just used them, didn't code them from scratch.) Good framework!

  • @helianthe3457
    @helianthe3457 3 года назад +1

    Thank you for making this kind of videos. Can't wait for godot to really blow up and see the numbers on these vids go really up.

  • @fantasywiz54
    @fantasywiz54 3 года назад +3

    This is a great explanation. Thank you!

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

    Great stuff. Subbed and liked.

  • @cyzaine
    @cyzaine 2 года назад +1

    I'm pretty good at finite state machines at this point. Im glad I can try another technique on my next project

  • @Elduque40
    @Elduque40 3 года назад +1

    This is gold. Thanks a bunch

  • @ExploreGameDev
    @ExploreGameDev 2 года назад

    Great video! Very well explained. Thanks for putting this together.

  • @mistake315
    @mistake315 Месяц назад

    This really helped!

  • @jasenlakic5033
    @jasenlakic5033 2 года назад

    great explanations, thanks you both for the video and the source code!

  • @takoyaki_1i
    @takoyaki_1i 3 года назад

    This video is amazing. thank you so much

  • @EtchGamer
    @EtchGamer 3 года назад

    Thank you pro you really made my day ❤️

  • @KongYe-h9i
    @KongYe-h9i Месяц назад

    Very useful

  • @AleksandarPopovic
    @AleksandarPopovic 3 года назад

    Amazing!

  • @Zetimenvec
    @Zetimenvec 3 года назад +2

    I'm confused why you would do this with nodes. Isn't this a lot simpler and clearer in code using separate functions that call each other in the same hierarchy? And you don't have to spam your work environment with a code file for each iterative step for each behavior?

    • @JasonLothamer
      @JasonLothamer  3 года назад +10

      I think it depends on a developer’s preferences and, for me, the amount of behaviors or code. If the behavior is simple and the functions are not very numerous and are simple themselves, then putting all of it in one script would be OK. But add enough code into a script and you get narliness anyway. At least that's my opinion. I've had buckets and buckets of code in scripts before and it all gets very confusing to me at some point. So, I favor separating functionality out into separate scripts for nodes. But you have a point. If functionality is split into files at too granular a level, you'll get more than you need and I would think lend to confusion as well. As long as the chunks are meaningful and well named, and preferably re-usable, then I think it's a win.

  • @iiiooo3803
    @iiiooo3803 2 года назад +1

    👌

  • @wash99
    @wash99 3 года назад

    Thanks

  • @BIGBIZDRIZ
    @BIGBIZDRIZ 2 года назад

    nice

  • @viniciusantonio2253
    @viniciusantonio2253 Год назад

    damn, when you said "that tick" everything clicked
    ✅FSM
    ✅Behaviour tress
    GOAP
    Lets keep the learning