Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: RetroJay on Mon 18/02/2019 20:28:38

Title: Sound duration with view frames and slower computers.
Post by: RetroJay on Mon 18/02/2019 20:28:38
Hi, All good Peeps.

Yes 'tis I RetroJay. :-D
I am still lurking around here. (laugh)

Currently working on a game with another AGS'er at the moment.
I am making some sound effects and suddenly had a thought that I've never thought before...

Say I have a view of 10 frames. I make a sound effect and link it with the first frame. On my computer that sound lasts for the 10 frames perfectly.
Now... Will that still be so for someone who is playing on a slow machine, where the game runs noticeably slower?
Or... Will the sound end before the animation?

Thanks.
Jay. 
Title: Re: Sound duration with view frames and slower computers.
Post by: Snarky on Mon 18/02/2019 22:04:16
Yes, if the framerate drops, you'll lose sync between music and animation, and potentially introduce gaps, if you're counting on "looping" the audio by playing it each time a certain frame rolls around.
Title: Re: Sound duration with view frames and slower computers.
Post by: RetroJay on Mon 18/02/2019 22:15:31
Thanks for the reply, Snarky.
I thought this may be the case.

Yours.
Jay.