gamekit
gamekit gives a game its structure: entities and components, a world that runs your systems in phases, scenes, input actions, assets, saves and test helpers. It is a package written entirely in ThicketScript, with no native code. It needs willow, and pairs with willowui for window games.
The gamekit portal
gamekit has its own documentation: a getting-started walkthrough, one guide per concept, recipes and a full reference.
Add it to a project
json5
{
entry: "app.tks",
systems: ["willow", "bitmap"],
packages: { gamekit: "../gamekit-tks" },
}You list the willow and bitmap systems yourself, because a package's systems are never inherited. A console project works too: willow runs without a window.
The families
| Family | What it holds |
|---|---|
core | Entities, component keys, events, attributes, state machines, effects, conditions and actions, definitions and prefabs, assets, 2D helpers. |
ecs | A world, component stores, queries, phase schedules and a world ticker. |
app | Scenes, the scene stack and coordinator, focus, and input actions. |
save | Codecs, versioned schemas, save slots and settings. |
audio | A music director over the core audio system. |
willow | Presentation bindings and a pointer bridge on willow. |
ui | Scene windows and screen windows through willowui. |
testing | Deterministic clocks, debug snapshots, scenarios and traces. |
Start with Getting started.