Back to all writing

I Put People, Cars and Doors Into One Street. They Started Disagreeing.

Game Dev Series•Part 23•7 min read•By Mikhil

A street can look almost alive from a distance. Put a few pedestrians on the pavement, a vehicle in motion and somebody standing in a doorway, and an empty strip of geometry suddenly begins to resemble a neighborhood.

Then move the player into the middle of it.

The earliest Block by Block experiments were good at exposing the gap between animation and behavior. A moving car is not automatically traffic. A walking figure isn't automatically a person with somewhere to go. A door that opens on command is not automatically a safe door. The characters, vehicles and buildings were all being introduced into the same tiny world, and they had very different ideas about what counted as an obstacle.

Movement gave the street a heartbeat, not a life

Ambient pedestrians could improve a distant screenshot without explaining why anyone lived or worked there. That meant their value had to be judged at eye level, in the player's path, rather than by counting figures from above.

The numerical population count also made me more aware of repetition in motion. A dozen different clothing colors won't help if every person follows an identical pace and turns at identical points. Conversely, even a few distinct routes can change the way a street feels if they belong naturally to the surrounding buildings. I didn't want to imply that the prototype had solved realistic pedestrian behavior. It had not. But the walkers provided a useful stage on which to notice what was missing: variation, physical awareness and reasons to be somewhere. They transformed an empty street into a question about urban life.

There was also a basic visual storytelling issue with an empty street. A building tells me where someone might live or work, but seeing another person pass by helps the street feel occupied in the present tense. The ambient walkers provided that small piece of evidence. Their routes were limited, and they did not have fully persistent lives, so I kept the claim narrow. I wasn't building a living population yet. I was discovering which forms of motion could make a physical place feel less abandoned without pretending to have solved all the behavior that would eventually be required.

Characters needed reasons to exist

Contacts were useful when the player had a reason to speak to them or remember them. Decorative pedestrians and persistent characters served different purposes, and mixing the two up made the world feel hollow.

The named contacts also gave me a useful contrast with anonymous crowd actors. A person who offers a job needs to be findable and recognizable; a pedestrian who only adds atmosphere does not need the same depth of authored interactions. The two can share an art direction without sharing all their underlying systems. That helped keep scope realistic. I could make the street feel more occupied without claiming every walker had personal memories or a detailed daily life. The challenge was giving enough visual and functional difference that the player could tell a meaningful contact from someone simply crossing the road.

The v0.7 reliability pass explicitly addressed door clearance and traffic behavior around characters. That gives a concrete example of why population isn't free. Each extra actor makes ordinary features harder. A pedestrian is not just a mesh in motion; it is a thing that other moving systems may need to recognize.

A choice should affect something

The first dialogue options provided a limited way for a conversation to change state. I treated that as a prototype of consequence, not as proof that the characters possessed an open-ended intelligence.

A good response option also needs a reason to appear. If a character offers a deal, the choices should belong to that situation rather than being three generic moods the player can select. The prototype experimented with small relationship and contract consequences, which made the choices testable. What mattered most to me was consistency: the same prior action should not be treated as both accepted and rejected by different parts of the interface. The dialogue box is visible for seconds, but its consequence may sit in the saved game much longer. That made the little conversation more serious than the number of lines suggested.

I wanted talking to someone to feel as natural as walking up to a door. But both actions used the same general interaction space. A person could stand near a garage entrance, a shop sign or a pickup. The game needed to know which thing the player was actually addressing. A conversation had to be interruptible without changing unrelated state. A failed condition needed to be understandable rather than silently ignoring the player's response.

A moving car needed to notice the street

Traffic was initially a much narrower simulation than driving through a whole city. The earliest obstacle handling revealed how quickly a decorative moving object becomes a physical problem when the player is allowed to stand in its path.

The first traffic also made the camera's scale matter. A stylized little car can be an acceptable low-poly model, but it still needs to behave as though streets are shared. If it moves through a pedestrian, the mismatch is visible regardless of how pretty the facade behind it is. If it stops forever at one obstruction, the road feels blocked for reasons the player can't understand. The simple stop-and-reverse behavior was not sophisticated driving AI; it was an attempt to make basic motion less absurd. That was enough for the stage the prototype had reached.

Once pedestrians and vehicles both occupied the street, the road was no longer only visual geometry. A car needed a plausible lane, a walker needed a safe place to stand, and the player's collision needed to remain meaningful. Later road widening or sidewalk changes could invalidate even simple traffic paths. This is why building the city and building its inhabitants can't be treated as entirely separate projects.

The door needed to know somebody was standing there

A door is a mechanical animation until a character steps into its swing. Closing through the player showed why obstruction rules matter even in a low-poly world that looks uncomplicated.

It became a good reminder not to judge an interactive object only by the thing it does when nobody interferes. In a closed demonstration, a door opens and closes. In an actual game, the player may stop halfway through the opening, turn around, place an item nearby or stand next to an NPC. The object's behavior has to accommodate at least the ordinary cases a player will try. I didn't need to simulate every possible physical contact with perfect realism. I did need the door to recognize that bodies occupy space. That is a small but fundamental piece of believability.

The same doorway could be tested from several positions: approach it normally, stop in the opening, turn back, wait while another actor is nearby. Those scenarios are simple enough to imagine and common enough to matter. They also demonstrate why a door animation test in an empty scene is incomplete. The object only becomes part of the world when it interacts with bodies that can choose inconvenient places to stand. Fixing one case didn't prove perfect collision under all circumstances, but it turned an obvious contradiction into behavior with a sensible rule.

The rules of a living street

The funniest part is that none of these failures required an advanced, fully simulated city to appear. A handful of moving things was enough. The world had to decide who could occupy a space, what should stop, what could move around something else, and what the player would experience when systems collided.

I still want the streets to feel populated. But adding twenty more figures would not solve a car moving through a person or a door ignoring a body in its frame. The work that mattered was not only making the scene busier. It was beginning to make its residents, objects and movement obey a shared physical reality.