Enemy with AI in my Zelda-like indie game! | Devlog 6 Enemy AI

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

КОМЕНТАРІ • 15

  • @zayniacgames
    @zayniacgames Рік тому +1

    This is what's awesome about Unity! All the unique tools and assets you can create are endless 😁

  • @minecraftwaffleman5112
    @minecraftwaffleman5112 Рік тому +2

    This custom AI tool is amazing, im developing for 2 years now and never thought to make custom tools, but maybe I should, that will be a step up in my knowledge and can make development easier, great stuff

    • @facepalmedev
      @facepalmedev  Рік тому +3

      Yup it took sometime to put together as I built it last year, but well worth making tools to make jobs a lot easier/intuitive later on.

  • @JYK-F1211
    @JYK-F1211 Рік тому

    This is super cool man love 2 c the systems that u made and how u fixed the problems ur having can’t wait for the next vid

  • @ElickFlash
    @ElickFlash Рік тому +1

    Holy Cow! State Machines I don't have to write out? And you linked the tutorial in the comments? Thank you Sir so Much!

    • @facepalmedev
      @facepalmedev  Рік тому +1

      The tutorial I linked in the comments just shows you how to make the interface.
      The actual took I developed myself and it took a while to workout/put together.

  • @amhidden3795
    @amhidden3795 Рік тому +1

    this is hype

    • @facepalmedev
      @facepalmedev  Рік тому

      Still a long way to go though, I'm trying not to think about the list of things I have to do at the moment. 😅

  • @ACouchpirate
    @ACouchpirate Рік тому

    The "palindrome" setting is typically called Ping-Pong 😄

    • @facepalmedev
      @facepalmedev  Рік тому +1

      Yup makes sense, I know it's common to use that term of phrase.
      I prefer palindrome because it's the same sequence forward then backward, ABCBA. When you play ping pong, the ball doesn't travel back in the same trajectory, so it seems an inaccurate description of what is actually happening. 🤣

  • @apemant
    @apemant Рік тому

    Looking solid!
    I will probably also need an AI tool for my project, maybe something with ScriptableObject as possible states or behaviours... Just have to ponder the cost-benfit analysis some more, since I've never done any UnityEditor programming to speak of. Buying something is an option, but reliance on 3rd party stuff from the asset stores makes me somewhat uneasy. Depends on what it is of course.

    • @facepalmedev
      @facepalmedev  Рік тому +1

      Depends what you want out of it.
      If you want to learn new things, I will say build your own thing, but if you want to just get things done an asset is probably the better option.
      Not sure what the AI tools are like on the asset store so 🤣

  • @dahstroyer
    @dahstroyer Рік тому +1

    How do you learn how to make visual code like the ai behavior edit

    • @facepalmedev
      @facepalmedev  Рік тому +2

      I didn't learn it all from one place, but a good starting point is probably this video:
      ua-cam.com/video/c_3DXBrH-Is/v-deo.html
      I used this as a base as I had never done anything with editor windows before. As for Serialization, I'm very familiar with it and I've build AI tools similar to this in the past within the inspector. I had to build a bunch of extension classes for the SerializedProperty and a lot of editor utilities to streamline my process for this window though.
      The actual backend uses a Serialized Handler Classes that consist of an enum type, an array of floats, an array of bools and an array of ints. During runtime this information is converted in to classes that can correctly handle the information. The reason I had to it this way is because you cannot serialize arrays of varying classes very easily.
      I ended up building my own side bar class that includes a right click context menu and a bunch of features like copy and paste.
      For more advanced stuff it's worth looking into Reflection as it'll open the door to making more complicated tools.

    • @dahstroyer
      @dahstroyer Рік тому

      @@facepalmedev thanks so much