Skip to content

Commit 97905e0

Browse files
committed
Docs update.
1 parent a52bbf6 commit 97905e0

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,22 +337,25 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
337337
### New Features
338338

339339
* Phaser.Line.intersectsRectangle checks for intersection between a Line and a Rectangle, or any Rectangle-like object such as a Sprite or Body.
340-
*
341-
*
340+
* Group.getClosestTo will return the child closest to the given point (thanks @Nuuf #2504)
341+
* Group.getFarthestFrom will return the child farthest away from the given point (thanks @Nuuf #2504)
342+
* Animation.reverse will reverse the currently playing animation direction (thanks @gotenxds #2505)
343+
* Animation.reverseOnce will reverse the animation direction for the current, or next animation only (thanks @gotenxds #2505)
342344

343345
### Updates
344346

345347
* TypeScript definitions fixes and updates (thanks @wingyplus @monagames)
346348
* Docs typo fixes (thanks )
347349
* The TypeScript defs ambient declaration has been updated to make it compatible with the SystemJS loader (thanks @monagames)
348-
*
349-
*
350+
* You can no longer intersect check a Body against itself (thanks @VitaZheltyakov #2514)
351+
* The mobile template has been updated (thanks @cryptographer #2518)
350352

351353
### Bug Fixes
352354

353355
* Arcade Physics Body incorrectly positioned if the Sprite had a negative scale (see http://www.html5gamedevs.com/topic/22695-247-248-body-anchoring-any-migration-tips/) (thanks @SBCGames @icameron @Nuuf @EvolViper #2488 #2490)
354356
* InputHandler.checkPointerDown had an incorrect single pipe character |, instead of an OR check ||, and an `isDown` check, causing Button Over events to fail (thanks @pengchuan #2486)
355-
*
357+
* BitmapText objects with lines greater than `maxWidth` now handle alignment values correctly, causing them to properly center align (thanks @kevinleedrum #2499)
358+
* Text has a new private method `measureLine` which is used to calculate the final Text line length, after factoring in color stops and other style changes. This should prevent characters from becoming truncated (thanks @TadejZupancic #2519 #2512)
356359

357360
### Pixi Updates
358361

0 commit comments

Comments
 (0)