Example projects

proepkes edited this page Jan 20, 2019 · 26 revisions

On this page you will find a collection of example projects built with Entitas and the Unity.


Notice!

The Match One example is regularly updated when a new Entitas version is released and is always up-to-date, but many of the other examples on this page were created with old versions of Entitas and may require extensive refactoring to get running with the most recent version of Entitas. Please consult the upgrade guide for help with this. It's also recommended to upgrade projects incrementally to avoid major compatibility problems.


» Match One (Entitas 1.4.1)

Entitas-Match-One

Simple CandyCrush-like game, except it's a match one. For an in-depth walkthrough of the project watch the Unite Europe 2015 talk, but please be aware that starting with Entitas 0.36, Pool has been renamed to Context. So all mentions of the Pool in the video should now be interpreted as the Context when looking at the latest source code.

Demonstrates

  • Usage of Unity GameController to execute Entitas systems.
  • How to use reactive systems to only process changed entities.
  • Usage of EntityIndex for super fast entity access.
  • How to use multiple contexts to reduce the memory footprint of each entity.

» RTS Template (Entitas 0.46.3)

This project illustrates basic configuration management. Saving and loading configuration data through JSON. User input processing. Initializing entities from GameObjects in the scene, and much more!

» Network Template (Entitas 1.12.2)

This framework takes input from the network and translates it into commands. Pluggable services allow lots of customization for the simulation driven by Entitas. The core project has no dependencies to Unity. Unity only handles the visualisation part.

» Shmup (Entitas 0.35.0)

Entitas-Shmup

A basic Shoot 'Em Up made with Entitas. Watch the Unite Europe 2016 talk to get an in-depth demonstration of how it all works, but please be aware that starting with Entitas 0.36, Pool has been renamed to Context. So all mentions of the Pool in the video now refer to the Context in the most recent version of Entitas. The blueprints demonstrated here have also been deprecated.

Demonstrates

  • Usage of Unity GameController to execute Entitas systems.
  • How to use reactive systems to only process changed entities.
  • Usage of EntityIndex for super fast entity access.
  • How to use multiple contexts to reduce the memory footprint of each entity.
  • How to integrate external logic like Unity Physics and Input with Entitas.
  • Unity GameObject pooling.
  • Test driven development (TDD) with Entitas.

Other Entitas Examples

Endless-Runner-Entitas-ECS Match-Line-Entitas-ECS Entitas Tanks Entitas CSharp Example
Entitas 1.6.1 Entitas 1.5.2 Entitas 0.31.1 Entitas 0.37.0
Entitas Pong Entitasteroids A Maze Boss Entitas 2D Roguelike
AMazeBoss
Entitas 0.42.3 Entitas 0.31.1 Entitas 0.24.2 Entitas 0.28.2
Shmup AAA+ Match One Multiplayer
Shmup AAA+ Match One Multiplayer
Entitas 0.21.0 Entitas 0.17.0
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.