mirror of
https://github.com/photonstorm/phaser
synced 2025-01-18 16:14:02 +00:00
432516fa0f
Physics.Arcade.sort now calls one of four functions: sortLeftRight, sortRightLeft, sortTopBottom and sortBottomTop. Each of which takes 2 Sprites as arguments. Physics.Arcade.sort now doesn't bail out if the Group contains a mixture of physics and non-physics enabled objects, as the Group hash is now only ever populated with physics enabled objects. Also the sort comparison functions no longer return -1 if the bodies are invalid, but zero instead (#1721) |
||
---|---|---|
.. | ||
arcade | ||
ninja | ||
p2 | ||
Physics.js |