Computer Science Canada

Picture Rotation and Merging

Author:  communismisntdead [ Tue May 25, 2004 1:33 pm ]
Post subject:  Picture Rotation and Merging

We are using pictures of vehicles on a city background in our game and I'm wondering if there's a way to a) rotate a picture smoothly and b) merge the picture with the backgroud without having to make each one a transparent gif. Any help would be appreciated.

Author:  Dan [ Thu May 27, 2004 2:30 pm ]
Post subject: 

If you are using Graphics2D class there is a method called void rotate(double) that will rotate evyething in that Graphics object.

I am not shure about the transparent when not using gif. Auchaly i whould like to know if that is easly doable as well.


: