- I want that music played in a menu. I do a window, after do WinMainMenu.GoSystemExclusive(), and music is
played on Game.PlayMusicChannel() does not hear.
- Change of the scene(with the loading of actors and other objects) during playing of music, results music begins looping and make mistakes. Is it possible to do something?
Tried (Game.SoundBufferSize = 60), does not help.
A problem is in that at you during the loading of objects update is not caused. If you did it, during the loading of objects it was possible to play animation sprite and music was not looping and make mistakes.
- After the function of Game.MusicCrossfade(0, 1, 3000), does a script proceed at once or after 3 seconds?
------------------------------------------------------
On one scene:
Game.PlayMusicChannel(0, "music\FirstChannel.ogg", true);
On the second scene:
Game.PlayMusicChannel(1, "music\SecondChannel.ogg");
Game.MusicCrossfade(0, 1, 3000);
In change from the first scene to second one, there is sounding(0.5 sec) of "music\SecondChannel.ogg" on a
maximal volume, and then fading of sound works. It must be so?