What will be the best approach for a 2D game loading screens assets on a libgdx game?
My game has many areas, every area have a 1920*1080 jpg image, a few animations (image sequence) and audio. I can select all areas from a map by clicking on the area,
My idea is simple, every time I click the map I load the background 1920*1080 texture load the animations as TextureRegion
, and the audio as music,
when I select the map and click on other area, it will dispose the everything from the previous and load the new assets.
I was thinking on loading all areas at once using assetmanager
, but even if all my assets are 50 megabytes, the memory on old android devices just crash,
my goal is to make fast transitions as possible when I change areas.
Please suggest.
答案 0 :(得分:0)
尝试: