Help with Cube Matcher. Can't get colored cubes. Javascript/Phaser path

https://www.codecademy.com/paths/create-video-games-with-phaser/tracks/game-dev-learn-javascript-higher-order-functions-and-iterators/modules/game-dev-project-iterators/projects/cube-matcher

I think I have all of my code right through step 3, but after step 4 and 5 it seems like I should be seeing the colored cubes, but all I get are small green squares.

What is going wrong here?

If you check in the browser console you can see it’s a CORS problem.

You can fix it by changing the url in the preload section on both links,

the links should become like this:

https://cors-anywhere.herokuapp.com/https://codecademy-content.s3.amazonaws.com/courses/learn-phaser/cube-matcher/blocks.png

https://cors-anywhere.herokuapp.com/https://codecademy-content.s3.amazonaws.com/courses/learn-phaser/cube-matcher/grid.png

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.