Open PHou81 opened 4 years ago
We now have a the Editor API that allows developers to extend the editor.
Read more here: https://developer.playcanvas.com/en/user-manual/designer/editor-api/
We still don't have these scripts living in the Editor yet but it's something we are looking while still being secure
In regards to the example, we now also have templates that sound like they would be suitable? https://developer.playcanvas.com/en/user-manual/templates/
We would like to be able to extend the PlayCanvas editor with custom tools that allow our designers and artists to be more productive. These editor scripts should preferably live in the editor itself and not require any browser plugins or be limited to a certain type of browser or OS.
An example of a custom tool could be a level editor that allows an artist to visually drag and drop assets into groups of enemies, weapons, props, etc. – perhaps sorted by theme. A designer would then use the available assets to populate each level of the game. The level configurations would need to be saved to a JSON-file in a folder in the PlayCanvas editor, requiring some kind of IO functionality via the editor scripts. The designer should also be able to load the JSON-file into the level editor again for editing and re-saving. Finally, a programmer will use the JSON-files that the tool has created to populate the game world at runtime.