Recently I am making a game that require project files (images). Sometimes the game did not run as I expected due to image failed to load.
My current method:
- I tried by loading all images (~300 images 100*100 px) in project files in the 1st layout, so when I go to the layout that need specific image that image is loaded, so no problem for failing load image.
+ In the 1st layout I could not determine the trigger when ALL IMAGES was loaded by on loader layout complete.
+ I could not calculate remaining time for loading ALL IMAGES
+ Loadingprogress did not include requiring time for loading ALL IMAGES
My next approach is to load all image as ANIMATION FRAMEs. However, I did not know how to use each FRAME's IMAGE as IMAGE in another layout to prevent re-load that image.
Do you know any method to solve my problem?