comnik.warpsound: | Functions | Types | Modinfo | Source |
The author Nikolas Göbel has To be by name mentioned."
InRange | Check if two distances "overlap" |
WP_AddSoundTrigger | Add a new Trigger. |
WP_CreateSoundEmitter | Create a sound emitter. |
WP_UpdateSounds | Update triggers and emitters. |
WP_SoundEmitter | Sound Emitter. |
WP_SoundTrigger | Sound Trigger. |
Function InRange:Byte(x1:Float, y1:Float, x2:Float, y2:Float, dist:Float) | |
Description | Check if two distances "overlap" |
Function WP_AddSoundTrigger:WP_SoundTrigger(x:Float, y:Float, parent:WP_SoundEmitter) | |
Returns | A Sound Trigger object. |
Description | Add a new Trigger. |
Information | Creates a new trigger and returns it's handle. |
Function WP_CreateSoundEmitter:WP_SoundEmitter(channel:TChannel, x:Float, y:Float, activation_distance:Float=800, MAXVOL:Float=1) | |
Returns | A sound emitter object. |
Description | Create a sound emitter. |
Function WP_UpdateSounds() | |
Description | Update triggers and emitters. |
Type WP_SoundEmitter | |
Description | Sound Emitter. |
Information | A sound emitter contains a channel, which he plays, If he gets activated by a trigger in his trigger list. If the trigger gets closer, the sound gets louder. |
Methods Summary | |
---|---|
kill | Kill the Emitter. |
WP_RemoveSoundTrigger | Remove a Trigger. |
Method kill() | |
Description | Kill the Emitter. |
Information | Stops the Channel, and removes the Emitter. |
Method WP_RemoveSoundTrigger(trigger:WP_SoundTrigger) | |
Description | Remove a Trigger. |
Type WP_SoundTrigger | |
Description | Sound Trigger. |
Information | Activates his parent Emitter, if the distance between them is less than the activation distance of the emitter. |
Framework | This Module provides extended sound effects for BlitzMax. |
---|---|
Author | Nikolas 'ComNik' Göbel |
License | Feel free to use the code as you like, but it would be nice to mention my name... ;) |