Game format: camera games built on templates

A camera game is played while it is filmed. The app carries the game engines, called templates; a package picks one and fills it with words, questions, pictures, models and sounds.

Templates, not code

The camera records the player and the game together, with the game's sounds mixed into the take. A game package is data, not code: the app carries a fixed set of game engines (templates), and a package says which one it plays on and fills it. Nothing in it runs, so a creator's game can be checked and published without anyone's code running on a phone, and it reaches people the day it is approved, not with the next app release.

"This or That" is one template. This or That: Food, This or That: Travel and your own edition are packages on it.

The package

say-the-word.fentragame/
  game.json         the manifest
  thumbnail.png     the library's picture
  art/…             pictures and models the content names
  sounds/…          its sounds
RuleLimit
id^[a-z0-9][a-z0-9-]{2,40}$, the same as the folder name before .fentragame
filesat most 160, in folders at most 3 deep; names of A–Z a–z 0–9 . _ -, no .., no leading dot, paths of at most 160 characters, no two paths that differ only in case
whole packageat most 32 MiB
game.jsonat most 256 KiB, strict UTF-8 JSON
a picture (.png, .jpg)at most 4 MiB and 2048 px a side, 8-bit, decodable
a model (.glb)at most 16 MiB, within the budgets below
a sound (.wav, .m4a)at most 2 MiB and 20 seconds, mono or stereo, 22.05–48 kHz
a data file (.json)at most 4 MiB
a file nothing namesan error (unused_file), except thumbnail.png

game.json

{
  "formatVersion": 1,
  "id": "say-the-word",
  "name": "Say the Word",
  "names": { "fr": "Dis le mot", "es": "Di la palabra" },
  "description": "Say each word before the ball hits the wall",
  "template": "wordWall",
  "templateVersion": 1,
  "category": "voice",
  "thumbnail": "thumbnail.png",
  "credits": [
    { "work": "Wood Planks 012", "by": "ambientCG", "licence": "CC0-1.0", "url": "https://ambientcg.com/a/WoodPlanks012" }
  ],
  "sounds": { "smash": "sounds/smash.wav" },
  "content": { }
}
KeyRuleMeaning
formatVersion1This format.
idas aboveThe package id, and the catalogue's.
name1–40 charactersThe game's name in the library.
nameslanguage → name, up to 40Translations; the app shows the one for its language.
descriptionup to 140 charactersAn optional line under the name. descriptions translates it.
templateone of the templates belowThe engine it plays on.
templateVersionat least 1The engine version the content needs. An app with an older version doesn't list the game.
categoryquiz, voice, body, arcade, random, choiceThe library's shelf.
thumbnail"thumbnail.png"Square, 512 or 1024 a side, opaque: the game's art, not a person. It must read at 64 points.
creditsup to 32 {work, by, licence, url?}Whose pictures, models and sounds it uses. Required for anything its creator didn't make.
soundsname → .wav or .m4a, up to 32Sounds the template plays by name. The app has tick, go, gameOver, newBest, select, correct, wrong and roundDone for every game; a package can replace any of them.
themeoptionalaccent, the card gradient and text, as #RRGGBB.
contentthe template'sWhat the game is made of.

Text

Every string a player reads is short and can be translated: a field title has an optional titles (language → text) beside it. No control or format characters and no outer spaces. Emoji are fine in text, except ones joined with a zero-width joiner or tag sequences, which go in an emoji field.

The templates

TemplatePlayed withWhat it is
randomizernothing: it landsA question, and an answer that shuffles and lands over the head, on the forehead or at the top.
thisOrThathead tiltTwo choices over the head; tilt toward one and hold.
quizhead tiltA flag, an outline, emoji, a picture or words, and two answers; tilt toward the right one.
wordWallvoiceA ball rolls at walls with words on them; say the word and the wall breaks.
faceWallfaceWalls with face-shaped holes; pull the face that fits.
gateRunheadSteer a ball through the gap with the right answer.
noseFlyerheadA flyer on your nose; fly through the gaps.
headerBallheadBounce the ball off the block on your head into the goal.
penaltyhead and mouthAim with your head, shoot with your mouth.
colorRunnerheadPick up your colour and change colour through gates.
blockClimbmouthOpen your mouth to jump from pillar to pillar.
slicemouthChop the food as thin as you can.
crossingvoice and headEvery syllable hops forward; tilt to hop aside.
pitchPilotvoice pitchSing high to climb, low to dive.
holeWallbodyFit your body through the hole in the wall.
skyHopheadBounce up the platforms, steering with your head.

