soccer animation using java2D

Hi all,

I am developing a soccer game for fun. I've already done a simple animation, with squares instead of players and a green screen with white lines as the field. Althouth this simplicity. The only technique I've used is double-buffering. The system runs a bit slow.

I don't have many experience in java graphics. Which advice could you give me to get a good animation?

I'm still trying to find how I am going to get the players to have a transparent background. I mean, if I draw a picture with the player, it is going to be a rectangle, but I would like to draw only the shape of the players.

Any suggestion?

[656 byte] By [wilmort] at [2007-9-26 7:05:10]
# 1

I haven't really done any animation using Java. But, I do know that if you want to have some sort of transparency to your images (i.e. to show only the image of the soccer player), you won't be able to use JPEG's.

You'll have to use a format that supports transparency like GIF's.

fcatacutan at 2007-7-1 16:44:10 > top of Java-index,Security,Cryptography...