# .font: font.text_2
2019-08-16 22:01 shredder  
# .font: font.text_1
 krissz , how do you set the game speed, to match the original c-64 cave?

# .font: font.text_2
2019-08-17 09:59 krissz  
# .font: font.text_1
I import the caves from BDCFF file format. There is a parameter for each cave: FrameTime. This contains the delay between two frames in milliseconds. I calculate the FPS by this number.  
1000 / FrameTime = FPS in my engine. My import script round this number to the closest FPS value in the game.  
  
In the original C64 the game speed is depending on the number of the rendered elements as  nesdori  said earlier. Because the CPU is not too strong...  
  
I have to correct sometimes with +-0,5 FPS if the cave is unsolvable because of the speed.

# .font: font.text_2
2019-08-17 21:08 shredder  
# .font: font.text_1
ok thanks :) i must look closer to the bdcff :)