VadimDez / Counter-Strike-JS

Counter Strike implementation with Javascript/Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:TypeScript 90.9%Language:JavaScript 4.6%Language:SCSS 3.0%Language:HTML 1.5%