2 ms·
I had to code a loading bar indicator in a big online-only game few years ago and well, not really proud of the solution. It was basically that 0-90% of the ba
by gambiting 5y ago
I had to code a loading bar indicator in a big online-only game few years ago and well, not really proud of the solution.
It was basically that 0-90% of the bar showed the actual loading process of the game's assets, then the last 10% would load in only if the server was ready to let you in, which obviously we had no control over and no way to realistically estimate it.
So when servers weren't under load, the load bar was realistic, you were waiting for the assets to load, then once you got to 90% it would just lerp over one second to 100% for smoothness and load you in, but if the servers were under load you'd get to 90% and nothing would happen whatosever.
- jer0me 5y agoIn this case, I think I would have gone with a “shimmering” full loading bar when waiting to connect to the server.
- gambiting 5y agoWell yes, but that's the issue when working on a project with 800 people - my job was to make the loading bar work, the art direction didn't care that it would get stuck, and I can't override an artist and just make it shimmer.