Skip to content

VectorPrivacy/VectorQuake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

137 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VectorQuake

Quake III Arena as an all-in-one WebXDC game. Open it, play it - no setup required.

Based on quake3.xdc by WofWca, which uses ioquake3 compiled to WebAssembly via Emscripten.

Features

  • Instant play - All game files are bundled. No downloads, no uploads, just open and frag.
  • Multiplayer via WebXDC - Play with friends through any WebXDC-compatible messenger (Delta Chat, Vector, etc.)
  • Classic maps - q3dm1, q3dm7, q3dm17, q3tourney2
  • Bot support - Play against AI bots when no friends are online
  • Mobile support - Touch controls with virtual joystick
  • Gamepad support - Full controller bindings

Usage

  1. Install Vector or Delta Chat (or another messenger that supports webxdc).
  2. Download VectorQuake.xdc from the releases page.
  3. Send the .xdc file in a chat.
  4. Open it and play!
  5. Your friend opens the same app from the chat to join multiplayer.

How It Works

The game engine (ioquake3) is compiled to WebAssembly. Multiplayer uses a fake WebRTC layer that routes packets through WebXDC's realtime channel for peer-to-peer play - no servers needed.

Controls

Desktop

  • WASD - Move
  • Mouse - Look/Aim
  • Left Click - Shoot
  • Space - Jump
  • 1-9 - Select weapon
  • F4 - Toggle menu
  • F8 - Add/kick bots
  • Tab - Scoreboard

Mobile

  • Left side - Virtual joystick for movement
  • Right side - Touch to look/aim, tap upper half to shoot

Building

# The .xdc file is just a zip archive
cd VectorQuake
zip -r ../VectorQuake.xdc . -x '.git/*' -x '.gitignore'

Credits

License

Engine code is GPL v2 (see COPYING.txt). Quake III Arena demo assets are freely distributable per id Software's terms.

About

A WebXDC (in-chat mini-app) version of Quake III Arena

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 94.4%
  • HTML 5.1%
  • Shell 0.5%