Module

Graphics.Phaser

Package
purescript-phaser
Repository
lfarroco/purescript-phaser

#create Source

create :: { height :: Int, width :: Int } -> Effect PhaserGame

A Phaser game config object can be written in multiple different ways and there are over 30 optional properties that can be provided.

#addScene Source

addScene :: forall a. SceneConfig a -> Boolean -> PhaserGame -> Effect PhaserGame

Raw Phaser FFI ==== Parameters ==== Sceneconfig a - Scene configuration, bound to a initial state type Boolean - If the scene should start in parallel right now