-
-
Notifications
You must be signed in to change notification settings - Fork 33
Description
I'm having trouble making proper Web or Linux exports.
Followed the docs for installation.
Running: https://github.com/ialex32x/GodotJS-Build/releases/tag/GodotJS_1.0.0-2
OS: NixOS Linux
The editor's play button works perfectly but making an export has not worked properly yet.
Usually getting errors along the lines of :
Ive also seen errors similar to : #60 but can no longer reproduce.
I did manage to get 1 working web build using following steps :
- Download the prebuilt_linux_x64_qjs_ng.zip
- Download https://github.com/ialex32x/GodotJS-Build/releases/download/GodotJS_1.0.0-2/prebuilt_web_qjs_ng.zip
- Follow install instructions from the docs.
- Download the 4.3.1 build template from Godot and rename the files to trick it into being 4.3.1.rc
- Make a web target with both the release & debug templates from the repo.
- Set Resources tab to "Export all resources in the project except resources checked below" and keeping all unchecked.
- Run the tsc server from the engine.
- Copy the built .js file from
.godot/GodotJS/into the project folder and replacing the .ts references to .js using an external editor. - Hit export
This definitely does not feel like the intended way of use and I'm unsure if I'm facing an issue bug or am not using the engine properly.
Proper docs on making exports would be really helpful.
Would love to get this working properly in Typescript, especially native web builds.
Thanks in advance!