Frozenreflex / Thundagun

Lightning fast performance mod for Resonite
GNU General Public License v3.0
4 stars 4 forks source link

Repurpose the timeout mechanism #27

Closed DoubleStyx closed 2 weeks ago

DoubleStyx commented 2 weeks ago

Currently, the timeout relies on a cooldown period, under which the standard sync modes cannot automatically trigger. This seems unnecessary and complicates the mod config. The proposed solution is to simply use a timeout threshold to forcibly update the Unity average frame time; this way, it helps it "catch up" to the actual more likely value. This wouldn't be any less intrusive than using a constant cooldown and can more quickly return to more stable sync modes.

DoubleStyx commented 2 weeks ago

Implemented in #31.