Skip to content
Rewrite of the Unity 2D Roguelike example using the Entitas Entity Component System
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets Upgrade Unity to 5.6.1 Jun 13, 2017
ProjectSettings Upgrade Unity to 5.6.1 Jun 13, 2017
.gitignore
Entitas.properties Upgrade Entitas to 0.42.3 Jun 11, 2017
LICENSE
README.md
ecs-talk-thumb.png [README] Add link to ECS talk May 29, 2017
screenshot.gif

README.md

Entitas 2D Roguelike

This is simple post apocalyptic roguelike game written for the Unity engine. This project is a ground up rewrite of the Unity 2D Roguelike Tutorial architected to use Entitas. Entitas is an Entity Component System which allows projects to be architected in a clean and extendable manner.

screenshot

Rationale

Unity is a powerful tool for game creation but leaves something to be desired in terms of code architecture. Looking for a better way to organize and architect my code I found Entitas. Eager to test it out, I rewrote one the standard Unity example projects in it. I am hoping this code will serve as an example on how to use and convert existing project to Entitas and demonstrate the Entity Component System style of architecture.

Entity Component System

Entity Component System (ECS) is an architectural pattern for game development that allows for a high degree of flexibility and maintainability.

I gave a talk on ECS at a game developer meetup:

thumbnail

Additional articles on ECS:

License

This project is licensed under the MIT license. It uses assets from the original tutorial project which is owned by Unity Technologies. Use of these assets is granted in the Unity FAQ:

all assets in our tutorial and example projects may be used in both commercial and non-commercial use in Unity-based projects. The assets themselves may not be resold, however.

Full details can be found in the LICENSE file.

You can’t perform that action at this time.