http.request report_progress updates one time per second. I need more updates per second #8966
Labels
engine
Issues related to the Defold engine
feature request
A suggestion for a new feature
html5
Issue related to the HTML5 platform
Is your feature request related to a problem? Please describe (REQUIRED):
I am loading liveupdate in http.request.I need to show progress bar for player.
Callback for progress called one time per second. You can see step on progress bar, this looks not good
2024-05-21.15-45-22.mp4
DEBUG:SCRIPT: [INFO 15:45:35] none: libs_project/liveupdate.lua:103: liveupdate loaded 0.1166659307531
DEBUG:SCRIPT: [INFO 15:45:36] none: libs_project/liveupdate.lua:103: liveupdate loaded 0.15555457433747
DEBUG:SCRIPT: [INFO 15:45:37] none: libs_project/liveupdate.lua:103: liveupdate loaded 0.19444321792183
DEBUG:SCRIPT: [INFO 15:45:38] none: libs_project/liveupdate.lua:103: liveupdate loaded 0.2333318615062
Describe the solution you'd like (REQUIRED):
1)Add parameter to request. If i need i will change delay
2)Or send progress every frame
Describe alternatives you've considered (REQUIRED):
Now i use lerp for progress, so it looks less steps
Additional context (OPTIONAL):
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: