Skip to main content

Interface: ProjectConfig

Defined in: project/config.ts:6

Top-level project definition passed to the runtime and player.

Properties

fps

fps: number

Defined in: project/config.ts:14

Target frame rate. Defaults to 60 fps.


name

name: string

Defined in: project/config.ts:8

Human-readable project name shown in the player UI.


scenes

scenes: Scene[]

Defined in: project/config.ts:10

Ordered list of scenes that make up the project.


theme?

optional theme?: Record<string, Color>

Defined in: project/config.ts:16

Named color tokens available to all scenes via the theme system.


viewport

viewport: Size2D

Defined in: project/config.ts:12

Output canvas dimensions in pixels. Defaults to 1920×1080.