English
Create a universe
You make a folder that renames and redraws the whole game: what each thing is called, its colours, the narrator's lines and the art. The quests, the proofs and the rules stay the same under every universe. A universe is only data: no code, no style sheet, no web address.
Before you begin 30 minutes
- The
altacommand (see Install the CLI). - Read Universes if the idea of a skin over one world is new.
Create the folder
alta new universewrites a complete universe that already passesalta lint: a manifest, a vocabulary, a palette, the texts in English and French, the art, a guide and its scenes. You change it file by file.Terminalshalta new universe my-worldOutputtextcreated my-world/universe.json, my-world/vocabulary.json, my-world/palette.json, my-world/copy/en.json, my-world/art.json, my-world/onboarding.json, my-world/copy/fr.json, my-world/cinematics.json (universe, id my-world) next: edit the texts, then `alta lint my-world`, then `alta dev my-world`Name it
universe.jsongives the id, the name, the place in the world picker (order) and the fonts, as one name each amonggrotesk,serif,monoandrounded.distinctivelists at least four words that belong to your universe only: the game refuses them anywhere outside it, so they never leak into another world. A word the game already uses everywhere, such asmodule, is refused here.my-world/universe.jsonjson{ "id": "loomhollow", "order": 9, "name": "Loomhollow", "tagline": "Every mind is a tapestry.", "version": "0.1.0", "languages": ["en", "fr"], "fonts": { "display": "serif", "body": "rounded" }, "distinctive": [ "loomhollow", "spindle", "bobbin", "shuttlewing", "knotwork", "moth" ] }Give every thing its name
vocabulary.jsonnames every kind of thing on the map (the core, an agent, a module, an automation, a device…), each agent with the creature it is, and the words of the interface: the avatar, the level, the experience, the edge of the world and the world itself. Every kind and every agent needs alabel;glossis the short line under it.my-world/vocabulary.jsonjson{ "label": "Spindle", "gloss": "an automation: it turns by itself at its hour" }examples/universe/vocabulary.json#/kinds/automation
my-world/vocabulary.jsonjson{ "label": "Shuttle Wren", "creature": "wren", "gloss": "keeps the day's spindles turning" }Choose the colours
palette.jsonholds twelve colours in#rrggbb: the backgrounds, the ink, the accent, the three states (ok, warn, bad), the panels and the lines. The art refers to them by name, so changing one colour here changes it everywhere.my-world/palette.jsonjson{ "bg": "#1d1a24", "bg2": "#2a2433", "ink": "#f3ead8", "muted": "#a89c8a", "accent": "#e0a458", "ok": "#8fbf7f", "warn": "#e5c35c", "bad": "#d9665b", "mock": "#6f6a7a", "panel": "#2f2838", "panelInk": "#f3ead8", "line": "#4a4057" }Write the texts
copy/en.jsonandcopy/fr.jsonhold the texts: the title, the intro, and the line each agent says when it gives a quest. There is one file per language of the manifest. The guide (onboarding.json) and the scenes (cinematics.json) take the same quests as the neutral game: only their words change.my-world/copy/en.jsonjson{ "ui.title": "Loomhollow", "intro": [ "Every mind is a tapestry.", "Yours is woven in a hollow, around a heart loom an old moth never leaves.", "Everything here is real: each workshop, each spindle, each gate is something running on your machine." ], "giver.daemon": "The Old Moth stirs on the heart loom. \"I remember every thread. Bring me new ones.\"", "giver.architect": "The Pattern Fox unrolls a sketch. \"Tell me what you need; I'll draw it.\"", "giver.operator": "The Shuttle Wren lands on a spindle. \"The day starts early. Let's get it ready.\"", "giver.reviewer": "The Knot Owl tugs a thread twice. \"Nothing holds before I've tested it.\"", "giver.guardian": "The Badger Warden pats an old chest. \"What you trust me with stays here.\"" }Draw it
art.jsondescribes the drawing without code: the ground, then one glyph for the core, the avatar, each agent and each kind of thing, and the style of the links. A glyph is a shape (orb,ring,star,leaf,flame…), a size from 8 to 120, a fill and a stroke taken from the palette, and up to three layers.my-world/art.jsonjson{ "shape": "ring", "size": 72, "fill": "accent", "stroke": "ink", "glow": 0.6, "spin": 0.1, "layers": [{ "shape": "star", "size": 40, "fill": "ink", "sides": 8 }] }examples/universe/art.json#/core
my-world/art.jsonjson{ "style": "bands", "colors": ["bg", "bg2", "#3a2f45"], "particles": { "shape": "flake", "count": 220, "drift": [2, -1], "twinkle": true } }Check it
alta lintreads the whole folder as one universe. Each problem names the file, the field and the rule, with a link to its fix.Terminalshalta lint my-worldOutputtextok my-world (universe) 1 checked, 0 errors, 0 warnings
Try it
alta dev my-worldOpen the address it prints: your universe opens first, with its words, colours and lines. Nothing runs on your machine.
Demo: nothing is written on your machine.
Pitfalls
| Do | Avoid |
|---|---|
Rare words in distinctive, found nowhere else | A common word, refused as a word the game already uses |
| A name for every kind of thing and every agent, a glyph for each | Leaving one out: the check names the missing one |
| Plain sentences in every text | A web address, http, < or url( anywhere: refused in a universe |
| The same quests in your guide as in the neutral one | A guide that skips the steps that wake the assistant |
Known limits, said plainly: alta dev draws your universe with a simple preview, not the full engine yet. The vocabulary is written once, in English; translated texts live in copy. The check does not compare your guide with the neutral one: read it again before you share it.
Go further
- Universe: every file and field.
- Universes: why a universe changes words, never rules.
- Errors: each rule of
alta lintfor a universe.