/DOTS-training-samples

Samples designed as exercises to be ported from Unity GameObjects/MonoBehaviours to Unity DOTS.

Primary LanguageC#OtherNOASSERTION

Demos to be converted to Unity DOTS (Data-Oriented Tech Stack)

Directions!

Clone this repository, make a new branch for your demo, then:

  • Create a new directory under /PreECSDemos/Ported/ with your name. For example, /PreECSDemos/Ported/ebaumel/
  • Make a brand new project in your name folder so you can start from scratch. For example, /PreECSDemos/Ported/ebaumel/DistanceFieldAttractorsECS
  • Use the originals for reference, but remember we're only trying to achieve the same output. Use ECS and data-oriented design!

Project Overview

  • Ant Pheromones: Ants look for food and spread pheromones to influence the pathing of other ants

    Ant Pheromones

  • Auto Farmers: Farmers gather and sell resources to expand their farm.

    Auto Farmers

  • Bucket Brigade: Firefighters pass buckets along a chain to extinguish a fire.

    Bucket Brigade

  • Combat Bees: Two bee hives battle for resources and survival.

    Combat Bees

  • Cliff Divers: Dramatic shots of people diving down a cliff.

    Cliff Divers

  • CpuCarManufacturer: Car manufacturing used as a metaphor for the memory stack.

    Cpu Car Manufacturer

  • Distance Field Attractors: Colorful particles move towards the surface of an invisible mesh.

    Distance Field Attractors

  • Factory: Robots transport resources along lanes to crafters.

    Factory

  • Future HUD: Futuristic HUDs drawn with OpenGL primitives.

    Future HUD

  • JobCloth: Simulate clothing using the Job system.

    Job Cloth

  • Highway Racers: Simulate traffic on a 4-lane highway.

    Highway Racers

  • Jump The Gun: A ball jumps through a blocky landscape and avoids cannonballs.

    Jump The Gun

  • LabRat: Place arrows on the board to route the most rats into your home base.

    Lab Rat

  • Magnetic Roads: Cars drive along 3D generated splines in all orientations.

    Magnetic Roads

  • Metro: Metro train transport commuters from station to station.

    Metro

  • Parade: Take part in a parade and let people cheer for you.

    Parade

  • Stack Interchange: Cars drive through a stack interchange.

    Stack Interchange

  • Surgeon Master: Cut and stitch a triangle-mesh.

    Surgeon Master

  • Thrower Arms: Mechanical arms throw rocks at tin cans.

    Thrower Arms

  • Tornado: A tornado devastates a construction site.

    Tornado

  • Zombie Maze: A circle picks up capsules in a maze infested with zombies.

    Zombie Maze