Skip to content

Universe ​

A universe dresses the same game in its own words, colours, art and texts: a quest stays the same quest, the world around it changes. A universe is data only: no code, no address, nothing that runs.

Standardalta.universe/0.1 (its art: alta.art/0.1)
Filea folder: universe.json, vocabulary.json, palette.json, art.json, copy/en.json, copy/fr.json, onboarding.json, cinematics.json
Create italta new universe my-world
Check italta lint my-world
JSON Schemaalta.universe.schema.json

Each file of the folder is one field of the universe below: universe.json is its manifest, vocabulary.json its vocabulary, and so on. A store item carries the same universe as one object, in its universe field.

Minimal example ​

A universe needs every part to be played: a word for each thing of the map, every colour, a glyph for each kind. The folder starts with its manifest: who the universe is, and the words that are its own.

my-world/universe.json
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"
  ]
}

examples/universe/universe.json

The whole folder, every file filled in, is in examples/universe; alta new universe writes one you can change.

Fields ​

Universe ​

schema"alta.universe/0.1"required

The standard: alta.universe/0.1.

manifestobjectrequired

Who the universe is.

manifest.idstringrequired

The universe's id: lowercase letters, digits and dashes.

matches ^[a-z][a-z0-9-]{1,31}$

manifest.ordernumberoptional

Where it comes in the list of universes.

manifest.namestringrequired

Its name; it must not be taken.

manifest.taglinestringoptional

One line that says what it is.

manifest.versionstringoptional

Its version.

manifest.languagesstring[]optional

The languages of its texts.

manifest.fontsobjectrequired

Its fonts, from the closed list (grotesk, serif, mono, rounded).

manifest.fonts.displayenumrequired

The font of the titles.

Valuesgroteskserifmonorounded

manifest.fonts.bodyenumrequired

The font of the texts.

Valuesgroteskserifmonorounded

manifest.distinctivestring[]required

At least four words of its own, none of them a neutral word of the game.

at least 4 items

vocabularyobjectrequired

The universe's words for the things of the game.

vocabulary.kindsobjectrequired

A word for each kind of thing of the map.

vocabulary.kinds.coreobjectrequired

The universe's word for a thing of kind core.

vocabulary.kinds.core.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.core.glossstringoptional

A short explanation of the word.

vocabulary.kinds.agentobjectrequired

The universe's word for a thing of kind agent.

vocabulary.kinds.agent.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.agent.glossstringoptional

A short explanation of the word.

vocabulary.kinds.moduleobjectrequired

The universe's word for a thing of kind module.

vocabulary.kinds.module.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.module.glossstringoptional

A short explanation of the word.

vocabulary.kinds.proposedobjectrequired

The universe's word for a thing of kind proposed.

vocabulary.kinds.proposed.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.proposed.glossstringoptional

A short explanation of the word.

vocabulary.kinds.automationobjectrequired

The universe's word for a thing of kind automation.

vocabulary.kinds.automation.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.automation.glossstringoptional

A short explanation of the word.

vocabulary.kinds.automation-orphanobjectrequired

The universe's word for a thing of kind automation-orphan.

vocabulary.kinds.automation-orphan.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.automation-orphan.glossstringoptional

A short explanation of the word.

vocabulary.kinds.deviceobjectrequired

The universe's word for a thing of kind device.

vocabulary.kinds.device.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.device.glossstringoptional

A short explanation of the word.

vocabulary.kinds.accountobjectrequired

The universe's word for a thing of kind account.

vocabulary.kinds.account.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.account.glossstringoptional

A short explanation of the word.

vocabulary.kinds.interfaceobjectrequired

The universe's word for a thing of kind interface.

vocabulary.kinds.interface.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.interface.glossstringoptional

A short explanation of the word.

vocabulary.kinds.marketobjectrequired

The universe's word for a thing of kind market.

vocabulary.kinds.market.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.market.glossstringoptional

A short explanation of the word.

vocabulary.kinds.peerobjectrequired

The universe's word for a thing of kind peer.

vocabulary.kinds.peer.labelstringrequired

The word, as the player reads it.

vocabulary.kinds.peer.glossstringoptional

A short explanation of the word.

vocabulary.rolesobjectrequired

A word and a creature for each agent.

vocabulary.roles.daemonobjectrequired

The universe's word and creature for the daemon.

vocabulary.roles.daemon.labelstringrequired

The word, as the player reads it.

vocabulary.roles.daemon.glossstringoptional

A short explanation of the word.

vocabulary.roles.daemon.creaturestringrequired

The creature this agent is in the universe.

vocabulary.roles.architectobjectrequired

The universe's word and creature for the architect.

vocabulary.roles.architect.labelstringrequired

The word, as the player reads it.

vocabulary.roles.architect.glossstringoptional

A short explanation of the word.

vocabulary.roles.architect.creaturestringrequired

The creature this agent is in the universe.

vocabulary.roles.operatorobjectrequired

The universe's word and creature for the operator.

vocabulary.roles.operator.labelstringrequired

The word, as the player reads it.

vocabulary.roles.operator.glossstringoptional

A short explanation of the word.

