AUDIO RANDOMNESS HELP!
Posts
Pages:
1
Hello ! I would like to know if in ace it would be possible to start playing a bgm at a random point in the song? If this sere possible, i would be very happy yo. What do you guys think?
VX Ace, right? RIGHT?
I'm a bit of a newbie at scripting, but I found a function that might be useful:
I think this can work as-is, though I'm not seeing a way to get the length of a BGM (for the random part).
I'm a bit of a newbie at scripting, but I found a function that might be useful:
Audio.bgm_play(filename[, volume[, pitch[, pos]]])
I think this can work as-is, though I'm not seeing a way to get the length of a BGM (for the random part).
Usually, to get the length of a linearly accessed file or stream, you seek to the end, record the position, then rewind back to the start.
Pages:
1
















