Projects
A Phaser Editor 2D project is just a folder. It contains the files of your game and generally it is the root of the web path of the game. This means, that probably you should place the index.html
file in the root of the folder.
There are project setups (for example, based on WebpackJS) where the project folder isn’t the root of the game.
Learn more about setting the public root of the project
In Phaser Editor 2D Core, you should pass the project path as a program argument:
$ PhaserEditor2D -project /path/to/project
In Phaser Editor 2D All-in-One, you can select the project folder or create a new one.
Learn how to create your first project
Reload project
Phaser Editor 2D is not created with collaborative editing in mind. This means, that it assumes that only one user is working on the same project at the same time. You can use source control managers like Git
to collaborate with your team.
However, it may be possible that you change the project files with external tools and you need to refresh that changes in the IDE. When the IDE gets the focus, it does an incremental reload of the changes made by external tools, but you can force (and we recommend) a full reload of the project:
Pressing
Ctrl+Alt+R
.Or clicking on the Reload Project option of the Main menu.
A full reload of the project also may help to fix a glitch with the Scene Editor or any other editor.
A reload of the project is different from a reload of the whole web page because only the files of the project are requested again. But a full web page reload is a good procedure if you see your IDE is consuming a lot of memory resources.
You can read the Resources caching section for additional information.