Closed andyli closed 9 years ago
I fixed Graphics in my pixi.js extern https://github.com/adireddy/haxe-pixi/blob/master/src/pixi/primitives/Graphics.hx
Will raise a pull request for the same in Phaser soon.
Raised pull request with the updates. https://github.com/Blank101/haxe-phaser/pull/35
This has been solved. Thanks @adireddy!
A number of
phaser.pixi.primitives.Graphics
methods (e.g. lineStyle) are set to its prototype object. Those are missing from the extern.Also
phaser.gameobjects.Graphics
should extendsphaser.pixi.primitives.Graphics
, which is shown at the line https://github.com/Blank101/haxe-phaser/blob/master/lib/phaser/gameobjects/Graphics.js#L82