I'm writing a sprite animation system, and I've got everything to work except image transparency.
At the moment, each frame in a sprite's animation is stored as an Image object. Then, they are drawn onto a buffered image which is in turn drawn onto the graphics context of a JFrame subclass.
Is there a simple way to make part of an image transparent, i.e. by specifying the colour that should not be drawn?