diff --git a/ldjam50/Assets/Scripts/DebugUI.cs b/ldjam50/Assets/Scripts/DebugUI.cs index edca855..37959f3 100644 --- a/ldjam50/Assets/Scripts/DebugUI.cs +++ b/ldjam50/Assets/Scripts/DebugUI.cs @@ -25,12 +25,12 @@ void Start() // Update is called once per frame void Update() { - var characterStats = character.GetStats(); + //var characterStats = character.GetStats(); horInpText.text = "horizontal input = " + Input.GetAxis("Horizontal"); verInpText.text = "vertical input = " + Input.GetAxis("Vertical"); - characterHealthText.text = "health = " + characterStats.Health; - characterDamageText.text = "damage = " + characterStats.Damage; + //characterHealthText.text = "health = " + characterStats.Health; + //characterDamageText.text = "damage = " + characterStats.Damage; timerText.text = "timer = " + gameplay.GetTimer(); diff --git a/ldjam50/Assets/Scripts/Gameplay.cs b/ldjam50/Assets/Scripts/Gameplay.cs index fa042d3..d1e02eb 100644 --- a/ldjam50/Assets/Scripts/Gameplay.cs +++ b/ldjam50/Assets/Scripts/Gameplay.cs @@ -56,7 +56,7 @@ private IEnumerator AutoBalance() // Update is called once per frame void Update() { - if (_time < 0 || _characterCharacterClass.GetHealth() <= 0) + /*if (_time < 0 || _characterCharacterClass.GetHealth() <= 0) { _curGameState = GameStates.GameOver; } @@ -70,7 +70,7 @@ void Update() overMind.SetActive(false); DeathScreen.SetActive(true); - } + }*/ } public float GetTimer()