Code Editor

Phaser Editor 2D is focused mainly on provide design tools. You can code your game using advanced third-party editors.

You can use any coding editor, but we recommend Visual Studio Code. Actually, the projects generated by the IDE are full compatible with that editor and includes the configuration files.

However, we included code editors inside Phaser Editor 2D for two reasons:

  • You can do a quick preview of the code.

  • If you are making a first prototype with JavaScript.

In Phaser Editor 2D Core, the code editing editors are based in CodeMirror, and have very basic features. In Phaser Editor 2D All-in-One, the code editors are based on the Monaco editor. It is the same component used by Visual Studio Code, and is good enough for coding plain JavaScript games.

The JavaScript editor has more features, allowing Phaser API auto-completion, cross-file auto-completion and more.