Module
Graphics.Phaser.ArcadePhysics
- Package
- purescript-phaser
- Repository
- lfarroco/purescript-phaser
#createChild Source
createChild :: forall g. ArcadeGroup g => Vector -> String -> g -> Effect ArcadeSprite
#addChild Source
addChild :: forall a g. GameObject a => ArcadeGroup g => a -> g -> Effect g
#createArcadeImage Source
createArcadeImage :: Vector -> String -> PhaserPhysicsPlugin -> Effect ArcadeImage
#createArcadeSprite Source
createArcadeSprite :: Vector -> String -> PhaserPhysicsPlugin -> Effect ArcadeSprite
#setWorldBounds Source
setWorldBounds :: Vector -> Dimensions -> PhaserScene -> Effect PhaserScene
#refreshBody Source
refreshBody :: forall a. PhysicsEnabled a => a -> Effect a
#setImmovable Source
setImmovable :: forall a. PhysicsEnabled a => Boolean -> a -> Effect a
#allowGravity Source
allowGravity :: forall a. PhysicsEnabled a => a -> Effect Boolean
#setAllowGravity Source
setAllowGravity :: forall a. PhysicsEnabled a => Boolean -> a -> Effect a
#acceleration Source
acceleration :: forall a. PhysicsEnabled a => a -> Effect Vector
#setVelocityX Source
setVelocityX :: forall a. PhysicsEnabled a => Number -> a -> Effect a
#setVelocityY Source
setVelocityY :: forall a. PhysicsEnabled a => Number -> a -> Effect a
#setVelocity Source
setVelocity :: forall a. PhysicsEnabled a => Vector -> a -> Effect a
#setCollideWorldBounds Source
setCollideWorldBounds :: forall a. PhysicsEnabled a => Boolean -> a -> Effect a
#addCollider Source
addCollider :: forall a b. Collidable a => Collidable b => a -> b -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#addColliderWithCallback Source
addColliderWithCallback :: forall a b. Collidable a => Collidable b => Array a -> Array b -> (a -> b -> Effect Unit) -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#getTouching Source
getTouching :: forall a. PhysicsEnabled a => a -> Effect ArcadeBodyCollision
#addOverlap Source
addOverlap :: forall a b c d. Collidable a => Collidable b => Collidable c => Collidable d => a -> b -> (c -> d -> Effect Unit) -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#disableBody Source
disableBody :: forall a. PhysicsEnabled a => a -> Effect a
#accelerateTo Source
accelerateTo :: forall a. GameObject a => a -> Vector -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#accelerateToObject Source
accelerateToObject :: forall a b. GameObject a => GameObject b => a -> b -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#closest Source
closest :: forall a. GameObject a => a -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#furthest Source
furthest :: forall a. GameObject a => a -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#collide Source
collide :: forall a b. GameObject a => GameObject b => Array a -> Array b -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#collideWithCallback Source
collideWithCallback :: forall a b. GameObject a => GameObject b => Array a -> Array b -> (a -> b -> Effect Unit) -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#moveTo Source
moveTo :: forall a. GameObject a => a -> Vector -> Number -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#moveToObject Source
moveToObject :: forall a b. GameObject a => GameObject b => a -> b -> Number -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#overlap Source
overlap :: forall a b. GameObject a => GameObject b => Array a -> Array b -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
#overlapWithCallback Source
overlapWithCallback :: forall a b. GameObject a => GameObject b => Array a -> Array b -> (a -> b -> Effect Unit) -> PhaserPhysicsPlugin -> Effect PhaserPhysicsPlugin
- Modules
- Graphics.
Phaser - Graphics.
Phaser. ArcadePhysics - Graphics.
Phaser. Camera - Graphics.
Phaser. Container - Graphics.
Phaser. CoreTypes - Graphics.
Phaser. Curves - Graphics.
Phaser. Display. RGB - Graphics.
Phaser. Events - Graphics.
Phaser. ForeignTypes - Graphics.
Phaser. GameConfig - Graphics.
Phaser. GameObject - Graphics.
Phaser. GameObjects. LightsManager - Graphics.
Phaser. Graphics - Graphics.
Phaser. Image - Graphics.
Phaser. Input. InputPlugin - Graphics.
Phaser. Input. Pointer - Graphics.
Phaser. Loader - Graphics.
Phaser. Scene - Graphics.
Phaser. SceneManager - Graphics.
Phaser. Sprite - Graphics.
Phaser. Text - Graphics.
Phaser. TileMap - Graphics.
Phaser. Time - Graphics.
Phaser. Tween - Graphics.
Tweens. TweenManager - Internal.
Utils - Phaser.
Graphics. Input. KeyCodes - Utils.
FFI