User contributed TypeScript defs for the Phaser Box2D Plugin.

Article by Richard Davey. Posted on 4th Mar 2016.   @phaser_

image

Tomáš Rychnovský writes: "If you are coding Phaser games in Typescript and purchased Phaser Box2D plugin, you are probably missing Typescript defs for it.

I purchased the plugin during Christmas and now I am making Phaser / HTML5 port of our game Shards - the Brick Breaker (Google Play, iTunes). So, I decided to write the defs by myself.

Thanks to previous Box2D experience, I understand Box2D terminology and how it works. On the other side, I did not write such a big Typescript defs before.

Finally, I finished it and you can get first version of it on new GitHub repository here."

Read More