Search Unity

ECS for 2D

Discussion in 'Entity Component System' started by MadeFromPolygons, Mar 19, 2019.

  1. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,982
    What is the state of ECS for current 2D production? What is missing for a 2D game / what would I have to edit or create myself?

    I understand there is a renderer, and now physics, so interested in whether I should look at DOTS for my 2D game I am about to start or stick with normal Unity architecture
     
  2. LazyGameDevZA

    LazyGameDevZA

    Joined:
    Nov 10, 2016
    Posts:
    143
    From what I saw the physics is only 3D at present. You can still use ECS with existing physics, but that code is just not going to be jobified.
     
  3. siggigg

    siggigg

    Joined:
    Apr 11, 2018
    Posts:
    247
    Look at "Unity Tiny" and what they are doing there. That work will be merged with DOTS and become the editing experience for ECS. It also happens that UTiny has a bunch of ready-to-use 2D frameworks.



    The framework is currently being reworked to C# and they are targeting Q2 for the next update:
    https://forum.unity.com/threads/c-update-for-project-tiny.643000/
     
  4. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,982
    Thats great, thankyou
     
    siggigg likes this.