var bootState = {
	preload: function () {
		//Carga del juego
		game.load.image('progressBar','assets/progressBar.png');
	},
	
	create: function () {
		//Ubicar características del juego
		//game.stage.backgroundColor='#3498db';
		game.stage.backgroundColor='#000000';
		game.physics.startSystem(Phaser.Physics.ARCADE);
	
		//Iniciamos el estado -load-
		
		game.scale.scaleMode = Phaser.ScaleManager.EXACT_FIT;
		document.body.style.backgroundColor='#000000';
		game.scale.minWidth=250;
		game.scale.minHeight=170;
		game.scale.maxWidth=1000;
		game.scale.maxHeight=680;		
		game.scale.pageAlignHorizontally = true;
		game.scale.pageAlignVertically = true;
		game.scale.setScreenSize(true);
		
		game.state.start('load');
	}
};