2D Platformer Unity & Playmaker - Enemy AI - Charging & Attacking

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • In this tutorial I will show you how to further advance the enemy AI, enabling it to detect the player, charge it and deal damage with a knockback. As always no code is needed.
    Asset for Enemy:
    bevouliin.com/...
    Get Playmaker:
    tinyurl.com/yb...
    Discord:
    / discord
    About Myself:
    Creator of Emily's Adventure which is currently under development and free to play on: emilysadventur...
    You can also check out the trailer: Trailer: • Emily's Adventure Game...
    I have learned coding and playmaker by watching youtube videos just like you and I hope I can share what I have learned over the past months while creating my game!
    If you have any questions or request please let me know and I will see how I can help!

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

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

    tanks man it's helpful

  • @AnimGhost
    @AnimGhost 4 года назад +1

    Amazing tutorials you are a genius!!, I would love if you can do a climb action tutorial I'm stuck trying to make a character climb some walls in 2d :c

    • @BastianTop
      @BastianTop  4 года назад +1

      Will look into it 👍

    • @AnimGhost
      @AnimGhost 4 года назад

      @@BastianTop Thanks!! looking forward to it :)

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

      Hey! Finally got around it: ruclips.net/video/3EkKXwodw2Q/видео.html

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

      @@BastianTop wow thanks you so much!!

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

    any videos on enemy dodge when player attack
    nice videos btw

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

      Ah i dont have that yet, interesting concept

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

      Depending on difficulty, you could invoke a FSM event for enemy dodge when the player attacks or have a raycast on the enemy to detect an attacking collider tag/layer on the player

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

    btw is it any way to make Box aggro so if u jump in box aggro even if Monster not facing you he turn and start charge

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

      Not sure what you mean!

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

      @@BastianTop now ur Ai can detect player when he is facing player so when Ai facing Player he start charge .. but if Ai not facing player he do not see him .. I am asking how can we make Ai to detect player even if he is not facing him ... so aggro zone should be like a box if u are jumping in Ai will Insta turn to you and charge or attack what ever .. For example, if you are walking and someone jumps behind you, you will hear him and turn around .

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

      @@Duuude9448 The advanced enemy AI has it included, just point a raycast behind the enemy and make him charge towards the player when the player comes in touch with the raycast!

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

      @@BastianTop lol sounds hard to make it i have no idea how to do it ... btw how can i use Charge animation ? cause u are missing one

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

      @@Duuude9448 haha, well I will see if I can push out the advanced enemy AI this week!