This class provides a very simple interface to the audio subsystem.
play_music("antarctic/chipdisko.music");
play_sound("sounds/lifeup.wav");
Method | Explanation |
---|---|
play_music(string track_name) |
Plays the selected music track (full filename relative to the music folder). |
stop_music(float fadetime) |
Fades out currently playing music in fadetime seconds. |
play_sound(string sound_name) |
Plays the sound sound_name (full filename relative to the data directory). |
None