ScriptingSound
From SuperTux
[edit] Summary
This class provides a very simple interface to the audio subsystem.
[edit] Methods
| play_music(string track_name) | Plays the selected music track (automatically prepending the path to the music folder and appending the .ogg extension). |
|---|---|
| play_sound(string sound_name) | Plays the sound specified in sound_name (that is identical to the filename of the sound without the .wav extension). |
[edit] Constants
None
| Scripting reference |
|---|
| Ambient sound · Camera · Candle · Display effect · Floating image · Globals · Level · Level time · Path · Platform · Player · Scripted object · Sector · Sound · Text · Thunderstorm · Tilemap · Will-o-wisp · Wind |
