Damaging Enemies: Action RPG in Unity Tutorial #13

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 20

  • @danielsithole1591
    @danielsithole1591 2 місяці тому +3

    *adds to game dev playlist*

  • @kamm3021
    @kamm3021 2 місяці тому +3

    *Let's GOOO*
    Another great episode, thanks!

    • @NightRunStudio
      @NightRunStudio  2 місяці тому +2

      You bet! Glad to hear you're enjoying the series!

  • @JonatanVargas-ej1us
    @JonatanVargas-ej1us 2 місяці тому +4

    Hey man your going to go big

    • @NightRunStudio
      @NightRunStudio  2 місяці тому

      Thanks! Now I just need someone to tell UA-cam that 🤨

    • @JonatanVargas-ej1us
      @JonatanVargas-ej1us 2 місяці тому +1

      @@NightRunStudio lol they did, this was in my algorithm so ur their just keep pushing bro

  • @10706BND
    @10706BND 2 місяці тому +1

    Great Video. I tried to do this on my on based on the work for the enemy. It was interesting to see the differences! looking forward to next one.

    • @NightRunStudio
      @NightRunStudio  2 місяці тому

      Nicely done, creating something on your own! It always feels good to figure something out for yourself.

  • @NinjaSquid4EVR
    @NinjaSquid4EVR 2 місяці тому +2

    Love this channel. I have some advise to help grow your channel, change your upload times. If I remember correctly you live in Canada ( like me :) ) but I always see your videos are uploaded in the middle of the night. I think your videos will do better if you upload them between 9-5 EST. I don’t have a UA-cam channel of my own and am certainly no expert but just something you might want to consider. Love the content and look forward to see you continue to develop your game.

    • @NightRunStudio
      @NightRunStudio  2 місяці тому +2

      That’s a really good idea-I had t really considered that! I’ll have to give it a try. Thanks for the tip!

  • @srpnt9069
    @srpnt9069 Місяць тому

    Why my attacks dealing damage to enemy when I'm in the radius of enemy's Circle collider(set to trigger) that we added for the aggro range? what I've missed? 😭

  • @paweswiezy578
    @paweswiezy578 12 днів тому

    Hi, i have a problem which i cant deal by myself, whenever my attackpoint is in range of Enemys DetectionPoint, the enemy is receving damage, i dont have to punch him, i just have to punch detectionCircle to deal him a damage, can you help me fix that?

    • @NightRunStudio
      @NightRunStudio  12 днів тому

      That sounds like your brackets and if statement may be misplaced. It should only check for an enemy when you press the button. I would start by making sure the input check is working properly.

    • @paweswiezy578
      @paweswiezy578 12 днів тому

      @@NightRunStudio sorry i wrote it wrong, the enemy is recieving damage only when i press the slash key, but i can deal him damage when i collide with his detectionPoint with detectionRadius, which is far further then the enemy collider

    • @Tofrellaz
      @Tofrellaz 13 годин тому +1

      Same problem.Player attacks interact with detection collider.

    • @NightRunStudio
      @NightRunStudio  7 годин тому +1

      @@Tofrellaz The easiest fix for this is to place:
      if (enemies[0].isTrigger)
      {
      return;
      }
      immediately after the line:
      if (enemies.Length > 0)
      In the DealDamage() method. That way, it wont mistake the trigger for the enemy itself. Hope that helps!

    • @Tofrellaz
      @Tofrellaz 4 години тому

      @@NightRunStudio Problem solved! Thank you mate!
      You're doing an amazing job, great teacher. Learning a lot from you!
      You deserve way more followers!