← All Workshops
MudEngine Part 10: Desktop with Blitz
Step 12 / 12
Congratulations!
You just ran your MUD as a native GPU-accelerated desktop application — no browser, no WebView, no JavaScript.
What we achieved:
- Blitz renderer — swapped the browser DOM for a pure-Rust HTML/CSS engine built on WGPU and Vello
- Two-line migration — changed
use dioxus::prelude::*touse dioxus_native::prelude::*anddioxus::launchtodioxus_native::launch - Fullstack still works — server functions, WebSocket, and
set_server_url()all function unchanged - Cross-platform clients — the native window and browser tabs share the same game world
- Experimental exploration — you experienced the cutting edge of Rust-native UI rendering
What we learned
Resources
📚 What we learned
| Concept | How we used it |
|---|---|
dioxus_native::launch | Starts a winit window with the Blitz renderer |
dioxus-natives::prelude | Re-exports all Dioxus macros and types for native rendering |
set_server_url | Configures the native client to find the Axum server |
| Blitz rendering pipeline | Virtual DOM → Stylo CSS → Taffy layout → Vello GPU draw |
| WGPU backend | Vulkan, Metal, or DX12 — automatic GPU selection |
| Experimental limitations | Missing CSS features, rendering quirks, pre-alpha stability |
|
Step 12 / 12