Skip to content

Commit 0258245

Browse files
committed
Phaser.Text no longer extends PIXI.Text but replaces it entirely. Phaser.Text now natively extends a Phaser Sprite, meaning it can be enabled for physics, damaged, etc.
1 parent 102c74e commit 0258245

4 files changed

Lines changed: 311 additions & 363 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ Version 2.4 - "Katar" - in dev
256256
* Input.deleteMoveCallback no longer takes an integer as its parameter. Now you have to give it the original callback and context in order to remove it. This is to protect against index invalidation (see the fixed Bugs list)
257257
* Group.add and Group.addAt will only create a Physics Body on the child if it doesn't already have one. This is a change from 2.3 where it would replace the physics body property with the new body, but this could lead to garbage build-up over time, so you should now properly destroy the body before changing it.
258258
* Button game objects now have `Input.useHandCursor` set to `true` by default.
259+
* Phaser.BitmapText no longer extends PIXI.BitmapText but replaces it entirely.
260+
* Phaser.Text no longer extends PIXI.Text but replaces it entirely. Phaser.Text now natively extends a Phaser Sprite, meaning it can be enabled for physics, damaged, etc.
259261

260262
### New Features
261263

build/config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
<script src="$path/src/pixi/display/DisplayObjectContainer.js"></script>
4949
<script src="$path/src/pixi/display/Sprite.js"></script>
5050
<script src="$path/src/pixi/display/SpriteBatch.js"></script>
51-
<script src="$path/src/pixi/text/Text.js"></script>
5251
<script src="$path/src/pixi/display/Stage.js"></script>
5352
5453
<script src="$path/src/pixi/utils/Utils.js"></script>

0 commit comments

Comments
 (0)