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| Rule | Limit |
|---|---|
| id | ^[a-z0-9][a-z0-9-]{2,40}$, the same as the folder name before .fentragame |
| files | at 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 package | at most 32 MiB |
game.json | at 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 names | an 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": { }
}| Key | Rule | Meaning |
|---|---|---|
formatVersion | 1 | This format. |
id | as above | The package id, and the catalogue's. |
name | 1–40 characters | The game's name in the library. |
names | language → name, up to 40 | Translations; the app shows the one for its language. |
description | up to 140 characters | An optional line under the name. descriptions translates it. |
template | one of the templates below | The engine it plays on. |
templateVersion | at least 1 | The engine version the content needs. An app with an older version doesn't list the game. |
category | quiz, voice, body, arcade, random, choice | The 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. |
credits | up to 32 {work, by, licence, url?} | Whose pictures, models and sounds it uses. Required for anything its creator didn't make. |
sounds | name → .wav or .m4a, up to 32 | Sounds 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. |
theme | optional | accent, the card gradient and text, as #RRGGBB. |
content | the template's | What 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
| Template | Played with | What it is |
|---|---|---|
randomizer | nothing: it lands | A question, and an answer that shuffles and lands over the head, on the forehead or at the top. |
thisOrThat | head tilt | Two choices over the head; tilt toward one and hold. |
quiz | head tilt | A flag, an outline, emoji, a picture or words, and two answers; tilt toward the right one. |
wordWall | voice | A ball rolls at walls with words on them; say the word and the wall breaks. |
faceWall | face | Walls with face-shaped holes; pull the face that fits. |
gateRun | head | Steer a ball through the gap with the right answer. |
noseFlyer | head | A flyer on your nose; fly through the gaps. |
headerBall | head | Bounce the ball off the block on your head into the goal. |
penalty | head and mouth | Aim with your head, shoot with your mouth. |
colorRunner | head | Pick up your colour and change colour through gates. |
blockClimb | mouth | Open your mouth to jump from pillar to pillar. |
slice | mouth | Chop the food as thin as you can. |
crossing | voice and head | Every syllable hops forward; tilt to hop aside. |
pitchPilot | voice pitch | Sing high to climb, low to dive. |
holeWall | body | Fit your body through the hole in the wall. |
skyHop | head | Bounce up the platforms, steering with your head. |
Each is at version 1.
randomizer
| Key | Default | Meaning |
|---|---|---|
title | required | The question at the top, up to 48 characters. |
placement | aboveHead | top, aboveHead (follows the head) or forehead (turns with it). |
look | text | text, card (with a small label over the answer), picture or flag (a picture waving on a pole). |
options | required | 2–500, each exactly one of text, picture or emoji, with an optional weight (0.01–100). |
spin | 2.8 | Seconds of shuffling before it lands, 1–6. |
decor | none | Up to 4 pictures that slide in from a side as the answer lands. |
thisOrThat
| Key | Default | Meaning |
|---|---|---|
title | required | Over the cards, up to 40 characters ("Which food?"). |
pairs | required | 2–60 pairs of left and right, each a label and a picture or emoji, with an optional question. |
perRound | 8 | Pairs a round shows, 2–20. |
shuffle | true | A new order each round. |
quiz
| Key | Default | Meaning |
|---|---|---|
title | required | On the title card. |
prompt | required | flag, outline, emoji, picture or text: what a question shows. |
questions | required | 4–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. |
outlines | for outline | A data file of country outlines. |
perRound | 10 | Questions a round asks, 3–20. |
seconds | 7 | Time for each, 3–15. |
The arcade, voice and body templates
Each takes an art object naming its pictures and models, plus a few numbers:
| Template | Content |
|---|---|
wordWall | words by language (10–500 each, en required), lives 1–5, art: road, wall, ball model |
faceWall | faces (2–8 of mouthOpen, smile, kiss, eyesClosed, winkLeft, winkRight, eyebrowsUp, neutral), lives, art: road, wall |
gateRun | the quiz's prompt, questions, outlines and perRound, art: road, wall, ball model |
noseFlyer | art: flyer (1–4 frames), obstacle; gap 0.18–0.4 |
headerBall | art: kicker frames, ball, ground, goal, block; shots 3–20 |
penalty | art: kicker and keeper models (with idle, run, kick), ball model, net, pitch; shots 3–10 |
colorRunner | art: runner model (run, idle), track; 3 colours; seconds 20–90 |
blockClimb | art: runner (run, jump, fall), block and goal models; levels 1–10 |
slice | art: board and knife models, 1–8 food models; rounds 1–8 |
crossing | art: player, vehicles, trees and scenery models |
pitchPilot | art: plane frames, rock pairs, ground, puff, star |
holeWall | art: wall |
skyHop | art: 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