| Crates.io | bevy_default_font |
| lib.rs | bevy_default_font |
| version | 0.1.0 |
| created_at | 2022-12-12 08:50:57.187264+00 |
| updated_at | 2022-12-12 08:50:57.187264+00 |
| description | Default font support for the Bevy game engine |
| homepage | |
| repository | https://github.com/lovelyyfiaaa/bevy_default_font |
| max_upload_size | |
| id | 734865 |
| size | 1,464,119 |
Default font support for the Bevy game engine
Caption: An animated image showing the text debug example from the Bevy source code, modified to use the Bevy Default plugin for default font support.
Have you used Default::default() on TextStyles? Have you created Textes inside of From and Into trait implementations? Have you crazed yourself when seeing https://github.com/bevyengine/bevy/issues/1017?
Have you be dissapointed that there isn't a way to easily assign the default font in Bevy?
We're trying to fix that! π bevy_default_font is a plugin that allows you to easily assign the default font for UI elements in the Bevy game engine.
bevy_default as a:
bevy-inspector-egui)TextStyles aren't going to be styled, but this means that it only runs, exactly, once!!) app.add_plugin(
DefaultFontPlugin::new(
|_, server| server.load("NotoSans-Regular.ttf"),
Mode::Setup,
));
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.