Noxmore/bevy_trenchbroom
Description and use
**Brief Summary**
*bevy_trenchbroom* is a Rust library that adds native support for TrenchBroom‑created *.map* and *.bsp* files to the Bevy game engine. It provides a straightforward API for loading level geometry, entities, and textures directly into a Bevy app, making it easy to prototype or build games that rely on classic BSP‑based level design.
**Value**
- **Seamless workflow**: Designers can continue using TrenchBroom’s visual editor while developers import the exact same level data into Bevy without writing custom parsers.
- **Time‑saving**: The crate handles geometry conversion, texture mapping, and entity translation out of the box, reducing boilerplate and the risk of mismatched assets.
- **Community traction**: With 143 stars and active commits as of June 2026, the project has a modest but engaged user base, indicating that the core functionality is battle‑tested for hobby and prototype projects.
**Practical Adoption Path**
- **Add the crate**: Include
bevy_trenchbroom = "0.x"in yourCargo.toml. - **Enable the plugin**: In your Bevy
App, callapp.add_plugin(bevy_trenchbroom::TrenchBroomPlugin);. - **Load a map**: Use the provided
load_map("assets/level.map")(or.bsp) function to obtain aSceneor entity hierarchy you can insert into your world. - **Integrate with your game logic**: The plugin emits events for loaded entities, allowing you to attach custom components (e.g., AI, physics) based on TrenchBroom entity properties.
- **Iterate**: Re‑export the updated
.mapfrom TrenchBroom and hot‑reload in the running Bevy app for rapid iteration.
**Production‑Readiness Assessment**
- **Maturity**: Medium. The crate is functional for prototypes and internal tools, but it lacks extensive documentation, automated tests, and a formal release schedule.
- **Maintenance**: Recent commits (June 2026) show activity, yet the maintainer count is low; you should verify that security patches and dependency updates are being applied.
- **Risk Mitigation**: Review the MIT/Apache license (as listed in the repo) for compatibility, audit the dependency tree for known CVEs, and consider pinning versions or forking the library if you need long‑term stability.
Overall, *bevy_trenchbroom* offers a practical bridge between TrenchBroom level design and Bevy development, suitable for early‑stage projects and internal pipelines, provided you perform the usual due‑diligence checks before committing it to a production codebase.
Use in a workflow
Noxmore/bevy_trenchbroom may be useful when its README and activity match a concrete workflow.
Limitations and review notes
Medium: useful for prototypes or internal workflows, with dependency and maintenance checks before production.
- Source: github
- Language: Rust
- Record date: 2026-09-05T17:31:45.835Z