dino-ge
    Preparing search index...

    Interface EngineOpts

    Options for initialising the Engine.

    interface EngineOpts {
        backgroundColour: string;
        containerId?: string;
        height: string;
        title: string;
        width: string;
    }
    Index

    Properties

    backgroundColour: string

    Background colour of the canvas.

    containerId?: string

    The ID of the HTML element to inject the canvas into.

    height: string

    Height of the game window (e.g., '600px' or '100%').

    title: string

    Title of the game, set in the document head.

    width: string

    Width of the game window (e.g., '800px' or '100%').