MCPcopy
hub / github.com/phoboslab/q1k3

github.com/phoboslab/q1k3 @main sqlite

repository ↗ · DeepWiki ↗
154 symbols 267 edges 41 files 0 documented · 0%
README

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.

Core symbols most depended-on inside this repo

_kill
called by 16
source/entity.js
_play_sound
called by 13
source/entity.js
_set_state
called by 10
source/entity_enemy.js
_update_physics
called by 9
source/entity.js
_draw_model
called by 9
source/entity.js
_spawn_particles
called by 7
source/entity.js
_receive_damage
called by 7
source/entity.js
_spawn_projectile
called by 6
source/weapons.js

Shape

Method 92
Class 60
Function 2

Languages

TypeScript100%

Modules by API surface

source/weapons.js15 symbols
source/entity.js14 symbols
source/entity_enemy.js9 symbols
source/entity_projectile_grenade.js7 symbols
source/entity_projectile_shell.js6 symbols
source/entity_projectile_plasma.js6 symbols
source/entity_projectile_nail.js6 symbols
source/entity_projectile_gib.js6 symbols
source/entity_player.js6 symbols
source/entity_pickup_nailgun.js5 symbols
source/entity_pickup_key.js5 symbols
source/entity_pickup_grenadelauncher.js5 symbols

For agents

$ claude mcp add q1k3 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact