Updated enemies. Added boost.

This commit is contained in:
2025-12-20 21:51:24 -05:00
parent f7e3fe0a47
commit ecdc501752
10 changed files with 464 additions and 279 deletions

View File

@@ -181,7 +181,7 @@ internal class GameLoop : GameLoopBase
if (randomNumber == 0)
{
Enemy enemy = new(_random.Next(0, ViewTransform.ScreenWidth - 64), -64);
GreenEnemy enemy = new(_random.Next(0, ViewTransform.ScreenWidth - 64), -64);
Sprites.Add(enemy);
_spawnNewEnemyThreshold = 100 + _random.Next(0, 100);
}
@@ -191,6 +191,12 @@ internal class GameLoop : GameLoopBase
Sprites.Add(enemy);
_spawnNewEnemyThreshold = 100 + _random.Next(0, 100);
}
else if (randomNumber == 2)
{
TealEnemy enemy = new(_random.Next(0, ViewTransform.ScreenWidth - 64), -64);
Sprites.Add(enemy);
_spawnNewEnemyThreshold = 100 + _random.Next(0, 100);
}
}
}
}