OK, aún no puedo hacerlo responsive, y he intentando con los códigos mas genéricos. te muestro:
var phaserConfig = {
splash: "assets/gui/splash.png", //splash background
loading: "assets/gui/loadingbar.png", //loading bar image
loadingPosition: [111,462], //loading bar size
storyFiles: [
"Story/YourStory.yaml",
"Story/GUI.yaml",
"Story/Setup.yaml",
],
}
var game = new Phaser.Game(800, 600, Phaser.AUTO, "RenJS", {
create:function(){
this.scaleMode = Phaser.ScaleManager.SHOW_ALL
this.scale.minWidth = 320;
this.scale.minHeight = 240;
this.scale.maxWidth = 800;
this.scale.maxHeight = 600;
}
});
alguna sugerencia? porque todos los tutoriales sobre como hacerlo responsivo apuntan a que no haya style en la etiqueta de canvas, y aqui si hay un style que bloquea cualquier modificacion a nivel externa
