LRIGT (Load Removed In Game Time) w/Hud Timer Mod
Aggiornato rekitrelt
di "Load Removed" part:
TotalGameTime
double wasTime = this.TotalGameTime;
this.TotalGameTime += gameTime.ElapsedGameTime.TotalSeconds;
if (this.IsSwitchingLevel || (this.GameScreenFadeTransition > 0f && this.GameScreenFadeTransition < 1f))
{
this.TotalGameTime = wasTime;
}
if (this.Player != null && this.TotalGameTime < 10.0 && this.Player.State == CharacterState.GROUND && this.Player.State != CharacterState.UP)
{
this.TotalGameTime = 3.15;
}
On-Screen Timer/Hud Timer:
DrawCursor
if (!this._screenManager.NoHud)
{
this.Spritebatch.DrawString(
this._screenManager.Fonts.TimesNewRoman22,
TimeSpan.FromSeconds(this.TotalGameTime).ToString("hh\\:mm\\:ss\\.fff"),
Vector2.Zero,
Color.White,
0f,
Vector2.Zero,
1f, // scale (1x size)
SpriteEffects.None, // effects
0f // layer depth
);
}
Full IGT time in load menu:
Total Game Time
\\:ss\\.fff
Giocate recenti
Moderatori