Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

AI 2D AI tool - WIP

Discussion in 'Tools In Progress' started by MaykeBr, Apr 14, 2021.

  1. MaykeBr

    MaykeBr

    Joined:
    Dec 21, 2019
    Posts:
    9
    Hi folks, my name is Mayke (pronounced Mike). I am 23 years old, I have been a student and programmer for about 3.5 years. I am currently working on a 2D AI tool that uses Finite State Machine and a node-based system to quickly create enemies, NPCs, and bosses for top-down and platform 2D games.

    Currently, the tool comes with 16 predefined states/behaviors that you can use as you like on your characters. All predefined states have tons of variables and options that you can customize it making everything unique and suitable for your projects. Below you can see some screenshots and a video:


    The node-based editor


    The editor to generate the Enemy's template


    The data editor of the enemy


    How to create an enemy
    • This tool is made for everyone, from beginners to advanced developers.
    • Although the tool includes 16 essential states for enemies, it's also a complete framework, allowing developers to create their own behaviors and visualizing them on the node-based system.
    • I am currently testing everything and making the code as clean as possible, after that, I will finish the documentation and tutorials. My plan is to sell the tool in the asset store at a fair price, although I haven't found a similar asset that offers the same features, so I don't have a base for pricing. I would like to know your thoughts about the pricing and about the whole project.
    • Feel free to comment and give me feedback.

      UPDATE:

      The tool is finally available, check it out: https://forum.unity.com/threads/released-the-2d-ai-tool-for-unity-is-now-available.1110955/
     
    Last edited: May 18, 2021
    DrOcto and BigRookGames like this.
  2. Northstar3757

    Northstar3757

    Joined:
    Aug 15, 2020
    Posts:
    1
    THIS LOOKS AMAZING!!!
     
    MaykeBr likes this.
  3. ActivePrime

    ActivePrime

    Joined:
    Jan 28, 2014
    Posts:
    147
    Great work!
     
    MaykeBr likes this.
  4. Jason-W

    Jason-W

    Joined:
    Jan 22, 2013
    Posts:
    3
    If you're looking for comparisons to base pricing off of, you might check out CorgiEngine. It isn't an AI-specific asset, but does offer a decently robust AI system in addition to 2D platformer features.
    I'll be keeping my eye on this, however, as it looks very promising! Good work =)
     
    BigRookGames likes this.
  5. MaykeBr

    MaykeBr

    Joined:
    Dec 21, 2019
    Posts:
    9
    Thanks for the hint.
     
  6. BigRookGames

    BigRookGames

    Joined:
    Nov 24, 2014
    Posts:
    329
    This.
    Also behavior designer is another node based enemy state machine tool for 3d/2d. Though I'm sure you are aware of it.
    Yours looks great so far.
     
  7. MaykeBr

    MaykeBr

    Joined:
    Dec 21, 2019
    Posts:
    9
    Thank you for you comment, I follow your work on Reddit, I'm happy to get your attention. I already take a look at the Behavior designer, thanks again.
     
    BigRookGames likes this.
  8. MaykeBr

    MaykeBr

    Joined:
    Dec 21, 2019
    Posts:
    9
    UPDATE

    This is a companion AI that I made with the tool with almost the same logic as the enemies. I forgot to say in the description that the tool is not limited to make only hostile enemies, you can make NPCs that can follow paths, patrol, and react to the player's targets. Example: You can make a 'Merchant' NPC that will run to a position when it finds a hostile monster in the town or a faction of warriors that will attack monsters and rival factions with just a few clicks.



    This AI is quite simple, as shown at end of the video, but it's possible to add many others states to the characters.
     
    Last edited: Apr 19, 2021
    DrOcto likes this.