-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Home
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.
- 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
- Copy the contents of the Entitas-Unity.zip into the Assets folder of your Unity project.
* It's best to place this in a sub-folder like
Assets/Libraries/Entitasfor organization, but you can place it anywhere in the project. - Open the 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
- Option A: Use the EntitasPure sample project
-
Option B:
- 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.
- See EntitasPure Program.cs
- The project file must be updated in order to recognize the generated files
- Add this to your .csproj
- Add the contents of Entitas-CSharp.zip to your project
Example:
<ItemGroup>
<Compile Include="Generated\**\*.cs" />
</ItemGroup>
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