-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scene editor: generates invalid variable's name. #153
Comments
Hi @Marchiuzzz Those errors shown on the console are fixed for the next version of the editor. I'm glad you found the problem with the image. I will re-open this issue and rename it to "Scene Editor compiler: generate invalid JS idenfifiers". |
@PhaserEditor2D I was bitten by this when I added my first test image as well (from my Photos dir, the first place I could think of to find an image to import as a test, so it was a numeric name)! |
Version
Description
I've added a large image to the scene, when I launch the game it works fine
But once I set the scale of this image to 0.3 (both, X and Y) and then launch the game again I get a grey screen and nothing happens.
I'm new to this tool and Phaser overall so getting stuck at the first step (a simple image addition) is very frustrating. How can I see if there are any compilation errors in the editor? I've opened up a developer console inside Phaser editor and this is what I get each time I save my scene:
Thanks
Possible solution
Perhaps it doesn't run properly because it's running in the built-in game player, how could I run this project in browser?
The text was updated successfully, but these errors were encountered: