Skip to content

Commit 2669f81

Browse files
committed
Debug functions ? Seems last commit didn't work
1 parent 2eab5d4 commit 2669f81

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

examples/camera/camera cull.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ function update() {
4343
function render() {
4444

4545
game.debug.renderSpriteBounds(s);
46+
game.debug.renderSpriteInfo(s, 20, 32);
4647

4748
}

examples/groups/depth sort.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ function create() {
3535
// The player
3636
sprite = group.create(300, 200, 'phaser');
3737

38+
sprite.physicsEnabled = true;
39+
3840
// Some trees
3941
for (var i = 0; i < 50; i++)
4042
{

0 commit comments

Comments
 (0)