Each is at version 1.

randomizer

KeyDefaultMeaning
titlerequiredThe question at the top, up to 48 characters.
placementaboveHeadtop, aboveHead (follows the head) or forehead (turns with it).
looktexttext, card (with a small label over the answer), picture or flag (a picture waving on a pole).
optionsrequired2–500, each exactly one of text, picture or emoji, with an optional weight (0.01–100).
spin2.8Seconds of shuffling before it lands, 1–6.
decornoneUp to 4 pictures that slide in from a side as the answer lands.

thisOrThat

KeyDefaultMeaning
titlerequiredOver the cards, up to 40 characters ("Which food?").
pairsrequired2–60 pairs of left and right, each a label and a picture or emoji, with an optional question.
perRound8Pairs a round shows, 2–20.
shuffletrueA new order each round.

quiz

KeyDefaultMeaning
titlerequiredOn the title card.
promptrequiredflag, outline, emoji, picture or text: what a question shows.
questionsrequired4–400. Each has a country (ISO code; the app names it in the player's language) or an answer, optional wrong answers, what the prompt needs, a tier (1–3) and a look-alike group.
outlinesfor outlineA data file of country outlines.
perRound10Questions a round asks, 3–20.
seconds7Time for each, 3–15.

The arcade, voice and body templates

Each takes an art object naming its pictures and models, plus a few numbers:

TemplateContent
wordWallwords by language (10–500 each, en required), lives 1–5, art: road, wall, ball model
faceWallfaces (2–8 of mouthOpen, smile, kiss, eyesClosed, winkLeft, winkRight, eyebrowsUp, neutral), lives, art: road, wall
gateRunthe quiz's prompt, questions, outlines and perRound, art: road, wall, ball model
noseFlyerart: flyer (1–4 frames), obstacle; gap 0.18–0.4
headerBallart: kicker frames, ball, ground, goal, block; shots 3–20
penaltyart: kicker and keeper models (with idle, run, kick), ball model, net, pitch; shots 3–10
colorRunnerart: runner model (run, idle), track; 3 colours; seconds 20–90
blockClimbart: runner (run, jump, fall), block and goal models; levels 1–10
sliceart: board and knife models, 1–8 food models; rounds 1–8
crossingart: player, vehicles, trees and scenery models
pitchPilotart: plane frames, rock pairs, ground, puff, star
holeWallart: wall
skyHopart: jumper poses, platform kinds, spring, hazard, pickup, cloud

Models in games

The same .glb reader as lens format 3, with a game's budgets for each model: 120,000 vertices and 100,000 triangles (the library aims at 20,000), 32 materials, 16 textures of at most 2048 a side, 128 joints a skin, 16 animations. Metres, y up; a model the template turns to face the way it moves is modelled facing +z.

Credits and rights

A package carries only work its creator made or may share. Credit every third-party picture, model and sound in credits with its licence. The seed library's games use CC0 work (Kenney, Poly Haven, ambientCG), MIT work (flag-icons, Fluent Emoji) and public-domain data (Natural Earth); see Credits. Review refuses a package that uses another company's logo, mark or character without its permission.

On the phone

The library lists the published games whose template and templateVersion the app has. A game downloads the first time it's tapped and is checked (sizes, hashes, every file decoded, every model within budget) before it can be played. The app keeps up to 400 MB of games, letting go first of those played least and longest ago.

Validation

Problems come back as {code, path, message}, with a path in the package (art/cup.png) or in a JSON file (game.json.content.pairs[3].left.emoji). Beyond the usual size, name, manifest and schema codes, games have thumbnail_not_opaque, image_bit_depth, model_over_budget, sound_invalid, sound_unsupported, sound_too_long, data_invalid, wrong_file_kind and unused_file.

Checked against the specs on 4 November 2026.

NextTools