Skip to content
simhood
← Dev log
  • client
  • society
  • graphics

Streets and shops get names

Streets and shops get names

Until now nothing in the town had a name except its residents: a building was “Building 331” and a road “Road 340”. Streets are now named, every house and shop has an address, and every shop, office and workshop has a business name. The names come from word lists in data packs (this town draws on British ones), so a town in another language only needs another pack.

The pictures are real frames from the game, drawing a recorded town (seed 1) in the 3D client, and from the dashboard on a running one.

Shopfronts and their names

A shop now has a proper shopfront on the street side: a glazed band, a sign board with the business’s name and, on some shops, an awning. The colours come from the shop itself, so it looks the same every time you look.

A shopfront with a yellow-and-white striped awning under a brown sign board reading Dach Hairdressers, on the ground floor of a three-storey building

The sign board carries the business name; the awning’s stripes and the board’s colour are chosen from the shop, so they never change between views.

A shop whose business has closed shows dimmed glass and no awning.

The same shopfront with dimmed windows and no awning

Closed: the glazed band is dim and the awning is gone.

Street plates

Each street carries its name on a plate along its length, which turns to follow it. Names near the camera are text; further away a shop is a plain coloured board, which keeps a big town fast.

A street seen from above with the name Garden Way written along it

“Garden Way”, written along the street.

Addresses on the cards

Selecting a building shows its address, and its business if it has one. Hovering a building or a road leads with the name too.

The 3D client with a card for Building 331 listing Address 9 Highfield Court and Business Dach Hairdressers, beside the shopfront

The card of the shop in the same frame.

The hover line over a building, led by its name

The hover line starts with the name.

In the dashboard

The dashboard’s cards show the same rows, a road’s card names its street and links the street’s other segments, and a resident’s card shows their home address. A new search box finds a street, an address or a business by any part of its name.

The dashboard with “Ltd” typed in the search box and two businesses listed with their addresses

Typing part of a name lists the matches with their addresses.

The dashboard with a card for an office showing its address and business name

Choosing a result selects it and moves the map to it.

The dashboard with a street card

A street card.

What comes next

The names are generated word lists, so some read oddly; they are a first pass and a better data pack can replace them without touching the code. You cannot rename a street yet. In the million-resident town the names cost the simulation almost nothing (about a twentieth of a second to work out at the start), but the 3D view can’t yet draw that many shopfronts: past a few tens of thousands it runs out of room and leaves some shops without their sign, which is next on the list for big towns.