Pretty Text is a text effects library for Bevy.
Demos
cargo run --bin showcase
cargo run --bin typewriter
[!NOTE]
demouses an older version ofbevy_pretty_textwith a different syntax because one of its dependencies is not updated.
cargo run --bin demo
Getting Started
First, add bevy_pretty_text to the dependencies in your Cargo.toml:
[]
= "0.4"
Then, you'll need to add the PrettyTextPlugin to your app.
use *;
use *;
And then you can make some pretty text!
The repository examples should help you get up to speed on common usage patterns.
Feature flags
| Flag | Description | Default feature |
|---|---|---|
serialize |
Enable serialization for ParsedPrettyText. |
No |
Bevy version compatibility
bevy |
bevy_pretty_text |
|---|---|
| 0.18 | 0.4 |
| 0.17 | 0.3 |
| 0.16 | 0.1-0.2 |
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.