melonJS
    Preparing search index...

    Variable CANVASConst

    CANVAS: 0

    Select the HTML5 Canvas renderer. Lower performance and no shader / mesh / Camera3d support, but supported on every browser including environments where WebGL is unavailable (some embedded webviews, stripped-down kiosk browsers, GPU blocklisted by driver policy).

    Use when the example / game uses only 2D sprites + primitives and you want the broadest possible reach. Anything depending on ShaderEffect, Mesh, Camera3d, GPU TMX tile rendering or Light2d will silently not work — those subsystems are WebGL-only.