I was wondering what’s the best way to fill a huge array at the beginning of a game.
Preferably it would also be able to show a loading screen with the percentage loaded.
If I just put the for loops in, the whole thing will just “freeze” for the duration of the for loops. Especially if it’s a very large array on a slower computer, it will seem like Flash is stuck.
What’s a good way to balance the load so it can atleast update the screen inbetween?