Luiz Bills Posted December 28, 2016 Share Posted December 28, 2016 Hello! At the beginning of the year, I have a plugin to manage behaviors (based on construct 2) in Phaser games. Now I'm creating some behaviors. Please feel free to help me with testing or feedback. The plugin: https://github.com/luizbills/phaser-behavior-plugin (How to install and use on README) Some behaviors: https://github.com/luizbills/phaser-behaviors (see the Pull Requests too) Check out demo game using "bevahiors": https://github.com/luizbills/phaser-platform-game (see the file game.js) Link to comment Share on other sites More sharing options...
Alexalten Posted December 28, 2016 Share Posted December 28, 2016 Hi, I've tried Your plugin, but it doesn't work and I've received this error on console: Uncaught SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at https://raw.githubusercontent.com/luizbills/phaser-platform-game/master/assets/player.png may not be loaded. Link to comment Share on other sites More sharing options...
Luiz Bills Posted December 28, 2016 Author Share Posted December 28, 2016 12 minutes ago, Alexalten said: Hi, I've tried Your plugin, but it doesn't work and I've received this error on console: Uncaught SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at https://raw.githubusercontent.com/luizbills/phaser-platform-game/master/assets/player.png may not be loaded. Where you tried? Link to comment Share on other sites More sharing options...
Alexalten Posted December 28, 2016 Share Posted December 28, 2016 Hi, I've tried using this link: https://rawgit.com/luizbills/phaser-platform-game/master/index.html Link to comment Share on other sites More sharing options...
Luiz Bills Posted December 28, 2016 Author Share Posted December 28, 2016 Here is working normally https://www.opentest.co/share/bcaf4c60cd0e11e688ecd510bcea4514 Clone or download the github repo and try locally. Link to comment Share on other sites More sharing options...
ivanix Posted December 29, 2016 Share Posted December 29, 2016 Hi Luiz, I am get the same error as Alex. Using chrome version 56... Link to comment Share on other sites More sharing options...
Luiz Bills Posted December 29, 2016 Author Share Posted December 29, 2016 13 hours ago, ivanix said: Hi Luiz, I am get the same error as Alex. Using chrome version 56... I think that now it is solved now. Try again (clear your cache before) or just clone/download the github repo (source code) and try locally. Link to comment Share on other sites More sharing options...
Recommended Posts