When I load or refresh the page a tetromino flashes in at the top of the screen and disappears.
Looks like there is a CORS issue with loading the images to the canvas. I tried allowing cross origin requests with this plugin, but its still failing. Might just an issue when running the program locally and might not happen in the files are all being requested over http: instead of from file:
Not sure how to fix this at the moment.
Fun project though dude!
When I load or refresh the page a tetromino flashes in at the top of the screen and disappears.
Looks like there is a CORS issue with loading the images to the canvas. I tried allowing cross origin requests with this plugin, but its still failing. Might just an issue when running the program locally and might not happen in the files are all being requested over
http:
instead of fromfile:
Not sure how to fix this at the moment. Fun project though dude!