Sometimes we will run our game and instead of our enemy we will see this:
The first step as with any error is to check the console for errors. Your console should look something like this: (The important part is underlined in red)
It is saying that it can not get the image with the key term "enemy". So we need to look for where we set up the picture for enemy. In my code this is how I add my enemy.
So now I need to find where I assign the picture to 'enemy'.
Above is the line, and the error. I assigned the picture to 'enemies' instead of 'enemy' so I can just make that change and then save my work and refresh Mongoose. If the error is still in your game after saving and refreshing then please check out this article: