Templates / Characters
Livewalker.egg · 41 KB

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("walker.egg")).arrayBuffer());
mount(egg, document.querySelector("canvas"), bytes, { machine: "gait" });

More templates

See all