I worked on Routine as the main programmer.
I created a grid system that allows the player to place roads and create his own traffic system,
and also make the vehicules go forward and follow the roads. Routine was also a toy were if two vehicules collide they explode, and can create a chain reaction if other vehicules are nearby.
For me, it was the first time I truly used unity and it really helped me understand how to use it.
The road placement was the main part of the game, and was the part I most worked during the time the game was develloped. I firstly created the placement system, allowing the user to build a road where he clicked. Then, I created the grid system, constraining the player to place roads in it.
Secondly, I created the cars. At first, I just made them go forward, and made them explode when two collided, simulated by applying a force to the two objects. I then made them turn when there was an intersection. I kept the system simple, as the design was focusing toward a rather chaotic system with chain explosions. So I just used triggers to made them turn. The left turn was a little tricky because it uses the same trigger as the right turn, but needed to had a timer to allow cars to not drive on the wrong side of the road.
I then created tunnels, that serve as a spawner in this toy. Since the car moving system was already done, it was pretty simple, I just created an empty object that instanciate cars, and created a trigger on the other side of the road that destroy cars that go into the tunnel.
Finally, I created the traffic light system. I made the cars shoot forward a raycast that detect if the traffic light is either green or red, and make them pass only if they're green.