/Q1K3Mod

A tiny FPS for js13k

Primary LanguageJavaScriptMIT LicenseMIT

Q1K3 - A JS13k GAME

My entry for the 2021 js13k competition.

Quick start

npm i
npm run build
npm run start

Demo

:godmode: Play here: https://sibvrv.github.io/Q1K3Mod/

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.