Skip to content

Tile maps with chunks for the Bevy game engine.

License

Notifications You must be signed in to change notification settings

blamelessgames/bevy_tilemap

 
 

Repository files navigation

bevy_tilemap

Crates.io Crates.io license Rust

Chunk based tilemap for Bevy game engine.

Warnings

  • This is still very early and experimental and uses a very new game engine.

Features

  • Multi-threaded chunk based tile maps
  • Generic traits to be easy to implement into any system
  • Helpful traits that help encode and decode coordinates into indexes

Design

This is not intended to be just another Tile Map. It is meant to be a framework and extensible by design, like Bevy. There is an emphasis placed on generic traits to accomplish that. As well as work done to keep it as close to Bevy API as possible. This allows anyone to create their own tiles, chunks and maps and still retain the speed of a handcrafted multi-threaded chunk loader and tile map.

Usage

Add to your Cargo.toml file:

[dependencies]
bevy = 0.3
bevy_tilemap = 0.1

Live Example

There will be more work done on examples in the very near future. For now, you can check out a quick but non-interactive example with:

cargo run --example random_dungeon

About

Tile maps with chunks for the Bevy game engine.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 97.0%
  • GLSL 3.0%