Skip to content

Instantly share code, notes, and snippets.

@videlais
Created January 19, 2014 00:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save videlais/4623b0302cdc18f66cf5 to your computer and use it in GitHub Desktop.
playAudio Twine Macro
macros['playAudio'] =
{
handler: function(place, object, parameters)
{
var sound = new Howl({
urls: parameters,
}).play();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment