mirror of
https://github.com/wassname/phaser.git
synced 2026-08-15 12:45:11 +08:00
Fixed the Body collide issues and optimised the process at the same time. Now the QuadTree appears to work perfectly as a result. Bonus!
This commit is contained in:
+2
-2
@@ -56,8 +56,8 @@
|
||||
function render() {
|
||||
|
||||
game.debug.renderSpriteCorners(bunny, true, true);
|
||||
game.debug.renderRectangle(bunny.body.bounds);
|
||||
game.debug.renderRectangle(wall.body.bounds);
|
||||
game.debug.renderRectangle(bunny.body);
|
||||
game.debug.renderRectangle(wall.body);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user