Importing a Plugin
- In your program's directory, make a folder called
plugins. - Inside of this
pluginsfolder, drag-and-drop the folder of the desiredPluginto install.
project/
- plugins/
- plugin_1_folder/
- main.py # plugin entrypoint
- ... # other files
- plugin_2_folder/
- image.png
- main.py
- plugin_3_folder/
- asset.file
- main.py
- etc.
- main.py # engine entrypoint
- settings.json
- ... # other files
The Engine will not import plugins in the following conditions:
- If no
pluginsfolder exists. - If no subfolders inside of
pluginsexist. - If an entrypoint
main.pyfile doesn't exist inside of each subfolder. - If the entrypoint file doesn't contain a
Plugin-inherited class.