In the OpenFL HTML5 project Is the loading progress calculated based on the number of files?

In the OpenFL HTML5 project
Is the loading progress calculated based on the number of files?

I noticed that there are some people
Their loading progress is calculated based on the number of files loaded

For example, loading two files
1 file 50%
2 files 100%
Are they displaying progress based on the number of files?
Is this reliable?

Isn’t designing a large file like this a half day delay without any response?

What is the maximum resource load for everyone in MB?

Has anyone packaged resources into a zip file and directly loaded the zip file to retrieve the resources inside? Do you have a demo?

Have you achieved animation in this way? bit.bitmapData=arr[i];

Is Vector much faster than Array?
At least AS3 is like this

Novices can ask whatever comes to their mind

Yes.

openfl.Vector - OpenFL API Reference

As a result of its restrictions, a Vector has three primary benefits over an Array instance whose elements are all instances of a single class:

  • Performance: array element access and iteration are much faster when using a Vector instance than they are when using an Array.
  • Type safety: in strict mode the compiler can identify data type errors. Examples of data type errors include assigning a value of the incorrect data type to a Vector or expecting the wrong data type when reading a value from a Vector. Note, however, that when using the push() method or unshift() method to add values to a Vector, the arguments’ data types are not checked at compile time. Instead, they are checked at run time.
  • Reliability: runtime range checking (or fixed-length checking) increases reliability significantly over Arrays.
1 Like