• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

animattion in a GIF image

 
daniel desouza
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody,
i am having a GIF image.which contans a football players photo and ball.i want to make an animation so that the player kicks the ball and ball enters into net.
i want to do it compleately in java.may i use all low level maths and coding?.
anyone can help me?.cool links are welcome.
thanks a lot
 
daniel desouza
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no one availeable for some coplex issues?.
it's urgent to me.anybody experienced please help.my problom is
i am having an image.i need some movements in that image by making it as a java applet.can java2D provide enough methods?

thanks in advance
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it's the "completely in java" part that has people speechless.
If you first carve up the image in an image-editing program, so you have separate player and football pictures, then it's trivial; the JDK comes with many examples of animated-image applets.
 
daniel desouza
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
I think it's the "completely in java" part that has people speechless.
If you first carve up the image in an image-editing program, so you have separate player and football pictures, then it's trivial; the JDK comes with many examples of animated-image applets.

it's ok.i am willing to split the image into players,ball,net ect.but the program seems a misery to me.i am in need of serious help.
anyone did some animation work using java2D?
thanks in advance.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I said, look in the demos that come with the JDK. There are at least half a dozen demos that do what you want.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a really quick example... you're probably going to be getting the images from files instead of drawing them, but the animation code is pretty straightforward in there too. Don't look too closely at the graphics...

 
daniel desouza
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh nate!! u r great!!
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nate, Nate, he's our man, if he can't do it no one can!
Sorry, the football and the "Nate ur great" got me going
brian
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic