[futurebasic] Re: [FB] Strange Sound bug in my game

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2008 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Thu, 1 May 2008 20:27:33 -0400
Perhaps you should only call entermovies at the beginning of the  
program, and ExitMovies() at program close?

(maybe)

If you are using the same sound, you could store the movie in a  
global (gSoundAsMovie), create it on program open, and call it as  
needed, not reload and recreate it each time?

You might could convert the .wav's to a snd resource, marked as  
purgable, and use some asynchronous routines to play them, or FB's  
Sound "Somesound" command? (if that works ok in FBToC)

Robert

On May 1, 2008, at 7:29 PM, Markus Binder wrote:

> Hello,
>
> I have now made use of Michele“s sound routines in my game. After  
> moving 48 steps with my mutant ant the sound becomes to be more and  
> more corrupted. The sounds are played once every time the ant makes  
> a step or the ant takes a daimond. That means, the sounds play okay  
> for about 48 calls and then something gets wrong. Why? I put the  
> latest version of my game with that strange sound problem online.  
> Here it is:
>
> http://omikronman.hluebeck.de/game.zip
>
> Thanks! Markus
> --
> To unsubscribe, send ANY message to: futurebasic- 
> unsubscribe@...
>