vagra / grid

uniform-grid and loose/tight double-grid impl for rust and bevy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grid

uniform-grid and loose/tight double-grid impl for rust and bevy.

examples

arrow keys: move current agent / camera
z, x:       swhtch current agent

bevy_ugrid

cargo run -r --example bevy_ugrid

blue:   agent
green:  uniform cell
red:    current agent bumped other

bevy_ugrid

many_ugrid

cargo run -r --example many_ugrid

many_ugrid

bevy_dgrid

cargo run -r --example bevy_dgrid

blue:   agent
green:  loose cell
yellow: loose cell aabb rect
gray:   tight cell
red:    current agent bumped other

bevy_dgrid

many_dgrid

cargo run -r --example many_dgrid

many_dgrid

thanks for

About

uniform-grid and loose/tight double-grid impl for rust and bevy.


Languages

Language:Rust 100.0%