DoubleDeez / MDFramework

A multiplayer C# game framework for Godot 3.4 Mono.
https://discord.gg/UH49eHK
MIT License
76 stars 13 forks source link

GameClock Config #57

Closed Beider closed 4 years ago

Beider commented 4 years ago

Currently there are a three constants that are not configurable in the GameClock but they should be.

    ///<summary>If we are calculating offset from ping this is the minimum offset we can have</summary>
    public static readonly int MINIMUM_OFFSET = 5;

    ///<summary>We add some extra buffer to the offset just in case</summary>
    public static readonly int OFFSET_BUFFER = 5;

    ///<summary>Used to control how much we are allowing to be off by for the tick offset</summary>
    public static readonly int MAX_TICK_DESYNCH = 5;

This could be fixed in the scope of #12