#bevy #wry #bevy-plugin #cross-platform #plugin

bevy_wry

A tauri-apps/wry integration with Bevy engine

11 releases

0.1.10 Aug 14, 2024
0.1.9 Jul 23, 2024
0.1.6 Feb 23, 2024
0.1.0 Jan 25, 2024
0.0.1 Feb 18, 2024

#1473 in Game dev

MIT license

45KB
561 lines

About

'bevy_wry' is a bevy plugin that provides integration with wry - a cross platform webview rendering library written in rust.

BevyWry allows for bevy::Event based communication with WebView:

Please keep in mind that you will have to add this patch to use bevy_wry:

[patch.crates-io]
# At the moment http disallows empty authority and invalidates uris like: "file:///path/to/file"
http = { git = "https://github.com/PawelBis/http", branch = "feature/empty-authority" }

Examples

  • fullscreen - how to create and use fullscreen webview with transparency. Linux and Windows doesn't support transparency at the moment
  • anchors

Run an example with: cargo run --example=example_name

Dependencies

~24–66MB
~1M SLoC