1 unstable release
0.1.0 | Oct 19, 2024 |
---|
#1753 in Game dev
171 downloads per month
5KB
Bevy Position Text Plugin ✨
Bevy plugin for displaying camera position UI text.
Features 🌟
- Spawns a text entity with initial text.
- Updates the text to display the camera's position in real-time.
Requirements ⚙️
- Rust
- Bevy 0.14+
Installation 📦
-
Add the Bevy dependency to your
Cargo.toml
:[dependencies] bevy_ui_coords = "0.1.0" # or the latest version
-
Include the PositionTextPlugin in your Bevy app:
use bevy::prelude::*; use bevy_ui_coords::PositionUiTextPlugin; fn main() { App::new() ... .add_plugins(PositionTextPlugin) ... .run(); }
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~41–78MB
~1.5M SLoC