Making and shipping

Packaging

10 symbols, imported from @driftengine/package.

Explained in Packaging an application.

Classes

FileStore
The engine's persistence seam, backed by a file the shell owns.
NativeDisplay
The video half of a settings screen, on a platform that can actually answer it.
NativeFileDialogs
NativeLifecycle
NativePlatformServices
A store's achievements and presence, over the bridge.

Interfaces

DriftHostBridge
The single surface the renderer can see, and the only one it ever gets.
Host
Every capability the engine takes, chosen for wherever this build is running.

Functions

createHost
hostBridge
The engine's capability interfaces, implemented over the shell's one bridge.

Constants

BRIDGE_KEY
Where the bridge lands on globalThis. One name, so a game can feature-detect the shell.