Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arjanfrans/grand-theft-duty
:gun: Javascript game using three.js
https://github.com/arjanfrans/grand-theft-duty
Last synced: 12 days ago
JSON representation
:gun: Javascript game using three.js
- Host: GitHub
- URL: https://github.com/arjanfrans/grand-theft-duty
- Owner: arjanfrans
- License: mit
- Created: 2015-09-24T19:34:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-11-23T16:15:37.000Z (almost 3 years ago)
- Last Synced: 2024-05-21T08:17:27.704Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 24.1 MB
- Stars: 9
- Watchers: 2
- Forks: 6
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Grand Theft Duty
[![Dependency Status](https://david-dm.org/arjanfrans/grand-theft-duty.svg)](https://david-dm.org/arjanfrans/grand-theft-duty)
[![devDependency Status](https://david-dm.org/arjanfrans/grand-theft-duty/dev-status.svg)](https://david-dm.org/arjanfrans/grand-theft-duty#info=devDependencies)A top-down shooter inspired by the classic Grand Theft Auto games and Call of Duty.
Grand Theft Duty combines elements of both games.The game is built using [three.js](http://threejs.org/three.js) for graphics and [howler.js](https://github.com/goldfire/howler.js)
for audio.## Demo
[grand-theft-duty.arjanfrans.com](http://grand-theft-duty.arjanfrans.com/)
## Setup
Clone the repository:
```
git clone https://github.com/arjanfrans/grand-theft-duty
```Go into the project directory and install packages:
```
npm install
```Start the game:
```
npm start
```## Development
Integrated tools:
* Build the spritesheets: `npm run build:spritesheets`
* Requires `imagemagick`
* Build the audiosprites: `npm run build:audiosprites`
* Requires `ffmpeg`Requirements can be installed by running `npm run dev:install-requirements`.
Other tools:
* [BMFont](http://www.angelcode.com/products/bmfont/): generate bitmap fonts.## Credits
Code is used from the following repositories:
* [audiosprite](https://github.com/tonistiigi/audiosprite) for generating audio sprites out of multiple audio files.
* [spritesheet.js](https://github.com/krzysztof-o/spritesheet.js/) for generating spritesheets out of multiple images.
* [sat.js](https://github.com/jriecken/sat-js) for collision detection.