File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed
Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,47 @@ <h2 class="text-center">Community</h2>
4545 </ a >
4646 </ div >
4747 </ section >
48+
49+ < div class ="bg-black/5 dark:bg-white/5 ">
50+ < section class ="max-w-2xl my-8 center mx-auto px-4 py-16 ">
51+ < div class ="flex flex-col lg:flex-row gap-8 items-start ">
52+ < div >
53+ < h2 > What is ECS?</ h2 >
54+ < p >
55+ ECS (Entity Component System) is an architecture where state and
56+ behaviour are separated into components and systems. Components
57+ (state/data) are associated with an entity and systems
58+ (behaviour/function) are executed to read and mutate components.
59+ </ p >
60+ </ div >
61+
62+ < div >
63+ < h2 > Why ECS?</ h2 >
64+ < p >
65+ Components can be mixed and matched together to affect the behaviour
66+ of an entity. This composition based design allows for a greater
67+ amount of flexibility than other design patterns such as
68+ inheritance.
69+ </ p >
70+ </ div >
71+ </ div >
72+ < div class ="flex flex-row items-center justify-center ">
73+ < p class ="font-bold ">
74+ < a class ="btn text-secondary/50 bg-secondary " routerLink ="/docs/ecs ">
75+ < span class ="text-black ">
76+ < span class ="i48 "> school</ span >
77+ Learn More
78+ </ span >
79+ </ a >
80+ </ p >
81+ </ div >
82+ </ section >
83+ </ div >
84+
4885 < section
4986 class ="max-w-2xl my-8 center mx-auto px-4 py-16 flex flex-col-reverse lg:flex-row gap-8 items-center ">
5087 < div class ="flex-1 ">
51- < h2 > ECS < em > enforced</ em > .</ h2 >
88+ < h2 > Ecsact is ECS < em > enforced</ em > .</ h2 >
5289 < p >
5390 Prevent mistakes by having a language that forces the
5491 < em > best</ em > use of ECS.
You can’t perform that action at this time.
0 commit comments