# DOTS-training-samples **Repository Path**: wyping/DOTS-training-samples ## Basic Information - **Project Name**: DOTS-training-samples - **Description**: Samples designed as exercises to be ported from Unity GameObjects/MonoBehaviours to Unity DOTS. - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-12-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](_imgs/AntPhermones.gif?raw=true) * Auto Farmers: Farmers gather and sell resources to expand their farm. ![Auto Farmers](_imgs/AutoFarmers.png?raw=true) * Bucket Brigade: Firefighters pass buckets along a chain to extinguish a fire. ![Bucket Brigade](_imgs/BucketBrigade.png?raw=true) * Combat Bees: Two bee hives battle for resources and survival. ![Combat Bees](_imgs/CombatBees.gif?raw=true) * Cliff Divers: Dramatic shots of people diving down a cliff. ![Cliff Divers](_imgs/CliffDivers.gif?raw=true) * CpuCarManufacturer: Car manufacturing used as a metaphor for the memory stack. ![Cpu Car Manufacturer](_imgs/CpuCarManufacturer.png?raw=true) * Distance Field Attractors: Colorful particles move towards the surface of an invisible mesh. ![Distance Field Attractors](_imgs/DistanceFieldAttractors.gif?raw=true) * Factory: Robots transport resources along lanes to crafters. ![Factory](_imgs/Factory.png?raw=true) * Future HUD: Futuristic HUDs drawn with OpenGL primitives. ![Future HUD](_imgs/FutureHUD.png?raw=true) * JobCloth: Simulate clothing using the Job system. ![Job Cloth](_imgs/JobCloth.gif?raw=true) * Highway Racers: Simulate traffic on a 4-lane highway. ![Highway Racers](_imgs/HighwayRacers.gif?raw=true) * Jump The Gun: A ball jumps through a blocky landscape and avoids cannonballs. ![Jump The Gun](_imgs/JumpTheGun.gif?raw=true) * LabRat: Place arrows on the board to route the most rats into your home base. ![Lab Rat](_imgs/LabRat.gif?raw=true) * Magnetic Roads: Cars drive along 3D generated splines in all orientations. ![Magnetic Roads](_imgs/MagneticRoads.gif?raw=true) * Metro: Metro train transport commuters from station to station. ![Metro](_imgs/Metro.gif?raw=true) * Parade: Take part in a parade and let people cheer for you. ![Parade](_imgs/Parade.gif?raw=true) * Stack Interchange: Cars drive through a stack interchange. ![Stack Interchange](_imgs/StackInterchange.png?raw=true) * Surgeon Master: Cut and stitch a triangle-mesh. ![Surgeon Master](_imgs/SurgeonMaster.png?raw=true) * Thrower Arms: Mechanical arms throw rocks at tin cans. ![Thrower Arms](_imgs/ThrowerArms.gif?raw=true) * Tornado: A tornado devastates a construction site. ![Tornado](_imgs/Tornado.gif?raw=true) * Zombie Maze: A circle picks up capsules in a maze infested with zombies. ![Zombie Maze](_imgs/ZombieMaze.png?raw=true)