Skip to content

Commit f9a2c2a

Browse files
committed
PIXI.Graphics and PIXI.GraphicsData have been removed, and all functionality merged in to Phaser.Graphics, to cut down on the number of internal classes and inheritance going on.
WebGLGraphics and CanvasGraphics have been updated so that it checks for Phaser Geometry shape types internally.
1 parent e1370f3 commit f9a2c2a

8 files changed

Lines changed: 1325 additions & 1316 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
346346
* Color.RGBArrayToHex converts an RGB color array, in the format: [R, G, B], to a hex color value.
347347
* PIXI.AbstractFilter has been merged into the Phaser.Filter class. All references to PIXI.AbstractFilter have been updated to use Phaser.Filter instead.
348348
* PIXI.Rope and PIXI.Strip have been removed, and all functionality merged in to Phaser.Rope, to cut down on the number of internal classes and inheritance going on.
349+
* PIXI.Graphics and PIXI.GraphicsData have been removed, and all functionality merged in to Phaser.Graphics, to cut down on the number of internal classes and inheritance going on.
350+
* WebGLGraphics and CanvasGraphics have been updated so that it checks for Phaser Geometry shape types internally.
349351

350352
### Bug Fixes
351353

@@ -372,6 +374,7 @@ Please note that Phaser uses a custom build of Pixi and always has done. The fol
372374
* PIXI.EventTarget has been removed as it's no longer used internally.
373375
* PIXI.AbstractFilter has been removed as it's no longer used internally. All functionality is now available via Phaser.Filter.
374376
* PIXI.Strip and PIXI.Rope have been removed. All functionality is now available via Phaser.Rope.
377+
* PIXI.Graphics and PIXI.GraphicsData have been removed. All functionality is now available via Phaser.Graphics. The respective renderers have been updated.
375378

376379
For changes in previous releases please see the extensive [Version History](https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md).
377380

build/config.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@
7575
<script src="$path/src/pixi/renderers/canvas/CanvasRenderer.js"></script>
7676
<script src="$path/src/pixi/renderers/canvas/CanvasGraphics.js"></script>
7777
78-
<script src="$path/src/pixi/primitives/Graphics.js"></script>
79-
<script src="$path/src/pixi/primitives/GraphicsData.js"></script>
80-
8178
EOL;
8279

8380
// PIXI Outro + Phaser Global
@@ -232,6 +229,7 @@
232229
if ($modules['graphics'])
233230
{
234231
echo <<<EOL
232+
<script src="$path/src/gameobjects/GraphicsData.js"></script>
235233
<script src="$path/src/gameobjects/Graphics.js"></script>
236234
237235

0 commit comments

Comments
 (0)