Jump to content

Input box


Recommended Posts

It doesn't event start in Phaser 2.6.2 with Typescript :-(

I've put phaser-input.js and phaser-input.d.ts in mypath/paser-input, then I call Phaser and phaser-input in my index.html

    <script src="mypath/phaser/phaser.js"></script>
    <script src="mypath/phaser-input/phaser-input.js"></script>

When I activate the plugin:


Visual Studio returns:

 (TS) Argument type 'typeof Plugin' cannot be assigned to a parameter type 'Plugin'.
  In type 'typeof Plugin' there is no 'active' property.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...