Hi!
I asked this question about sound callbacks some days ago
( Sound callback (text and sound sync) )
I need to sync dialog with text.
I’ve never done that in a game before and the only solution I see is to hardcode all the timestamps when I want to switch text and change a GUI node when the game passes these timestamps.
1) Is this the best way to do it? This implementation feels a bit naive…
2) If the game is running on a slow machine and the sound interrupts because of performance, will the sound continue right where it was interrupted or will it jump past the time-period where the game lagged and continue at the timestamp it would be at if there was no lag?