Updated all the examples to use the new Debug methods.

This commit is contained in:
photonstorm
2014-03-03 01:19:31 +00:00
parent c4a68e3e87
commit 61376093fd
206 changed files with 553 additions and 572 deletions
+5 -5
View File
@@ -8,11 +8,11 @@ var point = new Phaser.Point( 100, 280 ) ;
function render() {
// Draw debug tools
game.debug.renderRectangle( rect, 'rgba(255,0,0,1)' ) ;
game.debug.renderCircle( circle, 'rgba(255,255,0,1)' ) ;
game.debug.renderPoint( point, 'rgba(255,255,255,1)' ) ;
game.debug.renderPixel( 200, 280, 'rgba(0,255,255,1)' ) ;
game.debug.renderText( "This is debug text", 100, 380 );
game.debug.geom( rect, 'rgba(255,0,0,1)' ) ;
game.debug.geom( circle, 'rgba(255,255,0,1)' ) ;
game.debug.geom( point, 'rgba(255,255,255,1)' ) ;
game.debug.pixel( 200, 280, 'rgba(0,255,255,1)' ) ;
game.debug.text( "This is debug text", 100, 380 );
}