
A package for implementing a semi-complex logic of an monster meant mainly for 2D top-down horror games.This package provides a fully functional and highly optimized asset for Unity, designed to enhance game development by offering a ready-to-use solution with minimal setup required. The asset includes the actuall logic, as well as a test scene with a maze-like map, a playable player character and a monster with said logic and 2D animated sprites.IMPORTANT:This package requires `A* Pathfinding` (Aron Granberg) to work. Upon downloading this package, you also have to download (free version is sufficient) A* Pathfinding and import it into the project.You can download A* Pathfinding here: https://arongranberg.com/astar/downloadFor detailed instructions on how to use and implement this asset, please refer to the README.txt file included in the package.Technical Specifications:Unity Version: 2022.3.21f1 LTS or higherPlatforms: All platforms supported by UnityRendering: 2DFeatures:A* Pathfinding ImplementationDynamic State Machine SystemConfigurable Field of View (FOV)Sound Detection System with adjustable rangesCustomizable patrol points systemRuntime navigation mesh generationPerformance-optimized code structureEvent-based behavior systemCoroutine-based teleportation systemRequirements:A* Pathfinding ProjectUnity 2D Package2D Tilemap EditorAsset Contents:Core AI ScriptsExample SceneCustomizable PrefabsAnimation ControllersDocumentationTest Environment AssetsDuring the creation of the package, GPT-4o has been partially used when writing the code to help with code organization, comments, or parts of the logic that I lacked the skill/knowledge to create by myself.