# Create a universe

> Rename and redraw the whole game: words, colours, texts and art, as a folder of data, without touching a rule.

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 `alta` command (see [Install the CLI](https://docs.altasystem.ai/start/install)).
- Read [Universes](https://docs.altasystem.ai/concepts/universes) if the idea of a skin over one world is new.

### Create the folder

`alta new universe` writes a complete universe that already passes `alta 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.

```sh [Terminal]
alta new universe my-world
```

```text [Output]
created 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.json` gives the id, the name, the place in the world picker (`order`) and the fonts, as one name each among `grotesk`, `serif`, `mono` and `rounded`. `distinctive` lists 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 as `module`, is refused here.

```json [my-world/universe.json]
{
  "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.json` names 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 a `label`; `gloss` is the short line under it.

```json [my-world/vocabulary.json]
{
  "label": "Spindle",
  "gloss": "an automation: it turns by itself at its hour"
}
```

```json [my-world/vocabulary.json]
{
  "label": "Shuttle Wren",
  "creature": "wren",
  "gloss": "keeps the day's spindles turning"
}
```

### Choose the colours

`palette.json` holds 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.

```json [my-world/palette.json]
{
  "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.json` and `copy/fr.json` hold 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.

```json [my-world/copy/en.json]
{
  "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.json` describes 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.

```json [my-world/art.json]
{
  "shape": "ring",
  "size": 72,
  "fill": "accent",
  "stroke": "ink",
  "glow": 0.6,
  "spin": 0.1,
  "layers": [{ "shape": "star", "size": 40, "fill": "ink", "sides": 8 }]
}
```

```json [my-world/art.json]
{
  "style": "bands",
  "colors": ["bg", "bg2", "#3a2f45"],
  "particles": {
    "shape": "flake",
    "count": 220,
    "drift": [2, -1],
    "twinkle": true
  }
}
```

### Check it

`alta lint` reads the whole folder as one universe. Each problem names the file, the field and the rule, with a link to its fix.

```sh [Terminal]
alta lint my-world
```

```text [Output]
ok   my-world (universe)
1 checked, 0 errors, 0 warnings
```

**Try it:**

```sh
alta dev my-world
```

Open the address it prints: your universe opens first, with its words, colours and lines. Nothing runs 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](https://docs.altasystem.ai/reference/standards/universe): every file and field.
- [Universes](https://docs.altasystem.ai/concepts/universes): why a universe changes words, never rules.
- [Errors](https://docs.altasystem.ai/reference/errors#standard-universe): each rule of `alta lint` for a universe.

**Next:**

- [Create a cinematic](https://docs.altasystem.ai/guides/cinematics/scene)
- [Create an onboarding variant](https://docs.altasystem.ai/guides/onboarding/variant)
- [Package a quest pack](https://docs.altasystem.ai/charts/guides/quest-pack)
