jonoxia / rpgbase

Generic Node.js/HTML5 role-playing game client/server
8 stars 6 forks source link

Sound effects for game events #101

Open jonoxia opened 8 years ago

jonoxia commented 8 years ago

Sound effects are game-specific so should be handled in userland, but we need the hooks / event listeners for them.

(One approach would be to name a bunch of events, and a game can just tell rpgbase a dictionary of key = event name, value= sound file, and those sounds get played for those events.)