fix: integrate multiplayer (wip)

This commit is contained in:
Henri Bourcereau 2026-04-23 17:37:10 +02:00
parent 03b614c62e
commit 3f3f4598f6
7 changed files with 65 additions and 12 deletions

View file

@ -20,11 +20,13 @@ gloo-storage = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
gloo-net = { version = "0.5", features = ["http"] }
gloo-timers = { version = "0.3", features = ["futures"] }
# getrandom 0.3 requires an explicit WASM backend; "wasm_js" uses window.crypto.getRandomValues.
# Must be a direct dependency (not just transitive) for the feature to take effect.
getrandom = { version = "0.3", features = ["wasm_js"] }
web-sys = { version = "0.3", features = [
"RequestCredentials",
"AudioContext",
"AudioParam",
"AudioNode",