LRIGT (Load Removed In Game Time) w/Hud Timer Mod
Guide
/
LRIGT (Load Removed In Game Time) w/Hud Timer Mod
Aggiornato 1 month ago di rekitrelt

"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
Statistiche del gioco
Follower
20
Runs
8
Giocatori
4
Discussioni recenti
Pubblicato 8 years ago
3 risposte
Pubblicato 9 years ago
1 risposta
Pubblicato 9 years ago
0 risposte
Moderatori