How enes-sen/asteroidsclone works
This is a Unity 2D Asteroids-style game project, with menu and gameplay scenes, a controllable player, hazards, spawning, scoring, UI, and audio. The tree identifies these runtime subsystems but includes no README or source excerpts, so their actual call and data-flow relationships cannot be verified; the graph shows the components and assets without inventing connections.
Components 23
Gameplay
- Player input
Assets/_GameAssets/Scripts/Player/PlayerInput.cs - Player control
Assets/_GameAssets/Scripts/Player/PlayerController.cs - Movement
Assets/_GameAssets/Scripts/Managers/Controllers/MoveController.cs - Swap control
Assets/_GameAssets/Scripts/Managers/Controllers/SwapController.cs - Player projectile
Assets/_GameAssets/Scripts/Player/Bullet.cs - Gameplay interfaces
Assets/_GameAssets/Scripts/Interfaces - Player prefab
Assets/_GameAssets/Prefabs/Player/Player.prefab - Gameplay scene
Assets/_GameAssets/Scenes/Game.unity
World and spawning
- Asteroid behavior
Assets/_GameAssets/Scripts/Threats/AsteroidController.cs - Enemy ship behavior
Assets/_GameAssets/Scripts/Threats/EnemyShipController.cs - Asteroid spawning
Assets/_GameAssets/Scripts/Managers/GameManagers/SpawnManager.cs - Enemy spawning
Assets/_GameAssets/Scripts/Managers/GameManagers/EShipSpawnManager.cs - Object cleanup
Assets/_GameAssets/Scripts/Others/Destroyer.cs - Asteroid variants
Assets/_GameAssets/Prefabs/Asteroids - Enemy prefab
Assets/_GameAssets/Prefabs/Enemy/EnemyShip.prefab
Presentation
- Menu scene
Assets/_GameAssets/Scenes/MainMenu.unity - Menu UI
Assets/_GameAssets/Scripts/Managers/GameManagers/MenuUiManager.cs - Game UI
Assets/_GameAssets/Scripts/Managers/GameManagers/UiManager.cs - Scoring
Assets/_GameAssets/Scripts/Managers/GameManagers/ScoreManager.cs - Sound
Assets/_GameAssets/Scripts/Managers/GameManagers/SoundManager.cs - Animation
Assets/_GameAssets/Scripts/Managers/Controllers/AnimationController.cs - Game visuals
Assets/_GameAssets - Sound assets
Assets/_GameAssets/Sounds