I'm developing a rythm game, and I've come to the point where I'm making a long bossfight, which makes me want to implement checkpoints. However for checkpoints to work in a rythm game, I need to be able to start the track from certain points (for instance 1 min, 37 sek out in the song). Any Ideas on how to pull this off?
Also. Is there any way to track how far a song has played? The current solution I'm running with is starting a timer at the same moment a song starts playing, but it doesn't cut it anymore since all it takes is a small lagspike to throw the sync off. I need a precise and foolproof way of tracking the audio.