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 for graphics and howler.js for audio.
grand-theft-duty.arjanfrans.com
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
Integrated tools:
- Build the spritesheets:
npm run build:spritesheets
- Requires
imagemagick
- Requires
- Build the audiosprites:
npm run build:audiosprites
- Requires
ffmpeg
- Requires
Requirements can be installed by running npm run dev:install-requirements
.
Other tools:
- BMFont: generate bitmap fonts.
Code is used from the following repositories:
- audiosprite for generating audio sprites out of multiple audio files.
- spritesheet.js for generating spritesheets out of multiple images.
- sat.js for collision detection.