1 decade ago by gxxaxx
I'm working on a project that has a larger number of levels.
The backgrounds for each level are different.
Thus, giving rise to a large download if everything is preloaded before game start.
I was thinking of preloading assets for level 1 through 5 at game start, then load assets for level 6 upon entering level 4, load 7 when going into 5, etc. So that I am always a room or two ahead of the player.
Before re-inventing the wheel, I was wondering if anyone has worked out a mechanism for loading assets after start of game.
Or, is there something about this approach that is totally whack and I should go a different direction?
Thanks for any clues.
The backgrounds for each level are different.
Thus, giving rise to a large download if everything is preloaded before game start.
I was thinking of preloading assets for level 1 through 5 at game start, then load assets for level 6 upon entering level 4, load 7 when going into 5, etc. So that I am always a room or two ahead of the player.
Before re-inventing the wheel, I was wondering if anyone has worked out a mechanism for loading assets after start of game.
Or, is there something about this approach that is totally whack and I should go a different direction?
Thanks for any clues.