phoniex
|
  |
| Joined: 03 Feb 2008 |
| Total Posts: 34985 |
|
|
| 01 Feb 2015 07:22 PM |
I have a script that plays music in my game. The problem is that I get this weird "stuttering" effect with the sound, where it will start to play, stop, and then start again proceeding as normal. What causes this problem and how do I fix it?
~Rock is dead. Long live paper and scissors!~ |
|
|
| Report Abuse |
|
|
Xsitsu
|
  |
| Joined: 28 Jul 2009 |
| Total Posts: 2921 |
|
|
| 01 Feb 2015 07:28 PM |
How exactly are you using the Sound object? I actually have no idea what this stuttering effect is that you're talking about. Maybe it has something to do with not preloading sound assets. I always preload all of mine and I've never run into this problem.
If that doesn't work, then could you provide some more information? Where is the sound object in the hierarchy of the game, is it created or changed instantly before it is called, and how exactly is Play() called? |
|
|
| Report Abuse |
|
|
phoniex
|
  |
| Joined: 03 Feb 2008 |
| Total Posts: 34985 |
|
|
| 02 Feb 2015 09:38 AM |
@Xsitsu
How do I pre-load?
~Rock is dead. Long live paper and scissors!~ |
|
|
| Report Abuse |
|
|
Xsitsu
|
  |
| Joined: 28 Jul 2009 |
| Total Posts: 2921 |
|
|
| 02 Feb 2015 03:50 PM |
This wiki page has detailed information on how preloading assets work. http://wiki.roblox.com/index.php?title=Preload |
|
|
| Report Abuse |
|
|