Making the same sound play over itself
I'm trying to make an actor that repeats the same sound over and over again, so quickly that it replays the sound faster than the actual sound itself. (I have an event that plays like a half a second sound every 0.3 seconds). My problem is that when it plays the sound again after 0.3 seconds, it immediately stops the last sound, removing the effect I'm trying to accomplish. (I'm using a bunch of woosh sounds playing after each other to mimic a spinning effect). Does anyone know what I may be doing wrong, or if it's possible to do this at all? I tried playing with the run to completion boxes, and it did nothing. In fact, under the circumstance, I would think that the sound should still play since it's "running to completion" when the box is checked.
Having trouble with your game? Sounds like a personal problem.
Comments
Anyone?
Having trouble with your game? Sounds like a personal problem.
Hi @ADSentertainment The Run to completion checkbox is mostly for when moving to another scene, the sound will continue till its finished.
So to your problem: there is a solution. Find out the length of your sound sample (in this case the whoosh). Now for every second of its full length, import the same sound x 4.
Example : if your sound is 2 seconds long, you need 8 identical sounds. If say, just under 1 sec. long, 3 only would be needed.
Obviously, a much shorter time, less duplicates needed, i.e < 1 second, 3 only would be needed.
Here's some rules using an integer called Count and based on the sound being just under 1 second long:
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
@gyroscope Ah, I had an idea almost identical to that actually
Having trouble with your game? Sounds like a personal problem.