A town simulation in pale isometric line art, implemented with Ritmo ECS and PixiJs 3D
Merge remote-tracking branch 'origin/main' into ccr-10de06f8-pc5ysn
Claude55e84471eb8f
diff --cc src/host.tsindex 0bcb8b1,b431e0d..9d65cc7--- a/src/host.ts+++ b/src/host.ts@@@ -361,7 -354,11 +362,12 @@@ export const createHost = async (mountbutton.onclick = runsystem.append(button)}+ action("share", "share", "Share a picture of the town, or a link anyone can open to watch it and play on", () => void openShare())+ // The guide, on or off (it is on for a new mayor).+ const guideButton = el("button", "guide-toggle")+ guideButton.append(iconEl("hint"), document.createTextNode("guide"))+ guideButton.onclick = () => ui.guide.push({ type: ui.stats?.guide.off ? "on" : "off" })+ system.append(guideButton)action("save", "save", "Save the town in this browser (it also autosaves every two minutes)", () =>ui.toast(persistence().save() ?? "Saved"))