pub fn fps(ctx: &Context) -> f64
ctx.time.fps
Gets the FPS of the game, averaged over the last 200 frames.