Closed makeartandgames closed 2 years ago
export filter needed to be set to allow json extensions, I'll add this to the README in a PR
Related: #10
I'll add a few words about allowing JSON files in exports. Also, might be a good idea to use OS.has_feature
in the example, to prevent the use of threads on platforms that don't support them.
Closing as #43 fixes both issues with a new convenience node that use proper resources.
Describe the bug Desktop export for the included example works. When playing the Web export, the game crashes immediately.
To Reproduce
Export the example to html5
Expected behavior
it works on web as it does on desktop
Ink files
Environment: Windows, godot 3.3.4, fails in every browser I tried (chrome and edge). Godot editor HTML5 preview gives same result.
Additional context I set SHOULD_LOAD_IN_BACKGROUND to false; if I don't do this, the game gets stuck in the load screen, with no reported errors in the console.
If web export is not supported please make that clear in the readme.