Glad to see I sparked your inspiration
If anyone's interested, here's mine, was made, again, for version 2.2; just a version short of timevar2 being implemented:
PHP Code:
if (playerenters) {
play framerate_silent.mp3;
timeout = 0.05;
}
if (timeout) {
if (musicpos == 0) {
play framerate_silent.mp3;
}
this.frame+=0.05;
if (musicpos > 1) {
this.framerate = this.frame/musicpos;
stopmidi;
this.frame = -0.05;
}
showtext 300,15,128,Arial,,Framerate: #v(this.framerate*20);
changeimgvis 300,8;
timeout = 0.05;
}
Kinda interesting to see the workaround used, haha.