hexonaut / haxe-phaser

Haxe externs for Phaser.
MIT License
51 stars 9 forks source link

Phaser.hx doesn't contain any constant. #6

Closed plicatibu closed 10 years ago

plicatibu commented 10 years ago

The Phaser.js contains many constants developers can use (for instance, AUTO, CANVAS and WEBGL) but the Phaser.hx file doesn't.

I added them manually (for instance,

    public static inline var AUTO:Int = 0;
    public static inline var CANVAS:Int = 1;
    public static inline var HEADLESS:Int = 3;

) and they worked like a charm.

Can you please make the script automatically add them?

hexonaut commented 10 years ago

This was just fixed this morning.

plicatibu commented 10 years ago

I see that in the repository the Phasers.hx contains the constants. But in the file inside the phaser lib it doesn't (I updated it using the haxelib upgrade command right and phaser was updated to version 0.2.1).

Regards.

Regards,

http://plicatibu.com/mkplay0

Marcio Andrey Oliveira Blog: * http://blog.plicatibu.com Site: http://plicatibu.comhttp://plicatibu.com/?utm_source=email&utm_medium=email&utm_content=Plicatibu%2BSignature&utm_campaign=Email Twitter: *@plicatibu http://twitter.com/#%21/plicatibu

_Play free on-line games http://plicatibu.com/?utm_source=plicatibu&utm_medium=email&utm_content=plicatibu&utm_campaign=Signature_

Get free games for

2014-04-11 16:16 GMT-03:00 Sam notifications@github.com:

This was just fixed this morning.

Reply to this email directly or view it on GitHubhttps://github.com/Blank101/haxe-phaser/issues/6#issuecomment-40243207 .

hexonaut commented 10 years ago

Updated on haxelib. In the future if you want to get bleeding edge features you should consider installing from github.

plicatibu commented 10 years ago

I thought it was in sync.

hexonaut commented 10 years ago

Not exactly. Github is for development and you really only release on haxelib when you think things are stable enough.