Traffic Simulation and Game Prototype
Masters Project - Solo
As my final project for my Masters program at Kingston University, I chose to implement a simple traffic simulation by creating a simple vehicle AI that can interact with traffic systems and other vehicles and pedestrians. Since I had very limited knowledge in programming, most the project timeline was spent learning programming. The vehicle AI was then used to create a prototype for a game concept.
The game would be a traffic management game of sorts. In it, the player would be given control over an intersection or a group of intersections. The goal of the game would be to set up traffic management systems to efficiently control the flow of traffic with as little accidents and jams as possible.
​
A combination of unity's navigation mesh and a custom waypoints system is used to direct cars through the streets. At each intersection, a car would make a random choice regarding where it will go next.
A car will try to match the speed of the car in front if it too close. If a car wants to change lanes, it will check for cars on the next lane. If the lane is clear, the car will change lanes. If not, the car will adjust speed and wait.
My project report can be found here. You can also download the builds from these links.
- Simulation Build and Project Files. (Note: The simulation is not interactive, view only)
- Game Prototype and Project Files.