shooting js error code (loading startscreen)
So I am new here.. and i will try to explain this problem I am having.
I am making a 2d shooter game with easeljs and my code, character, already knows how to shoot, delete enemy from stage when died etc. But i cant make it work from the start screen, so that it will link to the game and a game over screen. It doesnt load the background at all.
I get this error:
Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
Uncaught An error has occured. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images.
It does load the first background with the image-start-button (png) but when i try to on.mousclick it doesnot work.
Any help would help thank you..
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)