Looping Sound
Posted: Sun Jul 22, 2012 12:14 am
Hi there,
Is there any way to loop sound while there is music playing in the background? My sound file is a three second audio and it is intended to loop as an annoying sound until the MC notices and remarks upon it. I know music loops but sound doesn't. I know I could use the persistent sound as music instead, but I don't want to as much as possible.
Code I use is the standard one
I have thought about splicing the sound file to create one big file, but 1. It might end up being too big or 2. Depending on how fast or slow the player will be, it can affect gameplay.
If there is a solution, please let me know.
Is there any way to loop sound while there is music playing in the background? My sound file is a three second audio and it is intended to loop as an annoying sound until the MC notices and remarks upon it. I know music loops but sound doesn't. I know I could use the persistent sound as music instead, but I don't want to as much as possible.
Code I use is the standard one
Code: Select all
play sound audiotrack.oggIf there is a solution, please let me know.