Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The demo does not work #16

Open
llin96 opened this issue Oct 31, 2018 · 0 comments
Open

The demo does not work #16

llin96 opened this issue Oct 31, 2018 · 0 comments

Comments

@llin96
Copy link

llin96 commented Oct 31, 2018

https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/scrollable-kinetic.html

When you run the example, it report the exception:

Uncaught DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The image element contains cross-origin data, and may not be loaded.
at b.WebGLRenderer.updateTexture (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:3:2403)
at b.WebGLSpriteBatch.renderBatch (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:3:16328)
at b.WebGLSpriteBatch.flush (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:3:16151)
at b.WebGLSpriteBatch.stop (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:3:16543)
at ScrollableArea.b.DisplayObjectContainer._renderWebGL (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:2:9502)
at c.World.b.DisplayObjectContainer._renderWebGL (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:2:9679)
at c.Stage.b.DisplayObjectContainer._renderWebGL (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:2:9679)
at b.WebGLRenderer.renderDisplayObject (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:3:1633)
at b.WebGLRenderer.render (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:3:1233)
at c.Game.updateRender (https://cdn.rawgit.com/trueicecold/phaser-scrollable/e2bfe0cd/phaser.min.js:7:6466)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant