Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tasgon/bevy_iced
Iced integration for Bevy
https://github.com/tasgon/bevy_iced
Last synced: 5 days ago
JSON representation
Iced integration for Bevy
- Host: GitHub
- URL: https://github.com/tasgon/bevy_iced
- Owner: tasgon
- License: other
- Created: 2022-01-11T05:08:30.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-01T08:02:50.000Z (6 months ago)
- Last Synced: 2024-12-01T09:08:37.607Z (12 days ago)
- Language: Rust
- Size: 252 KB
- Stars: 130
- Watchers: 4
- Forks: 14
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-iced - bevy_iced - Use iced apps in your [Bevy](https://github.com/bevyengine/bevy/) application. (Integrations)
README
# `bevy_iced`: use [Iced](https://github.com/iced-rs/iced) UI programs in your [Bevy](https://github.com/bevyengine/bevy/) application
[![Crates.io](https://img.shields.io/crates/v/bevy_iced.svg)](https://crates.io/crates/bevy_iced)
[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](./LICENSE)## Example
```rust
use bevy::prelude::*;
use bevy_iced::iced::widget::text;
use bevy_iced::{IcedContext, IcedPlugin};#[derive(Event)]
pub enum UiMessage {}pub fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(IcedPlugin::default())
.add_event::()
.add_systems(Update, ui_system)
.run();
}fn ui_system(time: Res
See the [examples](https://github.com/tasgon/bevy_iced/tree/master/examples) and the [documentation](https://docs.rs/bevy_iced) for more details on how to use the crate.
## Compatibility
|Bevy Version |Crate Version |
|--------------|---------------|
|`0.13` |`0.5`, `master`|
|`0.11` |`0.4` |
|`0.10` |`0.3` |
|`0.9` |`0.2` |
|`0.7` |`0.1` |## Todo
- Multi-window support
- Clipboard support## Credits
- [`bevy_egui`](https://github.com/mvlabat/bevy_egui) for giving me a useful starting point to do this
- [Joonas Satka](https://github.com/jsatka) for helping me port to Bevy 0.11
- [Tomas Zemanovic](https://github.com/tzemanovic) and [Julia Naomi](https://github.com/naomijub) for helping me port to Bevy 0.13