Greasy Fork is available in English.

Blackprint for PlayCanvas Editor

A small Blackprint Editor addons for PlayCanvas Editor

Автор
StefansArya
Установок в день
0
Всего установок
3
Оценки
0 0 0
Версия
0.1.2
Создан
18.01.2023
Обновлён
20.01.2023
Лицензия
MIT
Работает на

Blackprint Mini Editor for PlayCanvas Editor

If you're going to use the script, please also check this example scene for reference before using Blackprint with your project.

Preview

Skeleton Editor is used only for viewing the node connections without loading or executing any nodes or module Nodes Editor is only available on launch page of your application, it does load and execute nodes and module for handling data flow for your application

How to use

  1. Create new Blackprint file to be imported. The file is JSON file with .bp in the end of file name
  2. Go to this example scene for obtaining sample blackprint.loader.js and then modify it
  3. Go to Blackprint Editor and load modules for PlayCanvas so you can see additional node list in the menu
  4. Add some nodes for your project, some external nodes other than PlayCanvas may not working.
    So make sure you're limiting the scope of the node you're going to use
  5. Save or export the sketch to JSON, and then save it to your .bp file from PlayCanvas's code editor
  6. Launch it and see if it's working

Mini editor's keyboard shortcut

Keys Description
Alt + left mouse button Disconnect cable hovered by cursor
Delete Delete selected nodes or cable
Ctrl + C Copy selected nodes or cable
Ctrl + V Paste/append nodes to instance

Note

This embedded editor have less feature than https://blackprint.github.io/
In case you need to create variable or function
Please copy and paste created nodes from the Blackprint Editor.

You also need to specify external nodes to blackprint-loader.js asset file
otherwise, you will find registration error because of the missing nodes