sschmid/Entitas là dự án phía máy chủ trên GitHub với 7.7k sao, viết chủ yếu bằng C#. Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Entitas - The Entity Component System Framework for C# and Unity
Entitas is the most popular open-source Entity Component System Framework (ECS)
and is specifically made for C# and Unity. Several design decisions have been
made to work optimal in a garbage collected environment and to go easy on the
garbage collector. Entitas comes with an optional code generator which radically
reduces the amount of code you have to write and
makes your code read like well written prose.
Why Entitas
#1 open-source ECS on GitHub
100% open-source under the MIT License
great and helpful community on Discord
easy to learn and easy to use
works great in pure C# standalone projects without Unity
comes with great Unity integration called Visual Debugging
battle-tested at companies like Popcore (Rollic / Zynga / Take Two), Gram Games, Wooga, Plarium, Storm Chaser and many more
Video Tutorials and Unity Unite Talks
Video
Title
Resources
Entitas ECS Unity Tutorial - Git & Unit Tests
Entitas ECS Unity Tutorial - Setup & Basics
Unite Europe 2016: ECS architecture with Unity by example
SlideShare: Unite Europe 2016
Unite Europe 2015: Entity system architecture with Unity
SlideShare: Unite Europe 2015
First glimpse
The optional code generator
lets you write code that is super fast, safe and literally screams its intent.
var entity = context.CreateEntity();
entity.AddPosition(Vector3.zero);
entity.AddVelocity(Vector3.forward);
entity.AddAsset("Player");
using static GameMatcher;
public sealed class MoveSystem : IExecuteSystem
{
readonly IGroup<GameEntity> _group;
public MoveSystem(GameContext context)
{
_group = context.GetGroup(AllOf(Position, Velocity));
}
public void Execute()
{
foreach (var e in _group.GetEntities())
e.ReplacePosition(e.position.value + e.velocity.value);
}
}
Overview
Entitas is fast, light and gets rid of unnecessary complexity. There are less
than a handful classes you have to know to rocket start your game or application:
Context
Entity
Component
Group
Entitas ECS
+-----------------+
| Context |
|-----------------|
| e e | +-----------+
| e e--|----> | Entity |
| e e | |-----------|
| e e e | | Component |
| e e | | | +-----------+
| e e | | Component-|----> | Component |
| e e e | | | |-----------|
| e e e | | Component | | Data |
+-----------------+ +-----------+ +-----------+
|
|
| +-------------+ Groups:
| | e | Subsets of entities in the context
| | e e | for blazing fast querying
+---> | +------------+
| e | | |
| e | e | e |
+--------|----+ e |
| e |
| e e |
+------------+
Read more...
Code Generator
The Code Generator generates classes and methods for you, so you can focus on
getting the job done. It radically reduces the amount of code you have to write
and improves readability by a huge magnitude. It makes your code less error-prone
while ensuring best performance.
Read more...
Unity integration
The optional Unity module "Visual Debugging" integrates Entitas nicely into Unity and provides powerful
editor extensions to inspect and debug contexts, groups, entities, components and systems.
Read more...
Entitas deep dive
Read the wiki or checkout the example projects to
see Entitas in action. These example projects illustrate how systems, groups, collectors and entities all play together seamlessly.
» Download and setup
» Video Tutorials and Unity Unite Talks
» Wiki and example projects
» Ask a question
Download and setup Entitas
GitHub releases (recommended)
Show releases
Unity package manager
Coming soon
NuGet
Entitas and all dependencies are available as NuGet packages.
More detailed explanation coming soon.
Unity Asset Store (deprecated)
Entitas on the Unity Asset Store is deprecated and will not
be updated anymore. The last version available on the Asset Store is 1.12.3 and
is free to download. Please see discussion Entitas turns 7 - and is FREE now
Thanks to
Big shout out to @mzaks, @cloudjubei and @devboy
for endless hours of discussion and helping making Entitas awesome!
sschmid/Entitas thuộc nhóm Backend trên TopGit, cùng 16 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về sschmid/Entitas ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/sschmid/Entitas là nguồn chính thức.
sschmid/Entitas có phải mã nguồn mở không?
Có — sschmid/Entitas phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/sschmid/Entitas.
sschmid/Entitas là gì?
sschmid/Entitas (sschmid/Entitas) là dự án C# trên GitHub. Theo mô tả gốc: Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
sschmid/Entitas so với các dự án Backend khác thế nào?
sschmid/Entitas được TopGit xếp vào nhóm Backend, với 7.7k sao GitHub và viết bằng C#. Xem trang chủ đề Backend trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Vì sao sschmid/Entitas được xếp vào nhóm Backend?
TopGit xếp sschmid/Entitas vào nhóm Backend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "c-sharp", "code-generation", "csharp"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Entitas có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về Entitas.