BrumeSound

All about the core api and animation, input, sound, effect, collision and physics engines.
You can also post here your feature requests.

Moderator: Brume Dev Team

BrumeSound

Postby Gero on Mon Jan 07, 2008 11:55 am

Hi,

I have some sounds in my game but they are in the ogg vorbis format. Brume can load them as music files.
I can only play them once, because they aren't rewound :(. Using wave files isn't an option ( a hundred MBs ).
My solution is now to reload the music file every time, but then the games gets delayed some ms.
How can I rewind the music?
User avatar
Gero
Brume user
 
Posts: 27
Joined: Thu Dec 06, 2007 10:11 pm

Re: BrumeSound

Postby Gero on Mon Jan 07, 2008 12:02 pm

BrumeSound.StopMusic("SndName");
BrumeSound.PlayMusic("SndName");

... stupid me.... :oops:
User avatar
Gero
Brume user
 
Posts: 27
Joined: Thu Dec 06, 2007 10:11 pm


Return to Technical discussion

Who is online

Users browsing this forum: No registered users and 2 guests