vocabulary.roles.operator.creaturestringrequired

The creature this agent is in the universe.

vocabulary.roles.reviewerobjectrequired

The universe's word and creature for the reviewer.

vocabulary.roles.reviewer.labelstringrequired

The word, as the player reads it.

vocabulary.roles.reviewer.glossstringoptional

A short explanation of the word.

vocabulary.roles.reviewer.creaturestringrequired

The creature this agent is in the universe.

vocabulary.roles.guardianobjectrequired

The universe's word and creature for the guardian.

vocabulary.roles.guardian.labelstringrequired

The word, as the player reads it.

vocabulary.roles.guardian.glossstringoptional

A short explanation of the word.

vocabulary.roles.guardian.creaturestringrequired

The creature this agent is in the universe.

vocabulary.avatarobjectrequired

Its word for the player's avatar.

vocabulary.avatar.labelstringrequired

The word, as the player reads it.

vocabulary.avatar.glossstringoptional

A short explanation of the word.

vocabulary.levelobjectrequired

Its word for a level.

vocabulary.level.labelstringrequired

The word, as the player reads it.

vocabulary.level.glossstringoptional

A short explanation of the word.

vocabulary.xpobjectrequired

Its word for experience.

vocabulary.xp.labelstringrequired

The word, as the player reads it.

vocabulary.xp.glossstringoptional

A short explanation of the word.

vocabulary.edgeobjectrequired

Its word for a link between two things.

vocabulary.edge.labelstringrequired

The word, as the player reads it.

vocabulary.edge.glossstringoptional

A short explanation of the word.

vocabulary.worldobjectrequired

Its word for the world.

vocabulary.world.labelstringrequired

The word, as the player reads it.

vocabulary.world.glossstringoptional

A short explanation of the word.

paletteobjectrequired

Its colours, each #rrggbb.

palette.bgstringrequired

The background.

matches ^#[0-9a-fA-F]{6}$

palette.bg2stringrequired

The second background.

matches ^#[0-9a-fA-F]{6}$

palette.inkstringrequired

The text.

matches ^#[0-9a-fA-F]{6}$

palette.mutedstringrequired

The quiet text.

matches ^#[0-9a-fA-F]{6}$

palette.accentstringrequired

The accent.

matches ^#[0-9a-fA-F]{6}$

palette.okstringrequired

What works.

matches ^#[0-9a-fA-F]{6}$

palette.warnstringrequired

What needs a look.

matches ^#[0-9a-fA-F]{6}$

palette.badstringrequired

What is broken.

matches ^#[0-9a-fA-F]{6}$

palette.mockstringrequired

What is only shown (a demo).

matches ^#[0-9a-fA-F]{6}$

palette.panelstringrequired

The panels' background.

matches ^#[0-9a-fA-F]{6}$

palette.linestringrequired

The lines.

matches ^#[0-9a-fA-F]{6}$

copyobjectrequired

Its texts, by language; English is required.

copy.enobjectrequired

The texts in English.

copy.frobjectoptional

The texts in French.

artartrequired

Its art direction.

skinobjectoptional

The look of its panels.

skin.radiusnumberrequired

The corner radius of the panels, 0 to 24.

0 to 24

skin.bordernumberrequired

The border width, 0 to 3.

0 to 3

skin.panelAlphanumberrequired

How opaque the panels are, 0 to 1.

0 to 1

skin.fontenumrequired

The font of the panels.

Valuesgroteskserifmonorounded

skin.capsbooleanoptional

true: titles in capitals.

onboardingonboardingrequired

Its guide: the same beats and quests as the neutral guide, in its words.

cinematicscinematicsoptional

Its trailer and scenes.

Art direction ​

art.json: the ground, a glyph for the core, the avatar, each agent and each kind of thing, the links and the light.

schema"alta.art/0.1"required

The standard: alta.art/0.1.

groundobjectrequired

The ground of the map.

ground.styleenumrequired

The ground's style, from the closed list.

Valuesvoidgradientbandsgridnoise

ground.colorsenum | string[]required

Its colours, 1 to 6.

1 to 6 items

ground.particlesobjectoptional

Particles drifting over the ground.

ground.particles.shapeenumrequired

Their shape, from the closed list.

Valuesdotstreakflakebubbleleafember

ground.particles.countintegerrequired

How many, 0 to 1500.

0 to 1500

ground.particles.driftnumber[]required

Their drift, [x, y], each -50 to 50.

2 to 2 items

ground.particles.twinklebooleanoptional

true: they twinkle.

coreglyphrequired

How the core of the world is drawn.

avatarglyphrequired

How the player's avatar is drawn.

agentsobjectrequired

How each agent is drawn, by role.

agents.architectglyphrequired

How the architect is drawn.

agents.operatorglyphrequired

How the operator is drawn.

agents.reviewerglyphrequired

How the reviewer is drawn.

agents.guardianglyphrequired

How the guardian is drawn.

kindsobjectrequired

How each kind of thing of the map is drawn.

kinds.moduleglyphrequired

How a thing of kind module is drawn.

kinds.proposedglyphrequired

How a thing of kind proposed is drawn.

