{"repo":"victorb/dogoap","free":true,"listed":false,"github":"https://github.com/victorb/dogoap","clone":"git clone https://github.com/victorb/dogoap.git","description":"Goal-oriented Action Planning (GOAP) with Bevy integration","language":"Rust","stars":196,"topics":["ai","bevy","bevy-engine","bevy-plugin","ecs","game-development","gamedev","goap","npc","npcai"],"license":"MIT","category":"game-templates","readme_excerpt":"Data-Oriented GOAP (Goal-Oriented Action Planning) AKA DOGOAP - GOAP implemented in data-oriented way to facilitate dynamically setting up states/actions/goals rather than only at compile-time Includes bevy dogoap which provides a neat Bevy integration of the dogoap library Live Demos Documentation - dogoap docs - Standalone library for creation actions, states and goals to be used with the provided planner - bevy dogoap docs - Integration of the dogoap library into Bevy Why should I use this? - If you have NPCs that have to perform tasks that depend on each other (Move to A pickup item X move to B drop item X), GOAP can help you do that - If you want NPCs to be able to improvise themselves to how to reach a goal (aka \"emergent behaviour\"), after you setup the actions, GOAP can help you do that - You're looking for something more involved than Utility AI, but you don't wanna go full HTNs, GOAP can help you do that - You watched the F.E.A.R GDC talk (or the Shadow of Mordor one) from some Monolith people, and you know you want GOAP, then this library helps you skip the boring stuff :) Minimal Bevy Example In this example, we create a IsHungry DatumComponent that signals if the entity is hungry or not, and a EatAction ActionComponent . Once you run this code, the planner will automatically figure out that the entity needs to execute the EatAction in order to set IsHungry to false, and your defined System handles the actual logic of the action. More involved examples can be foun","default_branch":null,"files":null,"tree":[],"storefront":"/r/victorb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/victorb/dogoap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}