bevy_2d_grid 0.2.0

A infinite 2D grid for Bevy
Documentation
  • Coverage
  • 0%
    0 out of 20 items documented0 out of 4 items with examples
  • Size
  • Source code size: 227.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.66 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6m 44s Average build duration of successful builds.
  • all releases: 4m 53s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • dilling/bevy_2d_grid
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dilling

Bevy 2d Grid

Simple 2D infinite grid for bevy

Adapted from bevy_infinite_grid for 2D.

crates.io docs.rs Bevy tracking CI-CD

demo

Demo

Run a simple implementation of this grid by cloning this repository and running:

cargo run --example simple

Features

  • Easily spawn an infinite grid aligned to the world origin and axes

Usage

Add the plugin to the [dependencies] in Cargo.toml

bevy_2d_grid = { git = "https://github.com/dilling/bevy_2d_grid", branch = "main" }

Insert the infinite grid plugin after the default plugins.

.add_plugins(InfiniteGridPlugin)

And spawn the grid to see the results.

commands.spawn(InfiniteGrid2DBundle::default());

See the simple demo for an example of a minimal implementation.

Bevy Version Support

We intend to track the main branch of Bevy. PRs supporting this are welcome!

bevy bevy_2d_grid
0.18 0.2
0.16 0.1

License

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

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.

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.