Input:
- Spawn
N
number of Robots(capsules) at start. - Spawn
M
number of EnergyStations(cubes) at start. - Spawn EnergyStation(cubes) based on the user clicks.
Conditions:
- On EnergyStation spawn, it starts moving in a random direction with random speed.
- On Robot Spawn, its speed is randomly decided but it always towards the nearest energy point.
- Robots color change based on their closeness to the energy point.
- On hitting the boundary, Robots and EnergyStations get reflected.
Termination:
- On reaching the target EnergyPoint, Robots will die due to high voltage 😵
- Unity 2022.2.0f1
- Universal Render Pipeline (Performant Settings)
- Platform: Standalone
- Player Settings
- Backend - Mono
- Quality & Graphics Settings
- URP Performant
- Editor Settings
- Enable Play Mode Options
- Packages
- com.unity.entities.graphics (1.0.0-pre.15)
- Hackathon Link: https://www.metaversecreators.dev/hackathon/
- ECS Templates: https://github.com/WAYN-Games/DOTS-Training/tree/DOTS-111/Assets/Editor