Sindri AI knowledge pack
Files to give a chat model as its knowledge, so it can make a Sindri game without having seen Sindri. Upload them all and tell the model to read 00-start-here.md first.
Download all as a zip
- 00-start-here.md Read first: the workflow, project layout, rules and traps.
- 01-decay-language.md How Decay is written: syntax, types, fields, functions, events, state, enums, structs, lists, maps, what is surprising and what does not exist.
- 02-decay-api.md Every name a Decay script may use to reach the engine: `this`, globals such as `World`, `Input`, `Physics`, `Audio`, `Scene`, and every type and member, with exact signatures. Generated from the engine.
- 03-scripting-guide.md How Decay scripts drive a Sindri game: attaching a script to an entity, exported properties, other entities, spawning, physics, input, audio, UI, timers, events, state, lifecycle, and the agent checklist.
- 04-components.md Every component a `.scene` or `.prefab` entity may carry: its exact `sindri.*` name, its fields with default values, what each field means, and a real use from an example project.
- 05-projects-scenes-prefabs.md What a project is (`sindri.toml`), how a `.scene` file is shaped and versioned, how asset paths resolve, prefabs, profiles, and the component registry.
- 06-2d.md How 2D works in Sindri: the 2D model, depth and draw order, cameras, grids, tilemaps and terrains, sprite shaders and masks, 2D lights, particles, nine-slice, world text and transparency.
- 07-physics-and-movement.md 2D and 3D physics: bodies, colliders, sensors, layers and masks, joints, materials, collision events, and character controllers.
- 08-weave-ui.md Screen UI and HUDs: Weave stylesheets, responsive layout, and the full Weave language reference.
- 09-3d.md 3D lighting and shadows, imported GLB models, materials, and day/night.
- 10-export-and-web.md Exporting a project to a static web page and how the browser host runs it.
- 11-what-works.md The capability inventory: for each feature, whether the engine, editor and Decay support it, and its known limitations. Check here before building on a feature.
- 12-examples-2d.md Complete, working example projects, each showing one capability. Every file is shown whole, with its path.
- 13-examples-3d.md Complete, working 3D example projects: transforms, orbit camera, character movement, lighting, model collision, day/night.
- 14-example-wiring-flappy.md Flappy, the smallest complete game in the repository, shown whole. Use it to see how a scene, several scripts, shared state and a HUD fit together, not as a model of game design.