phaser/typescript
2015-07-07 16:53:56 +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 Pointer button handling has been given an overhaul. It has the following new boolean properties: leftButton, rightButton, middleButton, backButton, forwardButton and eraserButton. So you can now easily check which buttons are active and build right or middle click support into your games. The Pointer object normalises these properties for you, regardless if they came from a MouseEvent or PointerEvent (thanks @youssefdetovernickr for the idea #1848) 2015-07-07 16:53:56 +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.