How to code Coilhead from Lethal Company - Unity Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 23

  • @timhegedus57
    @timhegedus57 9 วันที่ผ่านมา +1

    Bro how am i just finding these bangers holy

  • @usercontent2112
    @usercontent2112 3 หลายเดือนก่อน +1

    Wow awesome tutorial! Thanks yt recommendation

    • @spikely.
      @spikely.  3 หลายเดือนก่อน

      Glad you liked it!

  • @GameBoyAlex
    @GameBoyAlex 3 หลายเดือนก่อน +1

    Underrated

    • @spikely.
      @spikely.  3 หลายเดือนก่อน

      @@GameBoyAlex Thanks, Alex!

  • @DaRealShadez
    @DaRealShadez 3 หลายเดือนก่อน +2

    im your 40th subscriber :D

    • @spikely.
      @spikely.  3 หลายเดือนก่อน

      Thanks so much! Slowly but surely 🥲

  • @-SomeRandomMonke-
    @-SomeRandomMonke- หลายเดือนก่อน +1

    Could you do a tutorial on how to kind of create the jester?

    • @spikely.
      @spikely.  หลายเดือนก่อน

      Yep I sure can! I’m currently finishing up a horror game for a game jam but will work on a Jester tutorial afterwards

    • @-SomeRandomMonke-
      @-SomeRandomMonke- หลายเดือนก่อน

      @@spikely. Thanks!

  • @DonaKebabb
    @DonaKebabb 3 หลายเดือนก่อน +1

    i downloaded the ai pathfinding thing but cant find the scripts i need such as the pathfinder
    Edit: I also have and error for "Bounds" does not get a definition of getcorners or something

    • @spikely.
      @spikely.  3 หลายเดือนก่อน

      I think the component is actually called Pathfinding not Pathfinder. I may have misspoke.
      The error for Bounds not having getCorners is because you have to create a new script called BoundsExtensions. See the timestamp at 8:36
      Also you can just copy the script from my GitHub: github.com/spikelyDev/coilhead-tutorial/blob/main/Assets/Scripts/Extensions/BoundsExtensions.cs

    • @DonaKebabb
      @DonaKebabb 3 หลายเดือนก่อน

      @@spikely. Thanks you this fixed everything

    • @DonaKebabb
      @DonaKebabb 3 หลายเดือนก่อน

      @@spikely. Could you also make another part to this with patrolling, killing the player, sound and/or animation? i recently started coding and cant find any tutorials for this and i really want to make a game like lethal company

    • @spikely.
      @spikely.  3 หลายเดือนก่อน

      Yep I can definitely do a part two for you!

    • @DonaKebabb
      @DonaKebabb 3 หลายเดือนก่อน

      @@spikely. thank you so much

  • @Mohsen-v8p4h
    @Mohsen-v8p4h 3 หลายเดือนก่อน +1

    Can you code the bracken please

    • @spikely.
      @spikely.  3 หลายเดือนก่อน

      Sure! The Bracken is very similar to the Coilhead code-wise. The main difference is in the Update function and how the Bracken reacts when players are looking and not looking at him.
      If a player is looking at the Bracken for too long , set that player as the target and attack him.
      If a player looks at him for just the right amount of time, the Bracken should get shy and quickly scurry away.
      Essentially you want to create behavior for each of the Bracken’s states (ex. Wandering, aggressive, scared) and switch between those states depending on how the players react to him as explained above.
      Hopefully this is enough information to lead you in the right direction. If not then I can do a quick video on it.
      And thanks for watching and commenting!

    • @Mohsen-v8p4h
      @Mohsen-v8p4h 3 หลายเดือนก่อน +1

      @@spikely. You just got a new subscriber! You explained it very well but I'll be happy if you make a video for it if you don't mind. because I'm a newbie programer and most of the time my scripts have several warnings or they're just too messed up, when I'm not following any tutorials

    • @spikely.
      @spikely.  3 หลายเดือนก่อน

      Thanks so much! I will definitely make a video on it soon then.
      And don’t worry about being a newbie. Everybody starts somewhere - no shame in watching tutorials to figure out how things are done! I still look up things all the time!

    • @spikely.
      @spikely.  2 หลายเดือนก่อน

      Part one for coding the Bracken just uploaded!
      th-cam.com/video/68hqUd8Ybvo/w-d-xo.html