Module

Graphics.Phaser.GameConfig

Package
purescript-phaser
Repository
lfarroco/purescript-phaser

#GameConfig Source

#GameConfigIndex Source

type GameConfigIndex = { antialias :: Boolean -> Options GameConfig, antialiasGL :: Boolean -> Options GameConfig, audio :: Boolean -> Options GameConfig, autofocus :: Boolean -> Options GameConfig, backgroundColor :: Int -> Options GameConfig, banner :: { background :: Array String, hidePhaser :: Boolean, text :: String } -> Options GameConfig, batchSize :: Number -> Options GameConfig, callbacks :: { postBoot :: BootCallback, preBoot :: BootCallback } -> Options GameConfig, canvas :: CanvasElement -> Options GameConfig, canvasStyle :: String -> Options GameConfig, clearBeforeRender :: Boolean -> Options GameConfig, context :: Context2D -> Options GameConfig, customEnvironment :: Boolean -> Options GameConfig, default :: Options GameConfig, desynchronized :: Boolean -> Options GameConfig, disableContextMenu :: Boolean -> Options GameConfig, dom :: { behindCanvas :: Boolean, createContainer :: Boolean, pointerEvents :: String } -> Options GameConfig, failIfMajorPerformanceCaveat :: Boolean -> Options GameConfig, fps :: { deltaHistory :: Int, forceSetTimeOut :: Boolean, min :: Int, panicMax :: Int, smoothStep :: Boolean, target :: Int } -> Options GameConfig, height :: Number -> Options GameConfig, images :: { default :: String, missing :: String, white :: String } -> Options GameConfig, input :: { activePointers :: Int, gamepad :: Boolean, keyboard :: Boolean, mouse :: Boolean, smoothFactor :: Number, touch :: Boolean, windowEvents :: Boolean } -> Options GameConfig, loader :: { async :: Boolean, baseURL :: String, crossOrigin :: String, maxParallelDownloads :: Int, password :: String, path :: String, responseType :: String, timeout :: Int, user :: String } -> Options GameConfig, maxLights :: Number -> Options GameConfig, maxTextures :: Number -> Options GameConfig, mipmapFilter :: String -> Options GameConfig, parent :: String -> Options GameConfig, physics :: Options PhysicsConfig -> Options GameConfig, pipeline :: { name :: String, pipeline :: WebGLPipeline } -> Options GameConfig, pixelArt :: Boolean -> Options GameConfig, plugins :: { default :: Array String, defaultMerge :: Array String, global :: Array PluginObjectItem, scene :: Array PluginObjectItem } -> Options GameConfig, powerPreference :: String -> Options GameConfig, premultipliedAlpha :: Boolean -> Options GameConfig, preserveDrawingBuffer :: Boolean -> Options GameConfig, render :: { antialias :: Boolean, antialiasGL :: Boolean, batchSize :: Int, clearBeforeRender :: Boolean, desynchronized :: Boolean, failIfMajorPerformanceCaveat :: Boolean, maxLights :: Int, maxTextures :: Int, mipmapFilter :: String, pixelArt :: Boolean, powerPreference :: String, premultipliedAlpha :: Boolean, preserveDrawingBuffer :: Boolean, roundPixels :: Boolean, transparent :: Boolean } -> Options GameConfig, roundPixels :: Boolean -> Options GameConfig, scale :: { autoCenter :: Int, autoRound :: Boolean, expandParent :: Boolean, height :: Int, max :: Int, min :: Int, mode :: Int, parent :: HTMLElement, resizeInterval :: Int, width :: Int, zoom :: Number } -> Options GameConfig, scene :: Array PhaserScene -> Options GameConfig, seed :: Array String -> Options GameConfig, title :: String -> Options GameConfig, transparent :: Boolean -> Options GameConfig, type_ :: Int -> Options GameConfig, url :: String -> Options GameConfig, version :: String -> Options GameConfig, width :: Number -> Options GameConfig, zoom :: Number -> Options GameConfig }

#PhysicsConfig Source

#PhysicsConfigIndex Source

type PhysicsConfigIndex = { arcade :: { debug :: Boolean, gravity :: { x :: Number, y :: Number } } -> Options PhysicsConfig, default :: String -> Options PhysicsConfig }