I know when you show a picture for the first time, there is a tiny lag before it appears. My way around it is usually showing it with opacity zero any time before I actually need it, so when I show it there will be no lag.
I'm currently working on a very image heavy game, to the point hundreds or pictures might be displayed at once. I already changed my picture limit. But since there will be hundreds, maybe thousands of images in my image folder, preloading them one by one might be impossible.
My question is:
Is there a way to preload many, if not all of the images at once?
I'm wondering if I can do something like:
Scan all filenames of image folders.
Show picture1 = first file
show pictur2 = second file
Since my picture limit is 9999, in theory I could probably preload them all at once.
Is something like this possible? If so, could loading that many images at once be an issue? If not, any other ways to avoid these lags?
I'm currently working on a very image heavy game, to the point hundreds or pictures might be displayed at once. I already changed my picture limit. But since there will be hundreds, maybe thousands of images in my image folder, preloading them one by one might be impossible.
My question is:
Is there a way to preload many, if not all of the images at once?
I'm wondering if I can do something like:
Scan all filenames of image folders.
Show picture1 = first file
show pictur2 = second file
Since my picture limit is 9999, in theory I could probably preload them all at once.
Is something like this possible? If so, could loading that many images at once be an issue? If not, any other ways to avoid these lags?