2D game engine · PixiJS
The 2D game engine where the agent makes the game
Scenes are text an agent can read and write. The editor is driven by the agent through the same commands you use. A room keeps a human and an agent on one scene at once.
npm i @trempel/kit @trempel/scene pixi.jsScenes as text
A scene is plain SVG for the picture plus an heir with the logic and a contract of ids. An agent diffs it, a designer opens it, the runtime mounts it without a build step.
An editor the agent drives
Move, rotate, resize, animate — every edit is a command with undo. The agent calls the same commands through one eval tool,
so what it does is what you would do by hand.
A room for two
A room server keeps one scene document and a log of commands: a human and an agent edit together, late joiners catch up, presence shows who is where.
Demos
Trempel is a set of packages on top of PixiJS: @trempel/scene (the scene format and runtime), @trempel/kit (screens, popups,
sound, saves, ads, input, effects), @trempel/slot (reels and a slot shell) and @trempel/hub (one panel and CLI for all your
projects and their actions). Everything is open source, MIT.