Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sschmid/match-one
This is a simple and interactive Unity3d example project to show how to use Entitas
https://github.com/sschmid/match-one
ecs entity-component-system game-development tutorial unity
Last synced: about 1 month ago
JSON representation
This is a simple and interactive Unity3d example project to show how to use Entitas
- Host: GitHub
- URL: https://github.com/sschmid/match-one
- Owner: sschmid
- Created: 2015-05-18T13:32:24.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T18:52:18.000Z (over 1 year ago)
- Last Synced: 2024-11-09T18:03:31.842Z (about 1 month ago)
- Topics: ecs, entity-component-system, game-development, tutorial, unity
- Language: C#
- Homepage: https://github.com/sschmid/Entitas
- Size: 15.8 MB
- Stars: 199
- Watchers: 25
- Forks: 55
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Match One
This is a simple and interactive Unity example project to show how to use Entitas.
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity.See 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](https://www.youtube.com/watch?v=Re5kGtxTW6E) to get an in-depth tutorial.
![Match One](readme/images/Match-One.png)
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 :)