bevy-yoetz

Crates.iobevy-yoetz
lib.rsbevy-yoetz
version
sourcesrc
created_at2024-03-06 00:17:23.950383
updated_at2024-11-30 20:33:19.160999
descriptionA decision-making AI for the Bevy game engine
homepage
repositoryhttps://github.com/idanarye/bevy-yoetz
max_upload_size
id1164210
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Owners (github:oxidd:owners)

documentation

https://docs.rs/bevy-yoetz

README

Build Status Latest Version Rust Documentation

Bevy Yoetz

Yoetz is a decision-making AI for the Bevy game engine.

Features

  • Describe the various strategies the AI agent can use by using a device macro on an enum.
  • Write systems that suggest and score behaviors from that enum.
  • AI informs user systems on the decision using the ECS (adds and removes components based on the strategy it chose)
  • Suggestions can carry data that will appear in the strategy components. The exact behavior of that data can be customized in the derive macro.

Example

Code: examples/example.rs

WASM: https://idanarye.github.io/bevy-yoetz/demos/example

Use the arrow keys to move the yellow square. The red square is controlled by AI. The AI's status is displayed above it.

https://github.com/idanarye/bevy-yoetz/assets/1149255/ad98e48f-8c86-451d-9a0f-82d9f6d1bac2

Versions

bevy bevy-yoetz
0.14 0.2
0.13 0.1

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 38

cargo fmt