Every world. One arena.
An original 3D platform brawler for the browser — no install, send a link, fight a friend.
Play now → · Watch the trailer · Fighters · Stages · Run it locally · How it's built
↑ The landing page hero, scrubbed by scroll. Watch it as MP4 or scroll it yourself.
Brawlverse is a platform fighter you play in a browser tab: four fighters, floating arenas, knock your friend off the stage. This repo holds the cinematic landing page that launches the project, built the way AAA game sites are — a scroll-driven trailer, real-time 3D characters and shader-driven stage reveals — while the game itself is built in the open.
| 🎬 Scroll-driven trailer | A 128-frame cinematic clip scrubbed frame-by-frame by your scroll, rendered on a WebGL shader with RGB split, embers and letterbox bars. |
| 🧍 Real 3D fighters | Rigged, animated characters on lit plinths, posed to face you — drag to spin them, scroll to switch. Environment reflections and rim lights in each fighter's colour. |
| 🌋 Living stages | Every stage still gets an AI depth map, so the shader moves near and far layers separately — the art reads as a 3D set, not a JPEG. |
| ✨ Small, crafted details | A cursor-following light in the titles, letters that rise with scroll, a star count that counts up, a closing video that only plays when on screen. |
| ⚡ Fast | Frames stream in coarse-to-fine, renderers sleep off-screen, pixel ratio is capped on weaker devices, and everything ships from Vercel's edge with long-lived caching. |
| ♿ Respectful | Honours prefers-reduced-motion, falls back to images when WebGL isn't available, and keeps all text real, selectable HTML. |
![]() Cinder Forge A foundry hung on chains inside a live volcano. |
![]() Sunken Colosseum A drowned arena where the old champions still watch from the walls. |
Plus Neon Abyss and Frostspire Summit — see all four live.
More of the page (multiplayer, FAQ, closing, footer)
![]() |
![]() |
| Send a link. Settle it. | Before you ask. |
![]() |
![]() |
| The arena opens soon — over a looping morning-arena video | Footer — the wordmark rises in and catches the cursor light |
You need Node.js 20+.
git clone https://github.com/JayDev-27/Brawlverse.git
cd Brawlverse
npm install
npm run devOpen the URL Vite prints (default http://localhost:5173) and scroll.
| Command | What it does |
|---|---|
npm run dev |
Dev server with hot reload: the site at /, the game at /play/ |
npm test |
Simulation and netcode tests (determinism, rollback, roster, stages) |
cd server && npm install && npm run dev |
Local room service for online play (the game uses it automatically in dev) |
npm run build |
Production build into dist/ |
npm run preview |
Serve the production build locally |
Tip
The page is tuned for desktop, but it runs on phones too — weaker devices get a lighter render path automatically.
flowchart LR
scroll([Native scroll]) --> loop[rAF loop<br/>section progress]
loop --> hero[Hero<br/>128 webp frames → shader plane]
loop --> fighters[Fighters<br/>GLB + AnimationMixer on a lit plinth]
loop --> stages[Stages<br/>noise wipe + depth parallax]
gsap[GSAP ScrollTrigger] --> reveals[Text reveals<br/>footer wordmark]
hero & fighters & stages --> gl((three.js / WebGL))
| Piece | File | Notes |
|---|---|---|
| Scroll + sections | src/main.js |
One requestAnimationFrame loop reads native scroll for every sticky section; GSAP handles reveals. |
| Hero trailer | src/hero.js |
Frame loader (poster → every 8th frame → the rest) feeding a shader with chromatic split, embers and letterbox. |
| 3D fighters | src/fighters3d.js |
GLTFLoader, PMREM room environment, key + coloured rim lights, drag-to-spin with inertia. |
| Stages | src/stages.js |
Two-texture fbm noise wipe with a hot edge; depth maps drive per-pixel parallax. |
| Asset tooling | tools/ |
Headless Blender scripts: FBX → optimised GLB with NLA animation tracks, and reference renders. |
flowchart LR
A[ChatGPT image gen<br/>keyframes + stages] --> B[Google Flow / Veo<br/>start→end video]
B --> C[ffmpeg<br/>clean, trim, 128 webp frames]
A --> D[Depth Anything v2<br/>depth maps]
E[Mixamo rigged characters] --> F[Blender headless<br/>FBX → GLB, 1k textures]
C & D & F --> G[public/ → Vercel]
- Cinematic landing page with scroll trailer, 3D roster and stage reveals
- Deploy on Vercel
- Deterministic 60 Hz simulation: movement, jumps, ledges, shields, dodges, knockback and stocks
- Four fighters with their own frame data and Mixamo animation
- Four stages built from the key art, plus a grey-box training stage
- Play with a Friend: rollback netcode over WebRTC, room codes and share links (Cloudflare room service)
- Menus: character and stage select, results, training mode, key remapping
- First public playable build at
/play - Each player picks their own fighter online, and online rematches
- Music, more stages, signature special moves
- TURN relay for the strictest networks
Issues and ideas are welcome — open one at github.com/JayDev-27/Brawlverse/issues. For code changes, fork, branch, and open a pull request with a short description and a screenshot or clip if it's visual.
Brawlverse is built in the open. Thanks to everyone who has pushed to this repo:
- @Mxhi-04 — documentation, asset references and repo upkeep
- @satiricalguru — direction, design and the build
- Copilot, Cursor Agent and Codex — agent-assisted code, refactors and tooling
- dependabot[bot] and github-actions[bot] — dependency bumps and CI
Every commit is attributed, so the full list also lives in the contributors graph.
- Characters: rigged models and animations from Adobe Mixamo.
- Imagery and video: generated with ChatGPT image generation and Google Flow (Veo).
- Depth maps: Depth Anything V2 via Transformers.js.
- Fonts: Clash Display and General Sans from Fontshare.
- Built with: three.js, GSAP, Vite, Blender.
Brawlverse is an original project: its characters, stages and story are its own and it is not affiliated with any other game.
If the trailer made you want to throw hands, give it a ⭐ — it's how we know to keep going.












