Home

Awesome

Svelto.ECS.MiniExamples

New Mini Examples for Svelto.ECS.

These examples use the last beta version of unity available at the moment of the update.

Warning: these examples may use using unofficial versions of Svelto that you won't find on the main repository until officially released.

🔴Example 1: Doofuses Must Eat (Unity Version)🔴

Image

Object-less pure ECS example that shows the basics of Svelto.ECS.

Attention this demo is presented in multiple versions thanks to its flexibility. this demo is for advanced users, other demo are less overwhelming

Article:

http://www.sebaslab.com/svelto-mini-examples-doofuses-must-eat/ (obsolete now, new article incoming)

Goals of the SveltoOnDOTS example are to:

Goals of the GameObjects example are to:

🔴Example 1: Doofuses Must Eat (Stride Version)🔴

Goals of the Stride example are to:

Goals of the Stride Compute Sharp example are to

🔴Example 2: The classic Survival demo (Hybrid ECS)🔴

Image

Basic integration with Unity GameObjects and Monobehaviours.

main article: https://www.sebaslab.com/the-new-svelto-ecs-survival-mini-example/

Goal of this example:

I used the Survival Shooter Unity Demo to show how an ECS framework could work inside Unity. I am not sure about the license of this demo, so use it only for learning purposes. Most of the source code has been rewritten to work with Svelto.ECS framework. The Survival Demo is tested with the latest version of Unity, so I cannot guarantee that it always works.

Example 3: GUI and Service Layer (Hybrid ECS for GUI)

Integration with Unity UI and Svelto entities 3.0

Goal of this example

Main article: http://www.sebaslab.com/svelto-miniexamples-gui-and-services-layer/

UI and ECS is an on going problem to solve. I have some better solutions than what proposed in this example now.

🔴Example 4: Pure .net + SDL example🔴

Goal of this example

Image

Example 5: Hello World (previously called Vanilla)

Basic Platform Agnostic Svelto.ECS 3.0 example

🔴Example 6: Abstract Object Oriented Code🔴

🔴Example 7: Awkward foundation for a possible defense game built with the awesome engine that Stride is🔴

image

🔴Example 8: Run Svelto.Engines on GPU using ComputeSharp🔴

🔴Example 9: Simulation🔴

3 version of this demo are available: