Skip to content

Reference ​

gamekit 0.1.0-rc1. The family pages below list every public class, interface, enum and function with its signature and documentation, generated from the gamekit source.

Import paths ​

Import fromGives you
"gamekit"The package root: core, ecs, app, save and audio, plus DebugTools, DebugScenario and DebugTrace from testing.
"gamekit/src/willow"Presentation bindings and the willow input bridge.
"gamekit/src/ui"SceneWindowLayer.
"gamekit/src/testing"Clocks, schedulers and the debug tools.
"gamekit/src/save"Everything in save, including FsByteStorage, which the root leaves out.

Families ​

FamilyContents
coreEntities, keys, events and pipelines, attributes and state machines, effects, definitions and prefabs, conditions, actions and interactions, assets, spatial types, Gauge, WeightedPick, errors.
ecsWorld, stores, Query, Query2, PhaseSchedule, WorldTicker, createConventionalSchedule.
appAppScene, SceneStack, SceneCoordinator, ScreenLayers, focus, and input actions, routing and replay.
saveCodecs, schemas, migrations, storage, slots, settings.
audioMusicDirector, IMusicBackend.
willowWillowPresentationAdapter, bindings and tickets, WillowInputBridge and its samples and viewport.
uiSceneWindowLayer.
testingSimulationClock, PresentationClock, ClockScheduler, DebugTools, DebugScenario, DebugTrace.

Errors ​

All gamekit errors extend GameKitError:

ErrorThrown when
StaleHandleAn asset handle is used after its scope was disposed.
DuplicateRegistrationSomething is registered twice under one id.
MissingRegistrationA lookup names something that was never registered.
CyclicDefinitionDefinition inheritance loops.
InvalidDefinitionA definition validator failed.
CyclicDependencyAn asset plan's dependencies loop.
InvalidArgumentAn argument is out of range, such as a gauge with zero capacity.

Requirements ​

gamekit needs a thicket compiler built from thicketscript main commit 9dde0bd0 or later (it uses export *, folder index imports and static const class members). Its manifest declares compiler: ">=0.1.13-9dde0bd0". Projects list the willow and bitmap systems; the save family's FsByteStorage also needs fs.