MCPcopy Index your code
hub / github.com/ElliotB256/bevy_combat

github.com/ElliotB256/bevy_combat @0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.0 ↗ · + Follow
129 symbols 146 edges 23 files 26 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

bevy_combat

It's a bevy port of my ECS Combat Unity demo.

Check out the web demo in your browser. You can use the - and = keys to speed up and slow down time (make sure you have focussed the browser window).

demo scene

Added so far

  • Movement
  • Combat and targetting AI
  • Simple weapons (instant hit), damage, health and mortality
  • Death animations and explosions
  • Shields

Coming soon

  • More weapons
  • Combat calculations, e.g. weapon effectiveness.
  • Ship shaders
  • Fix bugs

Getting Started

To build and deploy for web:

cargo make serve

To run for pc:

cargo run

Credits

Credit for individual art assets can be found here.

Core symbols most depended-on inside this repo

game_loop_run_criteria
called by 3
src/game/mod.rs
get_cell_coordinates
called by 3
src/ai/aggression.rs
get_heading_to_point
called by 2
src/math_util.rs
get_angle_difference
called by 2
src/math_util.rs
get_transform
called by 2
src/fx/beams.rs
reset
called by 1
src/combat/tools.rs
is_ready
called by 1
src/combat/tools.rs
consider
called by 1
src/ai/aggression.rs

Shape

Class 58
Function 43
Method 17
Enum 11

Languages

Rust100%

Modules by API surface

src/movement.rs19 symbols
src/ai/aggression.rs12 symbols
src/fx/animated.rs10 symbols
src/combat/effects.rs10 symbols
src/fx/beams.rs8 symbols
src/combat/tools.rs8 symbols
src/combat/mortal.rs8 symbols
src/game/mod.rs7 symbols
src/combat/mod.rs6 symbols
src/ai/movement.rs6 symbols
src/main.rs5 symbols
src/combat/shields.rs5 symbols

For agents

$ claude mcp add bevy_combat \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact