Skip to content

Commit 3f99b69

Browse files
committed
Added in a Group.sort demo, also updated the documentation and build files.
1 parent 42cd8bd commit 3f99b69

157 files changed

Lines changed: 9369 additions & 1910 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ Version 1.1.3 - in build
4747
* New: World.visible boolean added, toggles rendering of the world on/off entirely.
4848
* New: Polygon class & drawPolygon method added to Graphics (thanks rjimenezda)
4949
* New: Added Group.iterate, a powerful way to count or return child that match a certain criteria. Refactored Group to use iterate, lots of repeated code cut.
50-
* New: Added Group.sort, can sort the Group based on any given numeric property (x, y, health), finally you can do depth-sorting :)
50+
* New: Added Group.sort. You can now sort the Group based on any given numeric property (x, y, health), finally you can do depth-sorting :) Example created to show.
5151
* Fixed: Mouse.stop now uses the true useCapture, which means the event listeners stop listening correctly (thanks beeglebug)
5252
* Fixed: Input Keyboard example fix (thanks Atrodilla)
5353
* Fixed: BitmapText.destroy now checks if it has a canvas before calling parentNode on it.
54+
* Fixed: Group.swap had a hellish to find bug that only manifested when B-A upward swaps occured. Hours of debugging later = bug crushed.
5455
* Updated: ArcadePhysics.updateMotion applies the dt to the velocity calculations as well as position now (thanks jcs)
5556
* Updated: RequestAnimationFrame now retains the callbackID which is passed to cancelRequestAnimationFrame.
5657
* Updated: Button now goes back to over state when setFrames used in action (thanks beeglebug)

0 commit comments

Comments
 (0)