/Counter-Strike-JS

Counter Strike implementation with Javascript/Typescript

Primary LanguageTypeScript

Counter-Strike JS

Counter-Strike 1.6 implementation in TypeScript utilizing state of the art browser APIs.

Used https://github.com/MathiasVP/CS as the base.

Demo

No hosted demo, run locally

Current state

  • Parses and renders .bsp files (version 30) containing map data
  • Parses and renders .mdl files (version 10) with textures
  • Camera movement, yaw and pitch fully implemented
  • Collision detection implemented
  • Naive gravity implemented

Develop

Please note: No actual data (maps, models, textures, etc.) is included in the project, due to copyright reasons!

  • Copy cstrike folder from your Counter-Strike 1.6 folder into root folder of this project

  • Install dependencies

npm install
  • Then start webpack
npm start

Menu Screenshot

Vadym Yatsyuk