Description
Traffic Manager is a solo-developed puzzle game about traffic optimization. The goal is to synchronize traffic lights, preventing stops and accidents. Tools like a Unity window and a hidden command environment (accessible with F1) facilitate level development and manual testing. This project posed challenges in simulating consistent events in puzzle levels, especially considering speed control.
Keywords: Big and complex game, versatile tutorial, tools to simplify development, time control with physical simulation
Developed: August 2022 - Right now (Unity 2021.3 Windows 11)
Videos
Sound configuration
Cheater console and level scene
Skills for the development of the game
Unity editor window helper (it records the position or state of every important element in the scene during the game, so you can analyze it later and adjust some parameters - debug only)
Time control (the ability to stop or speed up time)
Verbose logs with layer mask to differentiate from each other (debug only)
Events (Situations are controlled by events)
Animations (e.g. when walking by foot)
Motion simulation using splines
Collision Simulation (simple calculation of the direction and severity of a collision when two road users collide. I couldn't use the built-in Unity physics system because I use Bezier splines to simulate the track simulation).
Navigation History (temporarily disabled but fully developed)
Particle system (confetti simulation when you complete a level)
Own user interface
Canvas Overlay (to make the scene look right, a canvas hierarchy had to be created)
Customizable Tutorial (Using an array of situations, with conditions or times, a tutorial scene can be created)
Localization in 3 languages (German, Spanish and English)
Unit tests
Mask Interaction (you can see this in the tutorials (when pointing out GameObjects) or in the ending scene where many cars just drive under and over an intersecting motorway).
Game Design (each level needs to be designed)
Artistic design
Inheritance
Coroutines
Singleton design pattern (GameEngine class uses this approach)
Possible improvements
An addition to the traffic light that makes it possible to also show the status of pedestrians, although this can be inferred, can be confusing.
Multiple levels to create and additional traffic routes.
Create more road users with their animations.
A stopwatch with your "best time" to challenge the player to complete the levels faster