Difference between revisions of "SLAM"

m
(Rename to SLAM. Update links)
Line 1: Line 1:
== Benignly Designed Sound Manager ==  
+
== Simple LÖVE Audio Manager ==  
 
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 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.
 
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
+
;'''Library'''
 +
: https://github.com/vrld/Stuff/blob/master/slam/slam.lua
 +
;'''Example and Documentation'''
 +
: https://github.com/vrld/Stuff/blob/master/slam/README.md
 +
;'''Forum Post'''
 +
: http://love2d.org/forums/viewtopic.php?t=3804
  
 
{{#set:LOVE Version=>=0.7.0}}
 
{{#set:LOVE Version=>=0.7.0}}
 
{{#set:Description=A friendly sound manager.}}
 
{{#set:Description=A friendly sound manager.}}
 
[[Category:Libraries]]
 
[[Category:Libraries]]

Revision as of 21:27, 22 December 2011

Simple LÖVE Audio 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.

Library
https://github.com/vrld/Stuff/blob/master/slam/slam.lua
Example and Documentation
https://github.com/vrld/Stuff/blob/master/slam/README.md
Forum Post
http://love2d.org/forums/viewtopic.php?t=3804