Picture Rotation and Merging
Author |
Message |
communismisntdead
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Thu May 27, 2004 2:30 pm Post subject: (No 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. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
|
|