Hello,
I’m trying to reproduce the lesson. I am running Visual Studio Code with the project template, phaser3-project-template. I’m programming in TypeScript.
I do not see the background. I was wondering if someone could take a look and tell me why.
Hello,
I’m trying to reproduce the lesson. I am running Visual Studio Code with the project template, phaser3-project-template. I’m programming in TypeScript.
I do not see the background. I was wondering if someone could take a look and tell me why.
![]()
It’s because webpack can’t find assets that aren’t imported.
You can use copy-webpack-plugin (from src/assets to dist/assets, I think) and remove
import cityScene // …
Thanks for your advice. That worked.