bevy_observed_utility

Crates.iobevy_observed_utility
lib.rsbevy_observed_utility
version0.1.0
sourcesrc
created_at2024-08-19 04:48:59.731956
updated_at2024-08-19 04:48:59.731956
descriptionErgonomic and Correct Utility AI for Bevy Engine
homepagehttps://github.com/ItsDoot/bevy_observed_utility
repositoryhttps://github.com/ItsDoot/bevy_observed_utility
max_upload_size
id1343479
size262,378
Christian Hughes (ItsDoot)

documentation

README

bevy_observed_utility

A state-of-the-art utility AI library for Bevy, built using ECS observers, with a focus on ergonomics and correctness.

See the documentation for a complete walkthrough example of using the library.

Design Goals

In order of priority:

  • Correctness
    • Scoring entity trees are scored in depth-first post-order traversal, ensuring that all children are scored before their parents.
  • Ergonomics:
    • Adding scoring, picking, and actions to pre-existing entities should have little boilerplate.
  • Modularity:
    • Adding new kinds of scoring and picking should be easy.
    • Adding different ways of handling actions should be easy.
    • Both turn-based and real-time games should be supported.
  • Performance:
    • Pay only for what you use: Scoring and picking observers are only added if they are used.
    • Scoring and picking should be reasonably fast. Action performance is up to the user.

License

bevy_observed_utility is dual-licensed under either:

  • MIT License
  • Apache License, Version 2.0

at your option.

Commit count: 0

cargo fmt