Templates / Characters
Liveslime-crowd.egg · 59 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("slime-crowd.egg")).arrayBuffer());
mount(egg, document.querySelector("canvas"), bytes, { machine: "slimes" });

More templates

See all