by GenericCanadian · 2y ago · 0 comments
Bevy is still early, but the sweet spot right now is simulations. It's particularly weak in its UI, but that's the coming focus for getting the editor built.
If anyone needs ideas, making [boids](https://slsdo.github.io/steering-behaviors/) in Bevy is a great weekend project.
And you can also get an electron-like stack going, that is actually much less bloated than "normal" electron, by using tauri-webview, which uses the OS-provided webview and combining it with one of the many cool rust WASM-based reactive web-ui frameworks, like leptos or dioxus. This gets you compiled sizes of ~10s of MB compared to electrons 100s of MBs.
There's also bindings to a lot of traditional ui libs, like GTK, QT & Tk.
I'm currently going for the 2nd option (with leptos for the web part) as I'm used to the web-stack and am very productive with this approach, but native UI also seems very tempting to dig into further.
Some related links:
Still, very much in its infancy.
The backend is currently C++ but I'm considering using other languages since there are so many bindings (Mojo is on my radar).
What kind of games are you referring to?
This interview talks about it in a bit of length: https://youtu.be/PND2Wpy6U-E