funkygallo
Member
Hi,
I don't know if is the right section to put my problem.
By the way until yesterday, I have my main music loaded and played
Today I try to build my game using the yyc option, but I stopped before it end
Now I can't hear the music and this is the error
Audio group 1 -> Loading...
Failed to load audiogroup2.dat
Audio group 1 -> Loaded
This is my code and obviously the snd_rome is part of background_music group
[create]
[async save/load]
Please note that if I comment the line if audio_group_is_loaded(background_music) the music is played.
Any hint?
I don't know if is the right section to put my problem.
By the way until yesterday, I have my main music loaded and played
Today I try to build my game using the yyc option, but I stopped before it end
Now I can't hear the music and this is the error
Audio group 1 -> Loading...
Failed to load audiogroup2.dat
Audio group 1 -> Loaded
This is my code and obviously the snd_rome is part of background_music group
[create]
Code:
audio_group_load(sound_fx);
audio_group_load(background_music);
music_playing = snd_rome;
music_volume = 1;
fx_volume = 1;
audio_group_set_gain(background_music,1000,0);
Code:
if audio_group_is_loaded(background_music)
{
audio_play_sound(music_playing,1,true);
}
if audio_group_is_loaded(sound_fx)
{
sfx_loaded = true;
}
Any hint?