Interface GameConfig

interface GameConfig {
    backgroundColor?: string;
    debug?: boolean;
    entities?: Record<string, Constructable<Entity>>;
    fixedSize?: number[];
    global?: boolean;
    pixelPerfect?: boolean;
    postProcessShader?: CustomShader;
    primaryColor?: string;
    scenes: Record<string, Constructable<Scene>>;
    useWebGL?: boolean;
}

Properties

backgroundColor?: string
debug?: boolean
entities?: Record<string, Constructable<Entity>>
fixedSize?: number[]
global?: boolean
pixelPerfect?: boolean
postProcessShader?: CustomShader
primaryColor?: string
scenes: Record<string, Constructable<Scene>>
useWebGL?: boolean