iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
💭

Trying Out PlayCanvas Editor's Front-End After It Became Open Source

に公開

On July 24, 2025, it was announced on the official PlayCanvas blog that the PlayCanvas editor frontend has been released as open source.

The PlayCanvas editor is an environment for developing with WebGL, WebGPU, and WebXR. The engine part was open source, but the editor part used for development was closed source.

Why make the editor frontend open source?

According to the official blog, many benefits of open-sourcing are cited.

https://blog.playcanvas.com/playcanvas-editor-frontend-is-now-open-source/

  • Accelerated feature development: Contributions from the community accelerate the development and improvement of new features.
  • Improved stability: Increased visibility among developers allows bugs to be discovered and fixed more quickly, enhancing the editor's stability and robustness.
  • Customization and specific use cases: Developers can freely customize the editor frontend and connect it to the PlayCanvas backend to achieve highly specialized workflows and integrations.
  • Deeper understanding of the editor: With a transparent codebase, developers can gain a deeper understanding of how the editor works, making contributions and debugging easier.

Setting up a local development environment

The code added in this update is published at "playcanvas/editor".

https://github.com/playcanvas/editor

Prerequisites

  • Node.js v18 or higher must be installed.

1. Clone the repository

First, clone the repository in your terminal and move to the directory.

git clone https://github.com/playcanvas/editor.git
cd editor

2. Install dependencies

Next, install the packages required for the project.

npm install

3. Build the editor and start the local server

Execute the following command to build the editor and start the local web server for development.

npm run develop

This will start the local server.

4. Load the development build

Access the project URL by adding the query parameter ?use_local_frontend to the end.

Example:

https://playcanvas.com/editor/project/YOUR_PROJECT_ID?use_local_frontend

This will make the browser load the development version of the editor frontend running locally.

Actually tried it

I tried building the OSS PlayCanvas Editor and loading it into a project. This time, I implemented a simple Japanese localization.

Such improvements can be submitted as pull requests, taking advantage of open source, and could potentially be reflected in PlayCanvas itself. Being able to extend PlayCanvas with features I wanted is incredibly valuable.

I believe that everything I previously created using the PlayCanvas Editor API can be replaced.

https://zenn.dev/yushimatenjin/books/5877730dbc05a7/viewer/e858d8

Discussion