mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
Debug functions ? Seems last commit didn't work
This commit is contained in:
@@ -43,5 +43,6 @@ function update() {
|
||||
function render() {
|
||||
|
||||
game.debug.renderSpriteBounds(s);
|
||||
game.debug.renderSpriteInfo(s, 20, 32);
|
||||
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ function create() {
|
||||
// The player
|
||||
sprite = group.create(300, 200, 'phaser');
|
||||
|
||||
sprite.physicsEnabled = true;
|
||||
|
||||
// Some trees
|
||||
for (var i = 0; i < 50; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user