max_pixels * number_loaded / number_total
That will give you the pixel width of the bar rectangle to draw
200 * 1 / 46 = 4 (rounded down) pixels width of bar when you load one thing
halfway done with 23 things loaded ?
200 * 23 / 46 = 100 pixels
]]>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?
Translated with http://www.DeepL.com/Translator

If your development tools (C++ compiler, linker, libs) or system could be infected, this could infect your compiled programs as well. If that’s not the case, you can exclude your source folders.
]]>I loaded it to and told it to run..
then my virus checker BitDefender (with everything up to date)
cam up and told me
The file C:\Monkey2-v2018.09\bananas\linetest\linetest.products\Windows\Linetest.exe is infected with Gen:Trojan.Heur.Hype.hwW@am15Kpd and was moved to quarantine. It is recommended that you run a System Scan to make sure your system is clean.
if it’s a false positive how do I get around having to recover them from quarantine every time I try to run something in monkey2
]]>And touchpad gestures work bad here, in ted2go too.
]]>Diddy2 needs an object pooler. 🙂
]]>