| Crates.io | bevy_slow_text_outline |
| lib.rs | bevy_slow_text_outline |
| version | 0.2.0 |
| created_at | 2025-06-22 22:42:28.932477+00 |
| updated_at | 2025-06-25 00:39:53.70814+00 |
| description | UI text outlines for the bevy game engine |
| homepage | |
| repository | https://github.com/UkoeHB/bevy_slow_text_outline |
| max_upload_size | |
| id | 1721990 |
| size | 135,801 |
Small crate that adds the TextOutline component for bevy text (both UI and 2d).
Add the plugin:
app.add_plugins(SlowTextOutlinePlugin::default());
Add the component to your UI node with text:
commands.spawn((Text::new("Hello, World!"), TextOutline{ width: 1.0, ..default() }));
Here is the ui_demo example's output on a Mac, which has a scaling factor of 2.0.
The current implementation is naive and has catastrophic performance degredation scaling with outline width. To avoid melting your GPU, widths are capped at 8 pixels by default (after scaling factors are applied). The max width can be adjusted with SlowTextOutlinePlugin.
bevy |
bevy_slow_text_outline |
|---|---|
| 0.16 | 0.1.0 - main |