Home

Awesome

ECS Galaxy Sample

<img src="./_Documentation/Images/GalaxySample.gif" alt="game" height="350"/>

See ProjectVersion for minimum supported Unity version.

This sample demonstrates a large-scale simulation of teams of spaceships fighting for the control of planets.

Fighter ships defend and attack planets, worker ships capture planets and build buildings on planet moons, and trader ships distribute resources across planets. Buildings use their planet's resources to build ships, provide defensive capabilities, or upgrade produced ships.

Several simulation parameters such as teams count, planet count, game area size, simulation speed, ship properties, etc... can be configured in the in-game 'Settings' menu. Some of these parameters can be tweaked in realtime as the simulation runs.

Quick Start

To run the simulation, open the Main scene and press Play. A UI menu will appear and allow you to configure simulation settings. Once you're ready, press the "Simulate" button and the simulation will start. During play, the menu can be brought up again to tweak some settings in real time.

Controls:

Documentation