Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Picture Rotation and Merging
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
communismisntdead




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: 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!
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: