#140568 - Blue Frenzy - Mon Sep 17, 2007 5:59 pm
I surrender. I tryed docens of ways to synchronize the song with a simple value. The variable is always under the song time because, when i get 59 or less fps, the counter grows slower. When that is made 20 times, i have a huge delay very noticeable on a game like ouendan.
I tryed using ticks, but the value randomly increases much more so i can't get an exact value in miliseconds.
There is no way to know the playing time of the raw, so I cannot retrieve that value and operate with it.
I also tryed to, if fps is 59, add 1 to counter. It failed because, the real framerate is not an exact number, so if game runs at 59.2 or 59.6 it finishes delaying again, but this time with unpredictalbe results.
please, any help here?
I tryed using ticks, but the value randomly increases much more so i can't get an exact value in miliseconds.
There is no way to know the playing time of the raw, so I cannot retrieve that value and operate with it.
I also tryed to, if fps is 59, add 1 to counter. It failed because, the real framerate is not an exact number, so if game runs at 59.2 or 59.6 it finishes delaying again, but this time with unpredictalbe results.
please, any help here?