Trada Kevin
Menu Close
Back to Portfolio
Unity · C#

Cosmos Combat

2D Shooter / Wave Survival

Role: Solo Developer Engine: Unity 2D Platform: PC (Unity Play)

Overview

Cosmos Combat is a 2D wave-based space shooter where the player battles enemy ships and meteors across escalating waves. Destroying enemies and meteors drops loot — weapons, health pickups, and power-ups — rewarding aggressive play. I built the entire game solo in Unity 2D, designing the wave spawning logic, loot drop system, and all enemy movement patterns in C#.

Cosmos Combat - Trailer

Key Programming Features

  • → Wave manager system that spawns varied enemy types with increasing frequency and health per wave
  • → Loot drop system with weighted randomization — different enemies have different drop tables
  • → Multiple weapon types with unique fire patterns, switchable at runtime from dropped pickups
  • → Enemy ship AI with basic homing and strafing behaviour patterns
  • → Meteor spawner with randomized sizes, speeds, and trajectories for unpredictable obstacles
  • → Health and shield system with visual feedback (screen flash, UI bar updates)

What I Learned

Cosmos Combat pushed me to think about game systems as interconnected modules. The loot drop system required a clean separation between the enemy class and the drop logic — learning to use ScriptableObjects to define drop tables here was a breakthrough that I now use in almost every project.