https://github.com/vadimdez/counter-strike-js
Counter Strike implementation with Javascript/Typescript
https://github.com/vadimdez/counter-strike-js
counter-strike half-life textures typescript
Last synced: 6 months ago
JSON representation
Counter Strike implementation with Javascript/Typescript
- Host: GitHub
- URL: https://github.com/vadimdez/counter-strike-js
- Owner: VadimDez
- Created: 2018-02-25T15:47:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T05:01:00.000Z (about 2 years ago)
- Last Synced: 2024-04-09T22:34:58.416Z (over 1 year ago)
- Topics: counter-strike, half-life, textures, typescript
- Language: TypeScript
- Homepage:
- Size: 28.5 MB
- Stars: 255
- Watchers: 9
- Forks: 34
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# 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
```- Open [http://localhost:9000](http://localhost:9000)

##
[Vadym Yatsyuk](https://github.com/vadimdez)