[SOLVED] Sound on frame overlapping after game gets paused

Started by san.daniele, Thu 25/04/2013 14:59:47

Previous topic - Next topic

san.daniele

I have a pendulum clock on the wall. I assigned a ticking sound to each of the 2 frames in the clocks view. Now when the game is paused (i.e. opening save/load gui), the animation pauses while the sound keeps going. when i go out of the pause, the animation starts again and with it starts another frame-sound.

so if I open/close the save/load gui several times, at one point I have several ticking sounds overlapping each other.

I don't even know how to phrase this into a question. maybe: "what can I do?"
what I would like best is the animation going on in the background during game paused (not the sound stopping)



edit: solved it myself:
the sound wasn't actually overlapping. or it was kinda. the soundfile was way longer than a frame (didn't cut it down yet). so when the game gets paused, it keeps play. now unpause the game and the (same) sound from the other frame starts on top of the first.

now tell me how i can delete this post to spare me some embarassement :)

SMF spam blocked by CleanTalk