Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for Emscripten update (3.1.55). #91

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

ekharkunov
Copy link
Contributor

@ekharkunov ekharkunov commented Apr 10, 2024

Resave assets.
Replace json.lua with builtin json implementation.

Relates to defold/defold#6259

Resave assets.
Replace json.lua with builtin json implementation.
// Do early initialization of FBInstant
// This is required to be able to properly update the loading
// progress above.
FBInstant.initializeAsync().then(function() {
// This will be checked by the FBInstant Defold extension
Module._fbinstant_inited = true;
// Set up a progress listener and feed progress to FBInstant
ProgressUpdater.addListener(function (percentage) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use new ProgressUpdate from reworked dmloader.js. Also moved into initializeAsync callback to avoid FBInstant not defined error.

@AGulev AGulev merged commit 4e0a4fc into defold:master Apr 10, 2024
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.

None yet

2 participants