gdx-dragome icon indicating copy to clipboard operation
gdx-dragome copied to clipboard

Audio implementation

Open czyzby opened this issue 8 years ago • 3 comments

  • [x] Music support.
  • [x] Sound support.
  • [x] Prohibit additional audio features. Throw meaningful exceptions.
  • ~~Consider other JS sound managers. Maybe some other good library came up since GWT backend was created, I don't think Flash is necessary today.~~

czyzby avatar Mar 05 '16 15:03 czyzby

Music and Sound are supported using <audio> HTML element. It needs to be tested, though - we might want to provide another solution, kind of like GWT did with soundmanager.

czyzby avatar Mar 22 '16 13:03 czyzby

What's wrong with soundmanager?

intrigus avatar Mar 22 '16 13:03 intrigus

Nothing in particular, <audio> was faster to implement and does not rely on external JS scripts. I'm pretty sure it will be clunky on multiple browsers - but then again, legacy browsers are unlikely to support WebGL either. If this implementation happens to be unreliable, we'll look into other sound managers. There are also howler and SoundJS to consider.

czyzby avatar Mar 22 '16 13:03 czyzby