phaser/typescript
2016-06-16 02:50:24 +01:00
..
p2.d.ts split p2 definitions into its own file 2015-03-18 11:44:11 -07:00
phaser.comments.d.ts Phaser 2.4.9 RC3. 2016-06-09 17:13:31 +01:00
phaser.d.ts Group.align is a new method that allows you to layout all the children of the Group in a grid formation. You can specify the dimensions of the grid, including the width, height and cell size. You can also control where children are positioned within each grid cell. The grid width and height values can also be set to -1, making them fluid, so the grid expands until all children are aligned. Finally an optional child index argument can be set. This is a great way to quickly and comprehensively align Group children, and has lots of use cases. 2016-06-16 02:50:24 +01:00
pixi.comments.d.ts Phaser 2.4.9 RC3. 2016-06-09 17:13:31 +01:00
pixi.d.ts TypeScript defs update. 2016-06-09 16:29:09 +01:00
readme.md Updated TypeScript Readme 2015-08-01 12:06:25 +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.

Note

Creature and Box2D are not yet defined.