View Single Post
  #4  
Old 01-06-2010, 05:47 AM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
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.

Last edited by 12171217; 01-06-2010 at 05:48 AM.. Reason: Code tags replaced with php tags, code tags expand it, ewwww
Reply With Quote