Skip to content

Set up JavaScript file loading in HTML5 exports#87

Open
GitHusbando wants to merge 1 commit intomasterfrom
julian-javascript-html5-file-loading
Open

Set up JavaScript file loading in HTML5 exports#87
GitHusbando wants to merge 1 commit intomasterfrom
julian-javascript-html5-file-loading

Conversation

@GitHusbando
Copy link
Collaborator

Created a singleton to call when loading files from JavaScript.

Replaced file loading when running HTML5 with JavaScript to allow for opening files from the rest of the file system.

Note: the interface is whatever JavaScript uses, not Godot's file dialog, so users are gonna need that to be set up for 2-button navigation, or we're going to have to create a custom file dialog that integrates with JavaScript.

Created a singleton to call when loading files from JavaScript.
Replaced file loading when running HTML5 with JavaScript to allow for opening files from the rest of the file system.
Note: the interface is whatever JavaScript uses, not Godot's file dialog, so users are gonna need that to be set up for 2-button navigation, or we're going to have to create a custom file dialog that integrates with JavaScript.
@GitHusbando GitHusbando requested a review from MacDugRPG February 8, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant