Estoy siguiendo este tutorial http://phaser.io/tutorials/making-your-first-phaser-3-game/part2 y he llegado a cargar en el cielo. Sin embargo, la imagen del cielo, lamentablemente, no se carga. para verificar que esto no es un problema con el código, ejecuté el archivo part3.html que proporcionó el tutorial, que dice que debería cargar el cielo desde el principio, sin éxito. ¡Cualquier ayuda es muy apreciada! Gracias :) Imagen de cómo se ve en el navegador
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Making your first Phaser 3 Game - Part 3</title> <script src="//cdn.jsdelivr.net/npm/phaser@3.11.0/dist/phaser.js"></script> <style type="text/css"> body { margin: 0; } </style> </head> <body> <script type="module"> var config = { type: Phaser.AUTO, width: 800, height: 600, scene: { preload: preload, create: create, update: update } }; import Phaser from 'phaser'; var game = new Phaser.Game(config); function preload () { this.load.image('sky', 'assets/sky.png'); this.load.image('ground', 'assets/platform.png'); this.load.image('star', 'assets/star.png'); this.load.image('bomb', 'assets/bomb.png'); this.load.spritesheet('dude', 'assets/dude.png', { frameWidth: 32, frameHeight: 48 }); } function create () { this.add.image(400, 300, 'sky'); } function update () { } </script> </body> </html>