So, I’ve been wondering what method of loading assets would be better:
-
Load all assets at once when the game is first run. This will mean that all the assets will be kept in memory. Sounds, music, images for in-game, images for menus, everything.
-
Load everything as needed. At the start of each menu, only it’s needed images will be loaded. When the game starts, it will release the menu assets from memory and load the assets for game play.
Currently, I’m using method 1, but I feel like I should switch to method 2 to conserve memory. What do you think, and what method do you use?