-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Home
Aaron E. Freedman edited this page Apr 26, 2017
·
78 revisions
- Since Entitas v0.36.0
Pool
has been renamed toContext
- All references to
Pool/Pools
in older documentation or tutorials should be interpreted asContext/Contexts
. - See 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/Entitas
for 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