kinds.automationglyphrequired

How a thing of kind automation is drawn.

kinds.automation-orphanglyphrequired

How a thing of kind automation-orphan is drawn.

kinds.deviceglyphrequired

How a thing of kind device is drawn.

kinds.accountglyphrequired

How a thing of kind account is drawn.

kinds.interfaceglyphrequired

How a thing of kind interface is drawn.

kinds.marketglyphrequired

How a thing of kind market is drawn.

kinds.peerglyphrequired

How a thing of kind peer is drawn.

lightobjectoptional

The light over the map.

light.vignettenumberoptional

How dark the edges are, 0 to 1.

0 to 1

light.fognumberoptional

How much fog, 0 to 1.

0 to 1

Glyph ​

shapeenumrequired

The shape, from the closed list.

Valuesorbringpolystarcrystalblobspireshellleafflamedropgear

sizenumberrequired

The size, 8 to 120.

8 to 120

fillenum | stringrequired

The fill colour.

strokeenum | stringoptional

The outline colour.

sidesintegeroptional

The number of sides of a polygon, 3 to 12.

3 to 12

glownumberoptional

How much it glows, 0 to 1.

0 to 1

spinnumberoptional

How it turns, -1 to 1.

-1 to 1

wobblenumberoptional

How it wobbles, -1 to 1.

-1 to 1

layerslayer[]optional

Up to three layers drawn over it.

at most 3 items

Layer ​

shapeenumrequired

The shape, from the closed list.

Valuesorbringpolystarcrystalblobspireshellleafflamedropgear

sizenumberrequired

The size, 8 to 120.

8 to 120

fillenum | stringrequired

The fill colour.

strokeenum | stringoptional

The outline colour.

sidesintegeroptional

The number of sides of a polygon, 3 to 12.

3 to 12

glownumberoptional

How much it glows, 0 to 1.

0 to 1

spinnumberoptional

How it turns, -1 to 1.

-1 to 1

wobblenumberoptional

How it wobbles, -1 to 1.

-1 to 1

The guide of a universe follows the onboarding standard, and its scenes the cinematics standard.

Rules and errors ​

Each rule alta lint applies to a universe, with its section on the errors page. The most frequent: a word of its own that is also a word of the game (universe.purity), and an address in a text (universe.no-address).

Full example ​

The art direction of a universe
my-world/art.json
json
{
  "schema": "alta.art/0.1",
  "ground": {
    "style": "bands",
    "colors": ["bg", "bg2", "#3a2f45"],
    "particles": {
      "shape": "flake",
      "count": 220,
      "drift": [2, -1],
      "twinkle": true
    }
  },
  "core": {
    "shape": "ring",
    "size": 72,
    "fill": "accent",
    "stroke": "ink",
    "glow": 0.6,
    "spin": 0.1,
    "layers": [
      {
        "shape": "star",
        "size": 40,
        "fill": "ink",
        "sides": 8
      }
    ]
  },
  "avatar": { "shape": "drop", "size": 18, "fill": "ink", "glow": 0.3 },
  "agents": {
    "architect": {
      "shape": "leaf",
      "size": 34,
      "fill": "#c9824a",
      "glow": 0.3
    },
    "operator": {
      "shape": "flame",
      "size": 34,
      "fill": "#e5c35c",
      "wobble": 0.2
    },
    "reviewer": {
      "shape": "crystal",
      "size": 34,
      "fill": "#b9c4d6"
    },
    "guardian": { "shape": "shell", "size": 34, "fill": "#8fbf7f" }
  },
  "kinds": {
    "module": {
      "shape": "poly",
      "size": 28,
      "fill": "accent",
      "sides": 6
    },
    "proposed": {
      "shape": "poly",
      "size": 24,
      "fill": "mock",
      "sides": 6,
      "glow": 0
    },
    "automation": {
      "shape": "gear",
      "size": 20,
      "fill": "ok",
      "spin": 0.5
    },
    "automation-orphan": {
      "shape": "gear",
      "size": 18,
      "fill": "warn",
      "spin": -0.2
    },
    "device": { "shape": "spire", "size": 26, "fill": "muted" },
    "account": { "shape": "ring", "size": 22, "fill": "#a37cc6" },
    "interface": {
      "shape": "orb",
      "size": 20,
      "fill": "#7fb3bf",
      "glow": 0.5
    },
    "market": {
      "shape": "star",
      "size": 36,
      "fill": "accent",
      "sides": 5
    },
    "peer": {
      "shape": "blob",
      "size": 26,
      "fill": "line",
      "wobble": 0.4
    }
  },
  "links": {
    "flow": { "style": "line", "width": 1.2, "color": "line" },
    "cycle": { "style": "dots", "width": 1, "color": "muted" },
    "control": { "style": "wave", "width": 2, "color": "accent" }
  },
  "light": { "vignette": 0.5, "fog": 0.2 }
}

examples/universe/art.json

Versions ​

VersionWhat it addsRead by the game
alta.universe/0.1, alta.art/0.1Manifest, vocabulary, palette, texts, art, guide and scenescurrent

Guides that use it ​

Alta OS is open source (MIT).