melonjs
    Preparing search index...

    Class Application

    An Application represents a single melonJS game, and is responsible for updating (each frame) all the related object status and draw them.

    game

    Index

    Constructors

    • Parameters

      • width: number

        The width of the canvas viewport

      • height: number

        The height of the canvas viewport

      • Optionaloptions: any

        The optional parameters for the application and default renderer

      Returns Application

      Will throw an exception if it fails to instantiate a renderer

    References

    accumulator: any
    accumulatorMax: any
    accumulatorUpdateDelta: any
    draw: any
    frameCounter: any
    frameRate: any
    getParentElement: any
    init: any
    isAlwaysDirty: any
    isDirty: any
    isInitialized: any
    lastUpdate: any
    lastUpdateStart: any
    mergeGroup: any
    onLevelLoaded: any
    parentElement: any
    pauseOnBlur: any
    renderer: any
    repaint: any
    reset: any
    resumeOnFocus: any
    settings: any
    sortOn: any
    stepSize: any
    stopOnBlur: any
    update: any
    updateAverageDelta: any
    updateDelta: any
    updateFrameRate: any
    viewport: any
    world: any