Skip to content

teresamadruga/Match-One

 
 

Repository files navigation

Match One

This is a simple and interactive Unity3d example project to show how to use Entitas. Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

Get Entitas here: https://github.com/sschmid/Entitas


Match One is a very simple CandyCrush-like Match 3 example, except it's Match One.

Watch the talk from Unite Europe 2015 to get an in-depth tutorial.

Match One shows

  • systems list in GameController
  • how you can use reactive systems to only process changed entities
  • the usage of EntityIndex to conveniently access entities with a specific position
  • how you can use multiple contexts to reduce the memory footprint of each entity (Game, Input, GameState, Config)
  • how to decouple views from the game logic and use listeners to update themselves

Play around, add some features and ideas, and when you need to regenerate code, e.g. after adding new components, run

dotnet Jenny/Jenny.Generator.Cli.dll gen

Happy coding :)

Match One

About

This is a simple and interactive Unity3d example project to show how to use Entitas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 68.8%
  • ShaderLab 26.5%
  • HLSL 4.6%
  • Other 0.1%