Much more stable collision, just need to refactor the Tilemap handling - see if I can optimise it a bit too.

This commit is contained in:
Richard Davey committed 2013-09-23 03:26:08 +01:00
1 parent bc02a1a05e
commit 257cbe3be8
12 files changed
+517 -360

No files matched your search

+1 -1
View File
@@ -648,7 +648,7 @@ Phaser.Rectangle.equals = function (a, b) {
*/
Phaser.Rectangle.intersection = function (a, b, out) {
out = out || new Phaser.Rectangle;
out = out || new Phaser.Rectangle;
if (Phaser.Rectangle.intersects(a, b))
{