mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-20 03:36:37 +02:00
initial import, >900commits predate this
This commit is contained in:
36
docs/framework/common_components/common_components.md
Normal file
36
docs/framework/common_components/common_components.md
Normal file
@ -0,0 +1,36 @@
|
||||
(draft)
|
||||
# Common Components
|
||||
|
||||
This is a collection of commonly used (ECS) `Components`.
|
||||
|
||||
Json serialization is provided for all `Components`.
|
||||
|
||||
## Name
|
||||
|
||||
Contains a string. For debugging.
|
||||
|
||||
It's special, since the entity widget will try to get the Name and display it in `ImGui`.
|
||||
|
||||
## Transform
|
||||
|
||||
Contians Positon, Rotation and Scale.
|
||||
2D and 3D variants.
|
||||
|
||||
Might get replaced with a Unity3D style transform system...
|
||||
|
||||
## Velocity
|
||||
|
||||
Contians Velocity(Position and Rotation).
|
||||
2D and 3D variants.
|
||||
|
||||
## View_Dir
|
||||
|
||||
In almost every Project I had the need for this `Component`, so it's here.
|
||||
2D and 3D variants.
|
||||
|
||||
|
||||
## Color
|
||||
|
||||
I use this a lot. I probably shouldn't.
|
||||
Hase 4 color channels.
|
||||
|
Reference in New Issue
Block a user