Jump to content

Phaser 2.4.5 + 2.4.6 Released


rich
 Share

Recommended Posts

  • 3 weeks later...
15 hours ago, rich said:

Yeah, the class itself is there, but there's a missing reference in Game (https://github.com/photonstorm/phaser/blob/master/typescript/phaser.d.ts#L1324). It's working, but TypeScript is whining because there's no such property.

If I manually add

create: Phaser.Create;

inside Game, it's all well.

Is there something changed? Is there a reason not to access Phaser.Create via this.game.create?

Link to comment
Share on other sites

  • rich unpinned this topic
  • 2 weeks later...
On 3/7/2016 at 1:48 PM, in mono said:

Yeah, the class itself is there, but there's a missing reference in Game (https://github.com/photonstorm/phaser/blob/master/typescript/phaser.d.ts#L1324). It's working, but TypeScript is whining because there's no such property.

If I manually add


create: Phaser.Create;

inside Game, it's all well.

Is there something changed? Is there a reason not to access Phaser.Create via this.game.create?

 

The missing type descriptor for Game.create is still an issue in phaser.d.ts version 2.4.7, easy fix but takes a long time before finding the way to this page and mono's very nice solution (Thank you mono).

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...