/q1k3

A tiny FPS for js13k

Primary LanguageJavaScriptMIT LicenseMIT

Q1K3 - A JS13k GAME

My entry for the 2021 js13k competition.

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

Making Of: https://phoboslab.org/log/2021/09/q1k3-making-of

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.