Constant bones_framework::networking::NETWORK_FRAME_RATE_FACTOR

source ยท
pub const NETWORK_FRAME_RATE_FACTOR: f32 = 0.9;
Expand description

Muliplier for framerate that will be used when playing an online match.

Lowering the frame rate a little for online matches reduces bandwidth and may help overall gameplay. This may not be necessary once we improve network performance.

Note that FPS is provided as an integer to ggrs, so network modified fps is rounded to nearest int, which is then used to compute timestep so ggrs and networking match.