This project aims to be an exploration of performing AutoTiling on top of the bevy_ecs_tilemap crate as part of the following RFC to add AutoTiling to bevy_ecs_tilemap.
WASD to move camera.
Scroll in and out to zoom camera.
Click to place tiles.
- Press 0 to select blank tiles.
- Press 1 to select grass tiles.
- Press 2 to select dirt tiles.
- Press 3 to select water tiles.
- https://www.boristhebrave.com/2021/11/14/classification-of-tilesets/
- http://www.cr31.co.uk/stagecast/wang/blob.html
- https://www.boristhebrave.com/2021/09/12/beyond-basic-autotiling/
- https://gamedevelopment.tutsplus.com/tutorials/how-to-use-tile-bitmasking-to-auto-tile-your-level-layouts--cms-25673
I am using the following free assets, please note their READMES and LICENSES.
A collection of lints to catch common mistakes and improve your Rust code.
To see suggestions: cargo clippy
To automatically apply suggestions: cargo clippy --fix
A tool for formatting Rust code according to style guidelines.
- https://github.com/rust-lang/rustfmt
- https://github.com/rust-lang/rustfmt/blob/master/intellij.md (For use with CLion's Rust Plugin)
See cargo.toml
for details.
Bevy is a refreshingly simple data-driven game engine built in Rust. It is free and open-source forever!
- https://bevyengine.org/
- https://bevyengine.org/learn/
- https://github.com/bevyengine/bevy
- https://crates.io/crates/bevy
A tilemap rendering plugin for bevy. It is more ECS friendly as it makes tiles entities.
- https://github.com/StarArawn/bevy_ecs_tilemap
- https://github.com/StarArawn/bevy_ecs_tilemap/tree/main/examples
- https://docs.rs/bevy_ecs_tilemap/latest/bevy_ecs_tilemap/
- https://crates.io/crates/bevy_ecs_tilemap
This crate provides a debug interface using egui where you can visually edit the values of your components live.