Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update GameController_1.cs
  • Loading branch information
aps16104 committed Feb 24, 2020
1 parent 78d02a5 commit 205aba3
Showing 1 changed file with 17 additions and 17 deletions.
Expand Up @@ -44,7 +44,7 @@ public class GameController_1 : MonoBehaviour


hazardCount_1 = 2; hazardCount_1 = 2;
spawnWait_1 = .70f; spawnWait_1 = .70f;
waveWait_1 = 5; waveWait_1 = 10;
} }


//level 2 //level 2
Expand All @@ -53,61 +53,61 @@ public class GameController_1 : MonoBehaviour


hazardCount_1 = 3; hazardCount_1 = 3;
spawnWait_1 = .60f; spawnWait_1 = .60f;
waveWait_1 = 8; waveWait_1 = 9;
} }


//level 3 //level 3
if (ScoreScript.scoreValue >= 300 && ScoreScript.scoreValue < 400) if (ScoreScript.scoreValue >= 300 && ScoreScript.scoreValue < 400)
{ {
hazardCount_1 = 4; hazardCount_1 = 4;
spawnWait_1 = .60f; spawnWait_1 = .60f;
waveWait_1 = 8; waveWait_1 = 9;


} }


// level 4 // level 4
if (ScoreScript.scoreValue >= 400 && ScoreScript.scoreValue < 500) if (ScoreScript.scoreValue >= 400 && ScoreScript.scoreValue < 500)
{ {
hazardCount_1 = 5; hazardCount_1 = 4;
spawnWait_1 = .50f; spawnWait_1 = .50f;
waveWait_1 = 8; waveWait_1 = 9;


} }


//From level 5 and onwards //From level 5 and onwards
if (ScoreScript.scoreValue >= 500 && ScoreScript.scoreValue < 1000000000) if (ScoreScript.scoreValue >= 500 && ScoreScript.scoreValue < 1000000000)
{ {
hazardCount_1 = 6; hazardCount_1 = 5;
spawnWait_1 = .50f; spawnWait_1 = .50f;
waveWait_1 = 8; waveWait_1 = 8;
} }


if (ScoreScript.scoreValue >= 600 && ScoreScript.scoreValue < 700) if (ScoreScript.scoreValue >= 600 && ScoreScript.scoreValue < 700)
{ {
hazardCount_1 = 7; hazardCount_1 = 5;
spawnWait_1 = .40f; spawnWait_1 = .50f;
waveWait_1 = 7; waveWait_1 = 7;
} }


if (ScoreScript.scoreValue >= 700 && ScoreScript.scoreValue < 800) if (ScoreScript.scoreValue >= 700 && ScoreScript.scoreValue < 800)
{ {
hazardCount_1 = 7; hazardCount_1 = 6;
spawnWait_1 = .40f; spawnWait_1 = .50f;
waveWait_1 = 6; waveWait_1 = 7;
} }


if (ScoreScript.scoreValue >= 800 && ScoreScript.scoreValue < 900) if (ScoreScript.scoreValue >= 800 && ScoreScript.scoreValue < 900)
{ {
hazardCount_1 = 7; hazardCount_1 = 6;
spawnWait_1 = .30f; spawnWait_1 = .45f;
waveWait_1 = 5; waveWait_1 = 6;
} }


if (ScoreScript.scoreValue >= 900 ) if (ScoreScript.scoreValue >= 900 )
{ {
hazardCount_1 = 10; hazardCount_1 = 7;
spawnWait_1 = .30f; spawnWait_1 = .40f;
waveWait_1 = 4; waveWait_1 = 7;
} }


} }
Expand Down

0 comments on commit 205aba3

Please sign in to comment.