Any folder is a valid Phaser Editor project. However, it is convenient to create a phasereditor2d.config.json
project configuration file, it the root of the project’s folder.
Every Phaser Editor’s project template contains this file so probably you don’t have to create it yourself.
These are the settings supported by the project configuration:
Name | Value |
---|---|
| An array with the patterns for filtering the project resources. |
| An array with the path to user plugins. |
| An array with the server options. |
| A string with the address to open in the browser when you execute a Play command ( |
This is an example:
{
"skip": ["dist/", "editor-plugins/"],
"plugins":
[
"editor-plugins/my-fonts-plugins",
"editor-plugins/my-awesome-plugins"
],
"flags": ["-port", "7171", "-disable-gzip"],
"playUrl": "http://localhost:4200"
}