Skip to content

About

A 3D web brawler built with Three.js, Blender MCP and Tripo 3D assets, with cinematic cutscenes.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Brawlverse logo

BRAWLVERSE

Every world. One arena.
An original 3D platform brawler for the browser — no install, send a link, fight a friend.

Live site Play Status Stars

three.js GSAP Vite Vercel

Play now →  ·  Watch the trailer  ·  Fighters  ·  Stages  ·  Run it locally  ·  How it's built


Scrolling the Brawlverse hero: an empty sky arena, then a plate-armoured knight and a blonde swordswoman leap in and clash in a burst of fire and lightning

↑ The landing page hero, scrubbed by scroll. Watch it as MP4 or scroll it yourself.


✦ What is this?

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.

🥊 The roster

All four Brawlverse fighters lined up on glowing plinths under coloured light shafts: Kael, Nyx, Bramm and Zephra

Kael, a knight in full dark plate armour, on the fighter select screen
Kael — Bruiser · Cinder Forge
Slow to start, impossible to stop. Full plate and heavy blows that end stocks early.
Nyx, a blonde swordswoman in gold armour with a greatsword
Nyx — Duelist · Neon Abyss
A long blade and a fast dash that punishes anything left hanging.
Bramm, a hulking brute with glowing crystal spikes
Bramm — Heavyweight · Sunken Colosseum
The hardest fighter to launch. Shrugs off light hits and answers with the whole arena.
Zephra, a martial artist in red
Zephra — Acrobat · Frostspire Summit
Lives in the air. Extra jumps, flying kicks, and the best recovery in the roster.
Kael idling on his plinth: a slow sway under a shaft of light, the rim glowing in his colour Live on the page
Each fighter stands on a dark metal plinth with a rim lit in their colour, a contact shadow and a shaft of light from above. They hold a front three-quarter pose with a slow sway; drag to spin them round and they settle back to face you. The outlined name behind them draws itself in, with light running around the letters.

🏟 The stages

Cinder Forge: a foundry platform hung on chains above a lava field
Cinder Forge
A foundry hung on chains inside a live volcano.
Sunken Colosseum: a drowned arena lit by shafts of light
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)
The hero's final frame: Kael and Nyx clash mid-air under the title KAEL vs NYX
Play with a friend: open a room, share the link, fight FAQ section titled Before you ask
Send a link. Settle it. Before you ask.
Closing section: The arena opens soon, over a morning arena video Footer with the animated BRAWLVERSE wordmark
The arena opens soon — over a looping morning-arena video Footer — the wordmark rises in and catches the cursor light

🚀 Quick start

You need Node.js 20+.

git clone https://github.com/JayDev-27/Brawlverse.git
cd Brawlverse
npm install
npm run dev

Open 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.


🛠 How it's built

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))
Loading
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.

The asset pipeline

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]
Loading

🗺 Roadmap

  • 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

🤝 Contributing

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.

👥 Contributors

Brawlverse is built in the open. Thanks to everyone who has pushed to this repo:

Every commit is attributed, so the full list also lives in the contributors graph.

🙏 Credits

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.

↑ Back to top

About

A 3D web brawler built with Three.js, Blender MCP and Tripo 3D assets, with cinematic cutscenes.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages