Back to all writing

My Market Could Sell Things Long Before It Felt Like a Market

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

The market was one of the clearest examples of Block by Block improving in two directions that didn't always move together.

The software could recognize a vendor and let the player make a simple purchase. But a working transaction doesn't necessarily make a place worth visiting. Some versions of the Market District looked too sparse, their buildings and stalls too generic. Later reconstructions added more believable canopies, counters, shelves and frontage—only to raise the risk that a newly placed support post would block the very interaction the old version could perform.

I wanted a market that could do more than look busy in a screenshot. I also didn't want to end up with an attractive street of stalls that stopped functioning the moment somebody tried to buy something.

The first challenge was making a street of stalls

The market's physical organization mattered: shelter shapes, stall spacing, the main hall, goods and pedestrian corridors had to read as one commercial district rather than a row of identical boxes.

The simplest version of a kiosk is a counter under a roof. That's useful for a first prototype, but it's not quite architecture. A roof needs visible thickness. It needs a plausible way to remain up. Its angle, edge and supports affect the silhouette. A counter needs to be at a sensible height for someone standing nearby. Merchandise has to feel stocked rather than poured into a rectangular container.

A market's floor is part of its architecture. People should recognize main aisles, small gathering spaces and service approaches. The paving needs to remain consistent as it moves between stalls and the larger hall. Awkward fragments of grass or abrupt material changes make the ground look unfinished, even when the objects placed on it are appealing.

An overhead image is generous to market architecture. Colorful awnings form a pattern, and the tops of the counters make the area look busy. At player height, the posts and shelves occupy actual space. A canopy that looks charming from above can obstruct the view of the seller. A decorative crate can narrow an aisle. A loading area might be visually convincing yet uncomfortably close to the path into the hall.

Then the market had to respond to the player

A real purchase involves approaching the right object, receiving intelligible choices, handling money correctly and recording the result. The early interaction work was narrower than a full city economy, but it made the place usable.

The first successful transaction was also a small usability test. Could the player tell which stall or counter they were addressing? Did the interface indicate what would happen before charging money? Did leaving the menu return the keyboard to the world? The system had to behave consistently during ordinary indecision, not only when someone chose the first available item. That made the work different from placing a bunch of colorful kiosks. A shop isn't alive just because it has a roof. It becomes more believable when it responds coherently to someone standing in front of it.

But a successful transaction in a test didn't guarantee a good market. If a counter was on the wrong side of the stall, the player would have to stand somewhere unnatural to use it. If the visible canopy blocked the view of the interaction marker, the feature could technically work and still feel broken. The physical and software versions of the shop had to converge.

The player approaches a stall, understands what is for sale, checks the price, confirms or declines, receives feedback and expects the result to survive a save. Failure cases matter as much as success: insufficient funds shouldn't grant the item; backing out shouldn't charge money; repeating input shouldn't buy twice accidentally. The later PM03 validation explicitly checked original interaction access and successful and failed purchase paths across the fourteen vendors.

Fourteen vendors were fourteen opportunities for regression

The focused market review tested approaches, shop opening, successful transactions, blocked purchases and returning to movement. Preserving the underlying purchase identities while replacing the counters was not optional.

The later focused work preserved those identities and the original shopping contracts while rebuilding the kiosks. In some cases, the physical place where the player should focus moved with the counter. The underlying vendor identity did not. That is a small technical distinction with an enormous practical consequence: the game can become more attractive without losing track of which place the player is using.

A new canopy shouldn't destroy the place where a player can stand. An improved counter shouldn't strand its interaction target inside a support post. A new name should not quietly be assigned to a vendor that already owns saved state. More detailed shop models should not introduce physical obstructions into the only usable approach.

I liked that the successful vendor tests preserved the distinction between a visual shop and a functional one. The same colorful awning can cover a real purchase interaction or a decorative prop. A player can tell the difference almost immediately. The later market work wasn't about inventing a complex economic world behind every counter. It was about ensuring that the shops which promised a transaction kept that promise consistently. That is a much better use of testing than reporting the number of stalls and assuming the market therefore works.

The floor could spoil the whole effect

Even after the larger systems and stall shapes improved, mismatched ground materials or a hard seam in the public area could make the market feel like separate scenes welded together.

I tried to keep the fix at the appropriate scale. If the problem was material alignment, a material correction should resolve it. If a thin gap in geometry caused the line, an overlay might merely disguise it. And if the seam existed because two parts of the market had been designed as incompatible surfaces, the boundary needed reconsideration. The goal was a repair that still looked correct from an ordinary walking angle, not a cosmetic adjustment tuned to one screenshot. This kind of small work is unglamorous, but it is exactly what turns a coherent prototype into an environment that can withstand casual attention.

Small material problems are worth separate attention because they can survive when the obvious geometry has been fixed. A newly rebuilt stall may look convincing, yet an abrupt change in the ground can still pull the eye away from everything else. This is why a final visual pass needs close-up inspection as well as broad references. The market's large organization is a different problem from its local seams, and solving one shouldn't be used as proof that the other is finished. I wanted the small repair to earn its own acceptance without taking credit for an entire district overhaul.

This was a useful final-stage kind of problem. The large work had already created the market. Now the small work had to make its materials agree. But I kept the completion status honest: correcting a seam doesn't prove that every stall, roofline and neighboring street matches the reference. It proves that one specific visual contradiction has been addressed.

Shopping is a journey through space

I had thought of buying something as the moment a player presses a button and money changes. The longer I worked on the market, the more I saw it as a journey through space: spot the stall, understand where to stand, approach the counter, make a choice, receive an outcome and return to walking.

The visual and functional versions of the district had to agree on that journey. A market with reliable purchases but weak architecture needed art direction. A market with wonderful architecture but broken purchase points needed engineering. The strongest version would refuse to sacrifice either. That's why the market kept returning to the work list even after the first successful transaction.