So I have been trying to work a lot with playing animations in Processing and I am currently working on a program that has a starting screen which the player can see after loading but will probably click away fairly quikly, however in the case they don’t I wanted to make a little easter egg in which the characters on screen perform a little animation. The total of images for this come to about 250 and because of this I have run into a memory out of bounds exeption as I already have about 150 images loaded for the rest of the program. What I am thus trying to do is load the images for the starting screen and unload them after the “start” button is hit. The problem is I am hitting the maximum of images when loading the rest of the program and I don’t want there to be a loading screen between the start and the actual program.
So I am currently a bit stuck and don’t really know how to approach this problem.