Skip to content

Counter Strike implementation with Javascript/Typescript

Notifications You must be signed in to change notification settings

hk-company-code/Counter-Strike-JS

 
 

Repository files navigation

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

About

Counter Strike implementation with Javascript/Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.9%
  • JavaScript 4.6%
  • SCSS 3.0%
  • HTML 1.5%