src/debug.js
function worldDebug() {
		Crafty.e( RenderingMode + ', Color' )
			.attr( {
			x: engine.world.bounds.min.x,
			y: engine.world.bounds.min.y,
			w: engine.world.bounds.max.x - engine.world.bounds.min.x,
			h: engine.world.bounds.max.y - engine.world.bounds.min.y,
			alpha: 0.5
		} )
		.color( 'green' );
	}
function worldDebug() {
		Crafty.e( RenderingMode + ', Color' )
			.attr( {
			x: engine.world.bounds.min.x,
			y: engine.world.bounds.min.y,
			w: engine.world.bounds.max.x - engine.world.bounds.min.x,
			h: engine.world.bounds.max.y - engine.world.bounds.min.y,
			alpha: 0.5
		} )
		.color( 'green' );
	}
function worldDebug ( ) { Crafty . e ( RenderingMode + ', Color' ) . attr ( { x : engine . world . bounds . min . x , y : engine . world . bounds . min . y , w : engine . world . bounds . max . x - engine . world . bounds . min . x , h : engine . world . bounds . max . y - engine . world . bounds . min . y , alpha : 0.5 } ) . color ( 'green' ) ; }
Creates a rectangle filling the Matter world area
Creates a rectangle filling the Matter world area