Difference between revisions of "SLAM"
(Created page with "== Benignly Designed Sound Manager == A simple alternative sound manager similar to how audio works in Flash/AS3. love.audio.newSource() creates a new source as usual, but love...") |
|||
Line 2: | Line 2: | ||
A simple alternative sound manager similar to how audio works in Flash/AS3. | A simple alternative sound manager similar to how audio works in Flash/AS3. | ||
− | love.audio.newSource() creates a new source as usual | + | love.audio.newSource() creates a new source as usual which can be fed into love.audio.play(). Doing so returns a ''handle'' to a playing object. This way, one source can be played multiple times. |
The forum post with the lib, an example and the documentation is here: http://love2d.org/forums/viewtopic.php?t=3804 | The forum post with the lib, an example and the documentation is here: http://love2d.org/forums/viewtopic.php?t=3804 |
Revision as of 14:54, 19 October 2011
Benignly Designed Sound Manager
A simple alternative sound manager similar to how audio works in Flash/AS3.
love.audio.newSource() creates a new source as usual which can be fed into love.audio.play(). Doing so returns a handle to a playing object. This way, one source can be played multiple times.
The forum post with the lib, an example and the documentation is here: http://love2d.org/forums/viewtopic.php?t=3804