Skip to content

Repository files navigation

WASM Fantasia

A multiplayer horde-combat prototype built on Bevy and SpacetimeDB, running native and in the browser.

wasm fantasia

Bevy 0.18 + SpacetimeDB, native and WebAssembly. Early prototype, aiming toward a session-based action roguelite.

What's here

  • Massive enemy hordes (VAT-animated) with server-side AI
  • Crunchy combat: cone auto-target, damage numbers, hit VFX, screen shake
  • Wave survival with death and restart
  • Rune scripting runtime for data-driven abilities, behaviors, and rules
  • 3D character controller (Tnua + Avian3d) and third-person camera with gamepad
  • SpacetimeDB as the authority for every mode (singleplayer runs a local instance)

Design notes live in docs/design/.

Run it

Needs Rust, just, Bevy CLI (web builds), and SpacetimeDB. On Linux, also Bevy's deps.

just         # native dev build
just web     # WASM dev server
just build   # release bundles (dist/)
just check   # lint + web compile check

Run just --list for the rest.

About

A multiplayer game built on Bevy and SpacetimeDB, running native and in the browser.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages