Skip to content

gamekit ​

Three scene cards linked by a path, an entity crate with component gears, and a glowing save crystal
Illustration

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.

Open the gamekit docs

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 ​

FamilyWhat it holds
coreEntities, component keys, events, attributes, state machines, effects, conditions and actions, definitions and prefabs, assets, 2D helpers.
ecsA world, component stores, queries, phase schedules and a world ticker.
appScenes, the scene stack and coordinator, focus, and input actions.
saveCodecs, versioned schemas, save slots and settings.
audioA music director over the core audio system.
willowPresentation bindings and a pointer bridge on willow.
uiScene windows and screen windows through willowui.
testingDeterministic clocks, debug snapshots, scenarios and traces.

Start with Getting started.