Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Candle on Wed 17/05/2006 11:48:51

Title: Shake screen and play sound
Post by: Candle on Wed 17/05/2006 11:48:51
How can you do both at the sametime?
I get one to work then the other follows but want then to work at the sametime.
Title: Re: Shake screen and play sound
Post by: GarageGothic on Wed 17/05/2006 11:53:55
ShakeScreen is a blocking function, which means that the next function won't run until it ends. Try using ShakeScreenBackground instead.
Title: Re: Shake screen and play sound
Post by: Candle on Wed 17/05/2006 11:56:24
Thank you, will try that.
Title: Re: Shake screen and play sound
Post by: Khris on Wed 17/05/2006 14:12:12
Or call PlaySound first, since it's non-blocking...