Pretty Text is a Text2d effects library for Bevy.
Demos
cargo run --example type_writer

cargo run --example effects

cargo run --bin demo
Getting Started
First, add bevy_pretty_text to the dependencies in your Cargo.toml:
[]
= "0.1"
Then, you'll need to add the PrettyTextPlugin to your app.
use *;
use *;
And then you can make some pretty text!
The repository’s examples should help you get up to speed on common usage patterns.
Feature flags
| Flag | Description | Default feature |
|---|---|---|
default_effects |
Enable the built-in text effects. | Yes |
serialize |
Enable serialization for PrettyTextSpans. |
No |
Bevy version compatibility
bevy |
bevy_pretty_text |
|---|---|
| 0.16 | 0.1 |
License
Pretty Text is free and open source. All code in this repository is dual-licensed under either:
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option.