Skip to the page
LiamMcraft

Full screen, a faster world, chiefdoms that draw together, the metal ages and the new god layer

By LiamAbout 6 minutes to readChangelog

v0.82: full screen from the start. Pressing play on the title screen now puts the game in full screen, and so do New world, Continue and Load. In Chrome and Edge, Escape stays with the game (it opens the game menu); hold Escape to leave full screen. The Full screen buttons still switch it on and off.

v0.83: a performance pass. Before changing anything I measured the game in a big 700-place world, at every zoom and speed, and profiled where the time went. I compared the new version against yesterday's on the same machine. The biggest find was the close-in map: it kept redrawing its detail without end, because any building anywhere in the world, or any small change of season, marked the whole screen out of date. Now only the ground near a change is redrawn, and only in the background. At the town zoom at speed, a frame takes 39 ms of work instead of 96. Other fixes:

  • The index of every path in the world is only built when the close-in map needs it, instead of every game year.
  • The map no longer repaints for tiny changes.
  • Numbers on labels are put together from cached letters.
  • The time card is only rewritten when it changes.
  • A still map is drawn 30 times a second, and every frame again as soon as you move.

The world runs 40–85% faster at the top speeds. A fingerprint of a whole 120-year world is identical before and after, so nothing in the simulation changed. The big remaining limit is that the world's simulation shares one thread with the screen. Moving it to a thread of its own is the next big step.

v0.84: a second thread for the map. The heaviest drawing jobs, the close-in map detail and the base map painting, now run on a background thread (a Web Worker), using the computer's second processor core. They come back as finished images, so the main thread only places them on screen. On the world view this cuts the main thread's map work from 28 ms per frame to 6, and at the town zoom at speed from 39 to 20. The map canvas is also marked opaque, which lets the browser put it on screen faster. If your browser can't run the background thread, the game does the work itself as before.

v0.85: villages drawing together into chiefdoms and kingdoms. Until now a world at year 700 was mostly single villages each ruling themselves (about 550 realms), with a few big conquerors. The step between was missing. In the real world, clusters of villages of one people and one faith slowly came to follow the strongest among them: the one with the most food, trade, a holy place and a good war leader. Joining paid most where land was full and neighbours many, and leagues against a common enemy turned into lordships. Now that happens over generations. A village joins a stronger neighbour of its own people and faith peacefully, more readily when the land is crowded, when it fears someone, or when it lies inside that neighbour's title. Proud, warlike peoples resist longer, and a centre that's already big draws villages more slowly.

The titles over a region or a land now work like Crusader Kings' de jure titles. Each keeps its name and a history of who held it, outlives the realm that made it, and can be claimed again later. The new Titles page in the book lists them all. In an 850-year test world, the age now ends with about 380 realms instead of 550: around 45 chiefdoms, 30 great chiefdoms and 6 kingdoms, with 19 titles standing empty where realms rose and fell. Many villages on the frontier still stand alone.

v0.86: the metal ages, filled out. The Stone Age had about 400 things to learn; Copper, Bronze, Iron and Steel together had only about 80. There are now 114 more, and like the Stone Age tree they come as rival answers to the same needs, chosen by the land. Peoples with no tin make bronze from copper and arsenic ores, as the first smiths of Anatolia and the Andes did. Peoples in hot lands with red iron-rich soil can smelt iron straight from the ore and skip bronze altogether, as in West Africa. Iron can be cast in tall furnaces or hammered from the bloom, and steel comes three ways: by the old method, melted in sealed crucibles, or stirred out of cast iron. Records are kept on clay tablets, bamboo slips, birch bark, carved stones or knotted cords. Armies field war elephants, camel troops, armoured riders, crossbows, obsidian-edged clubs and quilted cotton armour, each with a real effect in battle. Empires hold their lands with tribute kings, satraps, royal hostages, relay runners on mountain stairways, colonies of old soldiers, or one script and one measure for all. Twelve great works, from stone circles and barrows to pyramids, ziggurats, arenas and great domes, now stand in towns as their landmark, each newly drawn, and each earns its rulers renown. Copper brought in by trade now teaches smelting too, so metal reaches more of the world. In the test worlds the first Iron Age people now arrives around year 560 to 650 and the first Steel Age people around 720 to 810, and two to four empires stand by year 1,000 in both. The chronicle is also quieter: a village's fence going up and rotting again, a people switching back to furs, and every new camp and mine are now news only the first time, which removes several thousand repeated lines from each world.

v0.87: the new god layer. The old god layer is gone, and a new one is in, built from scratch. A new world now begins with your god: its name, its form and sacred beast, one of sixteen holy signs, its colour, its holy places and season, three domains out of eighteen, where it stands between mercy and wrath, near and far, order and the wild, open and jealous, gifts and flaws bought from a budget, whether it wakes at once or sleeps for an age, and where in the world it begins. Nobody knows you at first. Your sign in the sky raises a province's awareness of you; where you are unknown, your deeds are thanked to the land's own gods. A ruler who sees enough climbs the high place and asks who sends the signs, and from there climbs the ladder from praying to zealot. Rulers bring you prayers in famine, plague, war and childlessness, offer oaths for gifts and keep or break them, raise heirs in your faith, and ask whether you will found a faith of your own or be taken in among their gods under a second name. Grace flows from them. As your followers come to rule kingdoms and empires you rise from a spirit to a god of gods, and 72 powers open up, four in each domain: from calling the fish and breaking a drought to turning a river, raising a conqueror, cursing a house for seven generations, sundering a realm or bringing a great dying. What follows from a great act is carried on by the world itself, and your god's page shows what came of each one. Legends of your acts travel from people to people and change as they are retold. Whatever you become, good or evil, a rival god, the Opposite, becomes the reverse, and comes looking for you.

GameClose stops the game. Your progress saves in this browser.Open full page