Skip to content

Example projects

渔夫 edited this page Jun 28, 2019 · 29 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.


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.

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!

Networking framework for Entitas ECS. Targeted at turnbased games or other slow-paced genres. Automatically synchronizes all components on entities marked with Sync component. Additionally has networking Command messaging system.

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.

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
Clone this wiki locally