phaser/typescript
2015-07-09 00:19:07 +01:00
..
p2.d.ts split p2 definitions into its own file 2015-03-18 11:44:11 -07:00
phaser.comments.d.ts fix(typescript): fix Matrix.fromArray definition 2015-04-13 23:11:43 +03:00
phaser.d.ts BitmapData.generateTexture will take a snapshot of the BitmapDatas canvas at that moment in time and convert it into an Image, which is then stored in the Phaser image Cache based on the key given. You can then use the new texture for any future sprites or texture based objects. 2015-07-09 00:19:07 +01:00
pixi.comments.d.ts TypeScript defs with comments update. 2015-03-26 02:59:11 +00:00
pixi.d.ts Updated TypeScript Definitions 2015-06-23 21:50:27 +01:00
readme.md 2.4.0 Definition Updates. 2015-05-09 02:58:55 +01:00

TypeScript Definitions

Reference the phaser.d.ts in your project.

Please use TypeScript 1.4+

  • phaser.d.ts contains a reference to pixi.d.ts and p2.d.ts and so both these files must remain siblings in the same directory.
  • pixi.d.ts has deviated from the official project. If you are a pixi user, pick up the ball over at the official pixi typescript repo.

Contributing

If you find any mistakes in these definitions or you feel they can be improved in any way, please make a pull request against the dev branch.