Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HansenDJ committed Apr 4, 2022
2 parents 455b2c6 + 0d57f24 commit 0ba6d99
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions Game/Director.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public void StartGame()

private static DateTime CheckIfDied(Timer timer, DateTime startTime, BackgroundService bg, SpawnDestory sp, Coin coin)
{

if (!PlayerStats.PlayerDeadCheck())
{

Expand Down
2 changes: 1 addition & 1 deletion Game/Services/difficultyHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public static class DifficultyHandler
public static int previousLevel = 1;
public static bool levelChange;

public static int maxEnemies = 35;
public static int maxEnemies = 50;
//public static bool newAudio = true;


Expand Down
7 changes: 4 additions & 3 deletions Game/SpawnDestroy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public void SpawnWeapon(int weaponType, int custom = 1,int customX = 0,int custo
// Load the weapon laser image when weapon purchased
_weaponSwitcher.SetCharTexture(ImageService.laser11Texture);
playerWeaponList.Add(_weaponSwitcher);
_weaponSwitcher.strength = 7;
_weaponSwitcher.strength = 10;
maxReloadTime = 400;

break;
Expand All @@ -414,7 +414,7 @@ public void SpawnWeapon(int weaponType, int custom = 1,int customX = 0,int custo
// Load the weapon laser image when weapon purchased
_weaponSwitcher.SetCharTexture(ImageService.laser10Texture);
playerWeaponList.Add(_weaponSwitcher);
_weaponSwitcher.strength = 12;
_weaponSwitcher.strength = 15;
maxReloadTime = 400;
break;
case 3:
Expand Down Expand Up @@ -474,9 +474,10 @@ public void SpawnWeapon(int weaponType, int custom = 1,int customX = 0,int custo
maxReloadTime = 70;
break;
case 10:
AudioService.PlayAudio(AudioService.playershot9);

// Load the weapon laser image when weapon purchased
_weaponSwitcher.SetCharTexture(ImageService.coinCounterTexture);
AudioService.PlayAudio(AudioService.playershot9);
playerWeaponList.Add(_weaponSwitcher);
_weaponSwitcher.strength = 100;
maxReloadTime = 100;
Expand Down

0 comments on commit 0ba6d99

Please sign in to comment.