Game Pencil's Editor does not contain Electron due to it's file-size, FFmpeg libraries and update cycle. Game Pencil Editor's does come ready to use 5 types of Electron. It's Windows(32Bit & 64bit), OSX(64bit) and Linux(32bit & 64bit).
Here are 11 easy steps to integrate Electron into your Game Pencil Desktop projects.
- Start by downloading Electron from its releases page here.
- Download the proper copies of Electron for your target platforms.
- Unzip your Electron downloads.
- Download Electron 's respective FFmpeg .zip files and replace the ones that the Electron folders.
- Delete the "resources/default_app.asar" file.
- Copy the Windows 32 bit folder with new FFmpeg file(s) into Game Pencil's "build_folder/win32build_electron"
- ONLY STORE Electron/FFmpeg files in these folders.
- Repeat Step 5 and 6 for your other targeted platforms.
- Open your Game Pencil Project.
- Go to Project Properties, select the "Platforms" tab and select "Windows", "OSX" or "Linux" from the left platform pane.
- For Build Type, select "Use Electron" from the radio buttons in the the editor pane.
- Build Project and see build log.
If you experience any trouble doing this please contact us at debug@pawbyte.com or the Electron community.
Legal Notice: Electron uses a custom FFmpeg library that is supposed to be patent-safe. We are not entirely sure if this is the case and we encourage you seek legal advice from legal professionals. The FFmpeg library has a legal section which needs to be looked over before deciding if you wish to use it or not.
----