Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published