
About
Duck Hunt JS is a from-scratch JavaScript/HTML5 remake of Duck Hunt, playable in the browser at duckhuntjs.com. It uses the PixiJS rendering engine (WebGL with Canvas fallback), GreenSock for tweening, Howler (falling back to the WebAudioAPI/HTML5 Audio) for sound, and ES6 game logic transpiled to ES5 via Babel.
Getting started
The game can be played directly in the browser from the project's homepage. To run it locally, install Node.js, clone the repo, run `npm install`, then `npm start` to serve it at localhost:8080 — it won't work opened directly from a local file path due to cross-origin restrictions.
Additional notes
- Known limitation
- Rebuilding the game's audio or image sprite assets requires external tools not needed for normal development: ffmpeg for audio, TexturePacker for images.