So, I'm making something like a radio and I need to play music in it according to time. but there is a problem, the music always plays from the very beginning, it is not surprising. and how can I make the music rewind depending on the moment of launch?
for example, we start the game at 11:05 and the news starts exactly at 11:00, is it possible to rewind the track? and how to make the music play in the application when it is minimized? or save data when exiting but at the same time so that the music continues to play?
well, that is, like in many free to play games, where energy or lives are restored over time even if the game is closed or minimized.