clik-engine API
    Preparing search index...

    Interface PlaytestConfig

    Configuration for PlaytestReporter plugin.

    interface PlaytestConfig {
        autoStart?: boolean;
        entitySampleRate?: number;
        fpsDropThreshold?: number;
        idleThreshold?: number;
        performanceSampleRate?: number;
        trackEvents?: string[];
    }
    Index

    Properties

    autoStart?: boolean

    Start recording automatically on init. Default: true.

    entitySampleRate?: number

    How often to sample entity counts (in frames). Default: 60.

    fpsDropThreshold?: number

    FPS below this value is considered a drop. Default: 30.

    idleThreshold?: number

    Seconds of no input before an idle period is recorded. Default: 5.

    performanceSampleRate?: number

    How often to sample performance metrics (in frames). Default: 60.

    trackEvents?: string[]

    EventBus event names to track (e.g. 'player:death', 'score:changed'). Default: common game events.