Just completed my first plugin for Construct 2.
The Audiostream plugin allows you to play online audio streams within the platform.
Audiostream.StartPlaying (stream URL): Starts playing the specified online audio stream
Audiostream.Stop Playing: Stops the stream currently playing
Has stream: Has a stream defined or not
Is playing: Stream is currently playing or not
Stream: Returns URL of stream currently defined (String)
4. Known issues:
- The plugin currently works in development mode and when a game is exported to HTML 5. It doesn't however work with games exported via NW.js
(if any specialist plugin creators have an idea why, please let me know)
- Works natively under Chrome, but requires server side definition of aac mime type for other browsers
5. To install:
Then unzip to \Program Files\Construct 2\exporters\html5\plugins
6. Update history:
Version 1.1 : Improved memory management
Version 1.2 : Prevent plugin crash if Audiostream.Stop is called before any stream has been played