Skip to content

Fabi explains your game (intro)

Before calibration, Fabi (the mascot) can explain your game on the TV in a few steps: a speech bubble over an image of the game, or a move shown with the children’s own avatars, which they can also try. You write only data, in fabi-play.json:

"intro": { "steps": [
{ "say": { "it": "Si corre nel bosco! Ognuno ha la sua pista e raccoglie le stelle.", "en": "Let's run in the woods! Everyone has a track and collects stars." }, "image": "intro/track.png" },
{ "say": { "it": "Tronco? Salta! Provate adesso.", "en": "A log? Jump! Try it now." }, "move": "jump", "practice": true },
{ "say": { "it": "Ramo basso? Giù!", "en": "Low branch? Down!" }, "move": "squat" }
] }
  • 1 to 4 steps. Fabi Play adds its own last step («Pronti?», Ready?): each child raises their arms, and when everyone has, calibration starts.
  • say: one sentence, in Italian and English, up to 90 characters each. Or one per age range, when the little ones need simpler words: { "3-5": { "it": "…", "en": "…" }, "9-12": { "it": "…", "en": "…" } } (at least one range; a child of a range you left out gets the closest one you wrote, the younger if two are as close). With children of several ranges playing, the youngest’s sentence is used.
  • Each step has an image or a move, not both.
    • image: a picture of the game, 16:9, at least 1280×720, .png or .jpg (some TV browsers can’t show WebP), relative to the game’s address like entry (no .., no leading /, no https://): it is loaded from your game’s own site only. If it can’t be loaded, the TV shows the step with Fabi’s bubble alone.
    • move: one of jump, squat, clap, lane-left, lane-right, arms-up, arms-wide, arms-v, star, the names of the gestures your game gets. The TV shows the move’s name big, Fabi doing it, and each child’s avatar where they stand.
    • practice (optional, only with a move): true and the children try it, each gets a tick when the TV sees the move (read as your game would get it), and the step moves on when all did («Bravi!»), or after 8 seconds. Default false: Fabi only shows it.
  • The voice is Fabi Play’s. Fabi speaks each sentence with a clip Fabi Play generates from the text when the game is published. Changing a text needs a new clip: until it is made, the TV shows that sentence in the bubble only. Write sentences to be heard: short, one idea each.
  • No intro: the game goes straight to calibration, as before.
  • Serve fabi-play.json with Access-Control-Allow-Origin: * (or at least https://play.fabiplay.app): the TV reads it from its own page when the game is chosen. Without that header (or if it takes more than 2 seconds) the TV can’t read the intro and goes straight to calibration.
  • An invalid intro is reported by the check (the Studio, parseManifest, the JSON Schema, the simulator) and skipped by the TV: it never blocks the game.
  • By itself, the first time each child plays your game on that TV. A new child joining plays it again for everyone. Children are told apart by their first name (two children with the same name count as one, and children without a name by their place).
  • On request: «Rivedi la spiegazione» (Watch the explanation) in the pause menu, on the TV and on the phone, shows it again over the paused game, without the final «Pronti?», and goes back to the pause.
  • A step without a voice clip stays long enough to be read aloud (about 1.5 seconds plus 60 ms a character, at least 3 seconds); with a clip, until it ends and a moment more.
  • The grown-up can go straight to the game at any time («Inizia ›» on the TV, by remote, hand or touch; «Vai al gioco» on the phone), repeat a step or go to the next one from the phone.

Your game is not loaded during the intro: it gets start after calibration, as without one.

The simulator plays your intro before loading the game, every time, so you can check the texts, the images and the practice steps with the puppets. It is silent: the clips are made at publication.