wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes how to give animation to images? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to give animation to images?" Watch "how to give animation to images?" New topic
Author

how to give animation to images?

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 980
    
    2
how to give more effects to image, i have a fish image, that is moving around the JFrame, and what i want also animation in fins of fish, how can i do this??
here is my code:-

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
just a thought only:

if you understand how cartoons are animated i.e. lots of drawings each drawn a little differently,
then shown in quick succession so the drawings appear to have movement, maybe if you can get
a slideshow (?) of images of a fish swimmming, then, as you move the fish position you also change
the image to the next one in the slideshow.
 
wood burning stoves
 
subject: how to give animation to images?
 
Similar Threads
Balls are not moving
Problem in passing color as a parameter
problem in getPosition and setPosition......
Calling an applet from another class of the same package
problem in creating more than one objects