Closed gavin-cooker closed 7 years ago
Uncaught DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at file:///D:/programme/phaser/public/games/learn/assets/sky.png may not be loaded.
需要放到服务器环境才能运行,不能直接本地双机打开。请看教学视频:新手上路,环境搭建篇
Uncaught DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at file:///D:/programme/phaser/public/games/learn/assets/sky.png may not be loaded.