ScriptingSound

From SuperTux

Jump to: navigation, search


[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

Personal tools