Game tick lowered to 30 Hz (ruling tick-rate-stays-30); digest repin follows
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
48ba0a6204
commit
ed5dd92283
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ public sealed class SimClock
|
||||||
// Game steps per real second at design speed 1, and the sim seconds one step carries. The one owner of the game's
|
// Game steps per real second at design speed 1, and the sim seconds one step carries. The one owner of the game's
|
||||||
// tick: every driver of a game history steps Zone.Update by GameStep. Design speed (ruling sim-speed-surface) will
|
// tick: every driver of a game history steps Zone.Update by GameStep. Design speed (ruling sim-speed-surface) will
|
||||||
// set Step = DesignSpeed / TickRate in ForGame and nowhere else.
|
// set Step = DesignSpeed / TickRate in ForGame and nowhere else.
|
||||||
public const int TickRate = 60;
|
public const int TickRate = 30;
|
||||||
public const float GameStep = 1f / TickRate;
|
public const float GameStep = 1f / TickRate;
|
||||||
|
|
||||||
public static SimClock ForGame() => new SimClock(GameStep, TickRate);
|
public static SimClock ForGame() => new SimClock(GameStep, TickRate);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue