2 ms·
I built this after making a few Codex-style pets and wanting an easy way to embed them in web apps. The core renderer is dependency-free TypeScript. There are
by froemic 6mo ago
I built this after making a few Codex-style pets and wanting an easy way to embed them in web apps.
The core renderer is dependency-free TypeScript. There are wrappers for React, Vue, Svelte, Solid, and Angular. Pets are spritesheet-based, draggable, controllable from app code, and can run occasional idle actions.
-> Demo: https://froemic.github.io/codex-pets-web/ https://froemic.github.io/codex-pets-web/
-> GitHub: https://github.com/FroeMic/codex-pets-web https://github.com/FroeMic/codex-pets-web
I’d be interested in feedback on the API design, especially the provider/controller model for controlling multiple pets in one app.