Replace screen edge spawn system with simple distance-based spawning

This commit is contained in:
2025-04-17 08:26:48 +05:30
parent 0fed8de306
commit 322f1ac061
2 changed files with 81 additions and 236 deletions

View File

@@ -109,11 +109,9 @@ private:
void SpawnEnemyWave();
void SpawnEnemyFormation();
void SpawnEnemyFlanking();
FVector GetScreenEdgeSpawnLocation();
FVector GetSpawnZoneLocation();
FVector GetRandomSpawnLocation();
void UpdateDifficulty();
FVector GetPlayerLocation();
TArray<FVector2D> GetScreenBounds();
void RotateTowardsPlayer(AEnemySpaceship* Enemy, const FVector& PlayerLocation);
// New helper method to ensure minimum spawn distance