Added a few missing UI to help game modes feel more complete and fixed a few game mode bugs

This commit is contained in:
Gregory Campbell
2020-01-19 20:59:20 -05:00
parent a466cf3ab1
commit 6faa075382
7 changed files with 937 additions and 67 deletions
+6 -1
View File
@@ -31,6 +31,7 @@ public class FloorLevel : MonoBehaviour
fullTime = Time.time;
gameOver = false;
script = player.GetComponent<PlayerController>();
level = 1;
escalation = 1;
script.lives = 3;
script.finished = false;
@@ -47,7 +48,11 @@ public class FloorLevel : MonoBehaviour
{
level++;
if(level > 3) escalation++;
if(level > 3)
{
escalation++;
level = 1;
}
respawn();
levelBuild();