#grid #bevy-plugin #bevy #gamedev

bevy_ghx_grid

Bevy plugins for 2D & 3D grids

5 releases (3 breaking)

0.4.0 Oct 23, 2024
0.3.0 Sep 21, 2024
0.2.1 May 16, 2024
0.2.0 Mar 6, 2024
0.1.0 Mar 6, 2024

#1330 in Game dev

46 downloads per month
Used in bevy_ghx_proc_gen

MIT/Apache

23KB
371 lines

Bevy Ghx Grid

Bevy tracking bevy_ghx_grid on crates.io bevy_ghx_grid on docs.io

Uses and exports ghx_grid, as well as additional plugins and utilities dedicated to Bevy.

Grid debug plugin

GridDebugPlugin provides debug utilities for the grid-types within ghx_grid:

  • Can draw a debug view of any 2d/3d grid
  • Can draw debug markers on any cells of a grid (controlled via bevy events)

Use it by inserting a DebugGridView3d bundle on your Grid entity (or DebugGridView2d, depending on your Bevy Camera).

debug_grid_and_markers

Cargo features

Find the list and description in Cargo.toml

  • debug-plugin [default]: compiles the grid debug plugin and its systems.
  • reflect [default]: enables ghx_grid reflect feature.

See also the main crate cargo features

Compatible Bevy versions

bevy_ghx_grid ghx_grid bevy
0.4 0.4 0.14
0.3 0.3 0.13
0.2 0.2 0.13
0.1 0.1 0.12

License

Code

bevy_ghx_grid is free and open source. All code in this repository is dual-licensed under either:

at your option.

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.

Dependencies

~20–58MB
~1M SLoC