CityFlow
In the PCG scene, use the UI to adjust parameters and interact with the generation system. In the Agent scene, when switching to the bird's-eye view, you can move the camera with WASD and RMB, and hold Shift to speed up.
About the Project
CityFlow: Procedural Urban Traffic Simulation is a Unity project that generates a city environment procedurally and simulates traffic agents inside it. The project combines procedural content generation with vehicle and pedestrian simulation to create a dynamic urban scene.
Procedural City Generation
The city is generated through a staged PCG pipeline. The system creates road networks, lanes, road surfaces, walkable areas, crosswalks, city blocks, lots and building masses. Different seeds and parameters can produce different city layouts, from dense urban patterns to more open road structures.
Traffic and Pedestrian Simulation
The generated city is used as the base for agent simulation. Vehicles follow generated lane data and respond to traffic lights, while pedestrians move between points of interest according to a time-based routine system.
Runtime Controls
The demo includes a runtime UI for changing generation parameters such as road segment length, branch probability, random seed, park probability and land-use assignment modes. This allows users to regenerate and compare different city layouts during play.
Project Focus
The focus of this project is not on detailed building facades, but on generating a convincing urban structure with layered road networks, land-use variation, walkable areas and agent behaviour.
| Published | 3 days ago |
| Status | In development |
| Category | Tool |
| Platforms | HTML5 |
| Author | Ellishhh |
| Made with | Unity |



Leave a comment
Log in with itch.io to leave a comment.