Jump to content

Phaser 2.0, Typescript and physics


Recommended Posts

Hi all,


I'm having a few issues with Phaser 2.0, typescript and physics and hope that someone can point me in the right direction.  Not sure if my error is because the phaser.d.ts might be incomplete or I'm just missing something.


I'm simply trying to init Arcade physics by calling...


This compile error I receive is... 

 The property 'startSystem' does not exist on value of type 'Phaser.Physics.Arcade.World'.

If I try and use..

 new Phaser.Physics.Arcade(this.game);

... I don't get the compile error.  Pretty much any other calls to a sprite's body or other physics functions cause an error too. :(


Thanks for the help. 








Link to comment
Share on other sites


  • Recently Browsing   0 members

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