Skip to content
This repository has been archived by the owner on Mar 24, 2019. It is now read-only.

Commit

Permalink
Merging PIXI + Phaser def
Browse files Browse the repository at this point in the history
First pass on reviewing the 1.2 update. Stuff added and removed as normal. 

NEW PIXI definitions added. They are full definitions but they may be flawed in structure. None the less it might be worth copying the PIXI module/class and sending it over to the lads there in its current form. Most of the leg work has been done. Its just stuff like PIXI.blendMode.NORMAL. Or the PolyK classes are blank. I just did not know how to handle the PIXI.PolyK.Triangulate namespace in TypeScript.

As a result of that, Phaser.Sprite for example now extends PIXI and Phaser.Point extends PIXI.Point for example.

Keep in mind that my test projects are limited though. There may be many typos, or issues. For example scale is inherited as a PIXI.Point and as a result caused errors in my project with setTo(). In this case Phaser.Sprite needed its own scale property of type Phaser.Point.  I imagine stuff like this is common.
  • Loading branch information
clark-stevenson committed Feb 21, 2014
1 parent ad0e53a commit 45bdc5e
Showing 1 changed file with 816 additions and 236 deletions.

0 comments on commit 45bdc5e

Please sign in to comment.