Skip to content

arjanfrans/grand-theft-duty

Repository files navigation

Grand Theft Duty

Dependency Status devDependency Status

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.

Demo

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: generate bitmap fonts.

Credits

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.

About

🔫 Javascript game using three.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published