Example #1
0
 public EngineProperties()
 {
     TargetTPS          = 64;
     TargetFPS          = 60;
     TPSOffset          = -0.15; //Play around with this to time the game speed.
     FPSOffset          = -0.02; //Play around with this to time the fps. (Try: -0.02 & -0.15)
     EnableFramelimiter = true;
     HideConsoleWindow  = true;
     Title = "GEngine | Re:";
     RenderScaleQuality = RenderScaleQuality.Nearest;
 }
Example #2
0
        private string ParseRenderScale(RenderScaleQuality quality)
        {
            switch (quality)
            {
            default:
                return("0");

            case RenderScaleQuality.Nearest:
                return("0");

            case RenderScaleQuality.Linear:
                return("1");

            case RenderScaleQuality.Anisotropic:
                return("2");
            }
        }