VSGL2 - Very Simple Graphic Library 2
2.0
|
Functions | |
void | play_music (string music) |
Use to play a music in a loop (WAVE, MOD, MIDI, OGG, MP3, FLAC, and any file that you use a command to play with). It can be typically used to play a background music. More... | |
void | pause_music () |
Use to pause the music that is currently playing. More... | |
void | stop_music () |
Use to stop the music that is currently playing. More... | |
void | play_sound (string sound) |
Use to play a sound (WAVE, MOD, MIDI, OGG, MP3, FLAC, and any file that you use a command to play with). It can be typically used to play a sound effect linked to an user action (pressing a button...). More... | |
void pause_music | ( | ) |
Use to pause the music that is currently playing.
void play_music | ( | string | music | ) |
Use to play a music in a loop (WAVE, MOD, MIDI, OGG, MP3, FLAC, and any file that you use a command to play with). It can be typically used to play a background music.
music | The music name, either absolute or relative |
void play_sound | ( | string | sound | ) |
Use to play a sound (WAVE, MOD, MIDI, OGG, MP3, FLAC, and any file that you use a command to play with). It can be typically used to play a sound effect linked to an user action (pressing a button...).
sound | The sound name, either absolute or relative |
void stop_music | ( | ) |
Use to stop the music that is currently playing.