-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Home
Each release is published with zip files which contain all source files you need:
- For C# projects use Entitas-CSharp.zip
- For Unity projects use Entitas-Unity.zip
UPGRADE NOTICE: Some important terminology has changed in recent updates to Entitas. The most significant change is that Pool
has been renamed to Context
. This means all references to the Pool/Pools
in older documentation or tutorials is now referring to the Context/Contexts
in Entitas v0.36.0 and newer. Please read the Upgrade Guide for more information on how to upgrade older projects.
The easiest way to get started with a new C# project is to download the working sample project EntitasPure. It's a simple project with the code generator already set up.
Alternatively follow these steps: Add the contents of Entitas-CSharp.zip to your project. If you want to use the code generator you can create yourself a simple helper console application which you can run as a post compile command.
The project file must be updated in order to recognize the generated files. Add this to your .csproj
<ItemGroup>
<Compile Include="Generated\**\*.cs" />
</ItemGroup>
Copy the contents of the Entitas-Unity.zip file you just downloaded into the Assets folder of your Unity game project. It's best to place this in a sub-folder like Assets/Libraries/Entitas for organization, but you can place it anywhere in the project. Then open Entitas Preferences from the Menu Bar -> Entitas -> Preferences...
Specify all the paths and set everything up to your liking. Use the generate button or the menu item
Add contexts, write some components and systems and make an awesome game. Feel free to share what you've created with Entitas in the Community Section in the Wiki and use #madeWithEntitas in your Tweets so we can all enjoy playing your game or learn from it!
https://github.com/sschmid/Entitas-CSharp/wiki/Example-projects
Guides: Introduction - Installation - Upgrading - FAQ - Cookbook - Contributing
Need Help? Ask a question on Discord or create an issue.
- The Basics
- Concepts
- Architecture / Patterns