core.rst 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. .. include:: ../_header.rst
  2. .. highlight:: javascript
  3. Phaser Editor 2D Core
  4. ~~~~~~~~~~~~~~~~~~~~~
  5. The |core|_ distribution is a tiny, focused distribution of Phaser Editor 2D.
  6. It is tiny because it includes only the editor's server and client, and provides only the Phaser game development tools (especially, the Scene Editor plugin), delegating to third-party tools questions like code editing.
  7. Being tiny doesn't mean it is missing something, it means it is focused on the hard problem: design Phaser_ scenes. It allows integrating the editor in different scenarios, like developing in a local desktop or in a remote cloud-based environment (let's say Gitpod_ or |GithubCodespaces|_).
  8. You can add |core|_ to a Docker file, or add it as a dependency to a Node package, or just download it and execute it in your OS.
  9. Actually, if you are going to make professional games, we recommend using |core|_:
  10. * You can add it as development dependency to your NPM project:
  11. * Teammates will use the same version of the editor, which is automatically installed with the ``npm install`` command.
  12. * You can update the editor with the ``npm update`` command.
  13. * You can run the editor with the ``npm run editor`` command.
  14. * It integrates well with |VSCode|_, so no extra plugins for coding are not included.
  15. * You can use it in a cloud-based development environment.
  16. * You can run the client (IDE workbench) in the browser of your preference.
  17. If you want to start making Phaser_ games and you are not familiar with the web tooling, we recommend using the |allInOne|_ distribution.