Two carts, one road

Haulers push hand carts along 2-wide roads, two carts can pass each other, and everything that walks is now drawn smoothly at any speed.

A hauler carries one load at a time, held out in front of them. For a site that needs a pile of planks, that is a lot of walking. So a haulers hut that stands by a 2-wide stone or brick road now keeps hand carts on a rack. A hauler who is sent to a target that is short by more than one hand load takes a cart, loads up to four hand loads, pushes it along the road, unloads, and rolls the empty cart back to the rack. Cart wear is counted too, and a worn cart slows its pusher.

The part I had to think about was the road. A hauler and a cart are one body, and two of those have to pass each other without anyone walking through a cart. A pusher and cart together are 0.45 tiles wide, so on a road two tiles wide there is room for two. If something is in the way, the pusher steps aside, but never off the road. A cart you park at a door has no body at all, so nobody gets stuck on it.

The film runs through one round. A pusher with a loaded cart, two carts passing, one unloading at a building site, the other doing the same, and the empty cart rolling home to its rack.

A pusher and cart move as one, two carts pass on a 2-wide road, both unload at a building site, and the empty cart rolls back to its rack.

Something else was wrong this week, and it was not the carts themselves. Carts and walkers were choppy. The sim moves everyone once per tick, but the screen was drawing them from the steps of each frame, so when the speed went up or a frame took long, a cart would jump instead of roll. It showed most at double speed on a slow frame rate.

Now every mover, people, Cinderkin, rail carts and trains, is drawn from a trail with one entry per tick, and drawn a little behind the sim: a tick and one physics step back. It looks a fraction late, but it moves evenly whatever speed key you press.