|
|
@@ -0,0 +1,42 @@ |
|
|
|
Svelto Entity Component System for Unity |
|
|
|
===================================== |
|
|
|
|
|
|
|
**Note: The alpha stage of Svelto 2.0 is almost completed, so if you are here to experiment with it, please use the current alpha branch** |
|
|
|
|
|
|
|
Real Entity-Component-System for c# and Unity (it can be adapted for other c# platforms too). Enables to write encapsulated, uncoupled, highly efficient, data oriented, cache friendly, multi-threaded, code without pain. |
|
|
|
|
|
|
|
you can find a working example to learn how to use the framework here: |
|
|
|
|
|
|
|
https://github.com/sebas77/Svelto-ECS-Example |
|
|
|
|
|
|
|
I advise to clone the example repositories separately from the framework one, both under the same Unity project Assets folder. |
|
|
|
|
|
|
|
relative articles: |
|
|
|
|
|
|
|
http://www.sebaslab.com/ecs-1-0/ |
|
|
|
http://www.sebaslab.com/svelto-ecs-svelto-tasks-to-write-data-oriented-cache-friendly-multi-threaded-code-in-unity/ |
|
|
|
http://www.sebaslab.com/svelto-ecs-2-0-almost-production-ready/ |
|
|
|
|
|
|
|
If you want to know more about the theory and rationale behind this framework: |
|
|
|
|
|
|
|
http://www.sebaslab.com/ioc-container-for-unity3d-part-1/ |
|
|
|
http://www.sebaslab.com/ioc-container-for-unity3d-part-2/ |
|
|
|
http://www.sebaslab.com/the-truth-behind-inversion-of-control-part-i-dependency-injection/ |
|
|
|
http://www.sebaslab.com/the-truth-behind-inversion-of-control-part-ii-inversion-of-control/ |
|
|
|
http://www.sebaslab.com/the-truth-behind-inversion-of-control-part-iii-entity-component-systems/ |
|
|
|
http://www.sebaslab.com/the-truth-behind-inversion-of-control-part-iv-dependency-inversion-principle/ |
|
|
|
http://www.sebaslab.com/the-truth-behind-inversion-of-control-part-v-drifting-away-from-ioc-containers/ |
|
|
|
|
|
|
|
new article on optimizations: |
|
|
|
|
|
|
|
http://www.sebaslab.com/svelto-ecs-svelto-tasks-to-write-data-oriented-cache-friendly-multi-threaded-code-in-unity/ |
|
|
|
|
|
|
|
Note: if you ever build something with Svelto.ECS that you can share with the community, please do and let me know. Other coders need more examples. |
|
|
|
|
|
|
|
Copyright (c) Sebastiano Mandalà |
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |