Templates / Scenes and effects
Use it in your site
Put the web player next to the file and mount it on a canvas. Apps and games have runtimes too: see Runtimes.
main.jsweb runtime
import init, * as egg from "./player/egg_web.js";
import { mount } from "./player/egg-player.js";
await init();
const bytes = new Uint8Array(await (await fetch("valley-map.egg")).arrayBuffer());
mount(egg, document.querySelector("canvas"), bytes, { machine: "map" });More templates
See all
Scenes and effectsListen and pick (kids)Pip says a word and the child taps its picture: a lesson as JSON, ask/answer reports, confetti, any Ovling as host.
Scenes and effectsQuiz (kids)A question and four answers the lesson fills in; each answer reports right or wrong.
Scenes and effectsSpell a word (kids)Yumi shows a picture; the child taps its letters in order from a few tiles.
Scenes and effectsMatch pairs (kids)Tap a picture, then its word: right pairs stay lit, all three bring confetti.