Giter Club home page Giter Club logo

ecsgalaxysample's Introduction

ECS Galaxy Sample

game

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:

  • 'WASD' keys + 'Mouse' - control camera (only when menu is hidden).
  • 'Escape' key - toggle in-game menu.
  • 'Z' key - alternate between 3 camera modes (free camera, orbit planet, orbit ship).
  • 'X' key - switch camera target in the orbit camera modes.
  • 'Mouse Wheel' - zoom in/out for orbit cameras.
  • 'Left Shift' - boost free camera speed.

Documentation

ecsgalaxysample's People

Contributors

philippestamand avatar unity-at-github avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.