JS Classes are not hoisted (well, mostly), so your new Phaser game’s config has no access to your scene declarations. Move them up before your game init.
prob
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Issue adding multiple scenes to config file | 6 | 623 | May 19, 2020 | |
| Why isnt this scene working? | 3 | 93 | June 5, 2024 | |
| Some images won't load | 2 | 357 | July 23, 2022 | |
| Game structure and logic | 3 | 913 | November 8, 2019 | |
| Black screen when loading a new scene in Phaser3 | 4 | 1604 | December 16, 2018 |