Destroy Enemies & Player Health UI | 2D Top Down RPG in Unity #7 | 2D Game Dev Tutorial

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

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

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

    You are criminally underrated. Please keep making more content, they're amazing.

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

    I have been trying to implement a health bar for days and almost gave up, this video helped so much!

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

    What do you want to see next???

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

      Death Screen and Main Menu maybe?

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

      Inventory and pickups

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

      Great idea! Complete the game loop!

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

      @Chrissy Petipois Good ideas!

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

      can you do where the arrows stuck in the enemy when hit it just looks weird when the arrow disappeared out of nowhere any way good vid i subbed

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

    Love your content!!!! Thanks so much 🙌🏻 I would love to see a slow motion effect, like when an enemy dies from a last hit or something you do the hit in slow motion, it gives the gameplay so much juice !!

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

      Thanks, I love the idea.

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

    I want to do 2d parkour game with agent story but doesn't seem like it will be easy. Your videos guide people who have no idea about unity (including me). Thanks for everything. Love from Turkey!

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

      You can do it! Put your mind to it and I bet you'll make an awesome Parkour game!

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

      @@MuddyWolf Thanks a lot!

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

    Nice vid!!

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

    I love your videos and hope you keep making them, you’re videos are what make me continue working on my games even when I want to give up. Do you think you could do a video in this series on health regeneration for our player?

  • @Saltycat12
    @Saltycat12 3 года назад +4

    This video is awesome and very helpful! Could you do a video on adding a custom cursor?

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

      Great idea! I'll add that as a separate video :)

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

      @@MuddyWolf thx!

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

    Thank you so much!! It was v helpful!! ✨

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

    How would you make a sword?

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

    adding damage for the gameobject is not working for me. I am using it as a bullet instead and I get the error "An object reference is required foe the non-static field, method or property"

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

    Me who already added a health and bow power UI last episode: "Im 2 steps ahead of you"

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

    How do you make something that heals the player?

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

    will you add a shop?

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

      A shop is a cool idea!

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

    that is soo cool

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

    If anyone is having the problem where the enemy will move in the opposite direction after they push it/ shoot it, here is a possible solution. Go to the RigidBody2D on the enemy and set its body type to static. If that doesn't work, try giving the enemy an empty object child and putting the code on there. Hope this helps!

  • @octaviojanz-sanchez2663
    @octaviojanz-sanchez2663 3 года назад

    Idk if I did something wrong but every time I enter unity The enemy is killed instantly when I fire at it I want it to take several shots to kill it, can someone help me with it

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

      I'm late, but just change the enemys max health from the inspector to be a higher value. Or you can also change the bowpower to be a lower value.

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

    slight problem the ai does not collide with anything

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

    Is it normal behavior if the arrows starting going in circles if they miss the enemy? Can't seem to figure it out and nothing in the code to suggest anything is wrong
    Also arrows arent sticking to the enemy they just keep swirling around either the enemy of the area next to the enemy
    this is of course without the Destroy(gameObject) for the Arrowscript

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

      I would turn on your arrow rigidbody's z constraint that should prevent it from spinning around

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

    My arrows fall on the floor when I fire them.

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

      Make sure gravity is set to zero in your ArrowPrefab

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

      and in Edit/Project Settings/Physics 2D set gravity X and Y to 0