Skip to content

An embedded webview in Bevy using Wry's child windows

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

hytopiagg/bevy_wry_webview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bevy_wry_webview

A small library for embedding a wry web-view into Bevy apps

What Works

  • Syncing the web-view's position and size to a bevy_ui element.
  • Input, transparency (sorta)
    • Free thanks to wry
  • MacOS, Windows, Linux (w/ X11)

To-Do List

  • Decent Documentation
  • Allow Despawning of WebViews
  • Better Modularity
    • Possibly encompass into a larger library with different web-view backends
  • Off-screen Rendering
  • Better Platform Support
    • Mobile
    • Web support (ironic right)
    • Wayland
      • Seemingly impossible
  • Occlusion by other bevy_ui elements
    • This works using overlay windows, so occlusion would likely involve a lot of jank
  • IPC Support
    • Basic, message based IPC
      • Crossplatform Support
        • Mac
        • Windows
          • WebView -> Rust
          • Rust -> WebView
        • Linux
      • Graceful Error-handling
    • A full IPC to allow JS to access the bevy World
  • General Refactoring
    • Split IpcHandler into read and write
  • Linux Weirdness
    • Transparency
    • Webview Movement

Credits/Thanks

CrabNebula and the Wry team - Worked with us to get an embeddable web-view implemented, a surprisingly difficult but interesting task

Nicopap - Served as the main source of Bevy knowledge through all of this, helped us understand the problem scope of the Bevy side a ton

About

An embedded webview in Bevy using Wry's child windows

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published