Templates / Characters
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("owl.egg")).arrayBuffer());
mount(egg, document.querySelector("canvas"), bytes, { machine: "owl" });More templates
See all
CharactersMilo follows youMilo turns his head to follow the pointer in 2.5D (near parts move more), blinks, waves when tapped and yawns when left alone.
CharactersSlime crowdGlossy slimes asleep until the pointer arrives: eyes open, blink and follow it; click one to squash and bounce.
CharactersChoose your heroPick a hero: it hops onto the stage in its own light, its name and story change and the stat bars slide to its numbers.
CharactersHatchAn egg in a nest at sunset: hover it, click to hatch it (Trim Path crack, elastic chick), click the chick to make it chirp, the sky for a new egg.