Hey, before starting to rewrite a game that relies heavily on fairly small images, I wanted to ask you guys what you think the best Image to use would be.
The three I’ve used before are Image, ImageIcon, and BufferedImage, but I’ve also heard about VolatileImage.
BufferedImage seems the most useful, but I don’t know anything about it’s speed, and if the case came up, you could convert any of the above images into BufferedImages.
Also, I have different faction colors, with each unit being tinted a certain ammount, so would it be better to cache each one of those unit sprites with a different color and store them in memory (like in an arraylist) or just redo it each loop when repainting? I’m leaning toward storing the units in memory, but that could take up a large ammount of resources (4-5 players with 35 sprites each).