ECS Combat

Sci-fi battle simulator

This is a simulation of a science-fiction battle, written in Unity DOTS. The simulation has a few things worth looking out for:

  • Multiple different ship AI modes.
  • A few different weapons. Some (e.g. lasers) have different effective ranges. Some (e.g. rockets) will bypass shields.
  • Larger ships have turrets on them.
  • Smaller ships have higher evasion ratings and are harder to hit with slower weapons.
  • Equipment on ships is individually simulated. Equipment can take damage and be disabled. For instance, ships may have their weapons disabled (so they can't shoot anymore), or they may have their engines disabled (so they start going slower and are easier to hit).
  • For now it just spawns a few different random waves of ships.

Controls

  • +/-: change speed
  • space: pause

Source Code

It's fully open source! You can find the code here:

https://github.com/ElliotB256/ECSCombat

Feel free to suggest new features or make contributions!

Leave a comment

Log in with itch.io to leave a comment.