I’m not an expert in programming. My concern is as follows. I want to create a load bar that shows how resources are loaded in the background in a parallel thread. But the big drawback I have is that I don’t know how to evaluate the total percentage of the load with the total of the resources that are loaded.
What I have written is that I have an algorithm that every time I load a resource an id increases its value, 1,2,3 etc, in addition they are added to a list where you can recover its value at any time. But the problem is that my load progress bar measures 200 units, and for example currently do not load 200 resources, rather an average of 46. The fact is that if I put those data in the progress bar, would reach 46 and load the level, but I would occupy 100% of the bar that are 200 units, regardless of the amount of resources that are loaded. Any suggestions?
Reading the title reminds me of the Dalston loading games bar (London). And I thought it was a good idea to meet and share some beers …
But just after clicking, I realized it was not the subject. Now I’m disappointed 🙁 and thirsty… lol