Files
James Simpson 4da864f229 Update links to live demos of examples
These won't actually work until the new site is live.
2016-07-02 12:55:27 -05:00
..
2016-03-26 11:18:34 -05:00
2016-04-08 16:14:39 -05:00
2016-03-26 11:18:34 -05:00

3D Spatial Audio (Live Demo)

3D Spatial Audio

Description

This example displays how to use howler.js and the Spatial Plugin to add immersive spatial audio into 3D (or other) environments.

  • Controls: Arrow Keys, WASD and Touch
  • Simulates 3D game using minimal ray casting code.
  • Full-screen and responsive for desktop/mobile.
  • Separate Audio class that controls the different sound effects and spatial sounds.
  • All game sounds implemented with a single sound sprite and Howl instance.

How-To

  1. Clone the git repo or download the source:
  2. Open index.html in your favorite browser.

Credits

Inspired by the great post on JavaScript ray casting on PlayfulJS.