Skip to content

Commit

Permalink
HTML5 progress bar fixes (gzip+engine load) (defold#5211)
Browse files Browse the repository at this point in the history
* Load engine and start updating progress immediately

Still missing progress when loading the .wasm file though

* Update dmloader.js

* Added unified file downloader

* Fixed indentation

* Cleanup

* Indentation fixes

* Update dmloader.js

* Improved file downloader. Added progress for wasm download.

* Reverted name change for progress update function

* Update dmloader.js

* Removed use of spread arg

* Use HTTP HEAD request to get resource size

* Add estimated size to file download requests

Use estimate when no size can be computed (gzipped content)

* Made wasm and asmjs size configurable for the progressbar
  • Loading branch information
britzl committed Oct 15, 2020
1 parent 1dcb071 commit 0e685e9
Show file tree
Hide file tree
Showing 2 changed files with 355 additions and 209 deletions.

0 comments on commit 0e685e9

Please sign in to comment.