Skip to content

createHeadlessApp

createHeadlessApp(module, options?): App

Defined in: webAppFactory.ts:60

An App with the full simulation stack and no presentation: no renderer, no render pipeline, no input device, no UI. This is the authoritative-server shape (same wasm module, same gameplay code, same fixed-tick loop) — also useful for workers and tests. Drive it with runHeadless or app.tick(dt).

Pre-1.0: the headless asset story (gameplay data without textures) is still settling and may change this factory’s options.

ESEngineModule

HeadlessAppOptions

App