fable-import-phaser
F# Fable port of Phaser.js
Installation
npm install --save fable-core phaser@^2.6.2npm install --save-dev fable-import-phaser
Note: If you're loading Phaser on the browser with require.js, use the prebuilt file:
node_modules/phaser/build/phaser.js
Usage
F# project (.fsproj)
F# script (.fsx)
#r "node_modules/fable-core/Fable.Core.dll"#load "node_modules/fable-import-phaser/Fable.Import.Phaser.fs" open Fable.Coreopen Fable.Import