A fast-paced space combat game built in Unity 6 for Windows, where you pilot a ship along a fixed path through a mountainous, snow-covered terrain — blasting down enemy ships with mouse-aimed lasers before they take you down.
Your ship automatically travels along a predefined path through the environment. As you move, hostile ships appear and attack from multiple directions. Using the mouse, you rotate your ship's aim left and right to target and destroy incoming enemies with laser fire from your onboard weapons array.
- Survive the path — your ship moves forward automatically; your job is to defend it.
- Aim with the mouse — rotate your view left/right to track and engage enemy ships.
- Shoot lasers — destroy enemy ships before they collide with you.
- Avoid collisions — contact with an enemy ship ends the run and restarts the game.
- Score by destruction — bigger enemy ships are riskier to take down, but reward a higher destruction score.
- Engine: Unity 6
- Language: C#
- Target Platform: Windows
- Scripts: 8 custom C# scripts
The game is built with modular, independent systems so each part of the gameplay loop can be iterated on without breaking the others:
| System | Responsibility |
|---|---|
| Ship Movement | Handles the ship's automatic traversal along the fixed path |
| Path Following | Controls the route through the terrain environment |
| Enemy Spawning / AI | Spawns and drives behavior for attacking enemy ships |
| Weapon System | Fires lasers from the ship's arsenal, controlled via mouse input |
| Aiming Control | Decouples mouse-driven aim (left/right) from the ship's forward movement |
| Collision Detection | Detects ship-to-ship contact and triggers game-over/restart |
| Scoring | Calculates destruction score, weighted by enemy ship size |
| Game State / Restart | Manages run resets after a collision |
| Input | Action |
|---|---|
| Mouse Move | Aim ship view left / right |
| Mouse Click | Fire lasers |
- Clone the repository:
git clone https://github.com/rameezdawar/galaxy-strike.git- Open the project in Unity 6 (or later).
- Load the main scene from
Assets/Scenes/. - Press Play in the Unity Editor, or build for Windows via
File > Build Settings.
- Unity 6.x or later
- Windows build target
Built solo as a project to explore modular game architecture in Unity — separating movement, combat, and scoring systems so each could be developed and tuned independently.
Feedback and playtesting welcome!
