Skip to content

arjanfrans/grand-theft-duty

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published