QuakeWiki
September 20, 2021

Q1K3: A JavaScript Homage to Quake in Just 13KB

Here is a very popular entrant to the latest JS13KGames contest that ended this week. This Quake clone is amazing given the JavaScript limitations, and takes me right back to 1996 when I installed it off a magazine cover disc (when the demo even then was 10 megabytes).

The game comes from Dominic Szablewski (@phoboslab) and it’s playable in the browser. I have yet to explore the source and see how the map parser works.

Play here: https://phoboslab.org/q1k3/

Controls

  • Movement: WASD or Arrow Keys
  • Attack: Left Mouse Button
  • Jump: Space or Right Mouse Button
  • Switch Weapon: Q/E or Mousewheel

Features

  • 2 Levels
  • 5 Types of enemies
  • 3 Weapons
  • 30 different textures
  • Music from Andy Lösch: no-fate
  • Dynamic lighting
  • Doors(!)
  • Somewhat robust collision detection, even for fast moving objects
  • Enemy AI with line of sight checks. No pathfinding, but still does a reasonable job following the player
  • “Spacial” Audio (Stero separation and falloff by distance)
  • Maps build with TrenchBroom
  • A map compiler written in C (used during build)

Libs used

License

MIT Licensed

Please be aware that this projects makes use of Sonant-X (albeit heavily modified) which is published under the zlib license.

Post a Comment

No Comments »

No comments yet.

Leave a comment

You must be logged in to post a comment.